Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: editor.create_form is not a function #98

Open
designsimply opened this issue Jul 3, 2013 · 1 comment
Open

TypeError: editor.create_form is not a function #98

designsimply opened this issue Jul 3, 2013 · 1 comment
Labels
Milestone

Comments

@designsimply
Copy link

Turning on the "Edit all post fields at once" option causes the editor to break.

Steps to reproduce:

  1. Open a new WP 3.5.1 install and add/activate the Front-end Editor plugin
  2. Enable SCRIPT_DEBUG in wp-config.php
  3. Go to wp-admin > Settings > Front-end Editor
  4. Check the "Edit all post fields at once." option
  5. Click the "Save Changes" button
  6. Try editing any post from the front end
  • Expected: clicking "Edit" will enable the editor for all post field
  • Actual: clicking "Edit" does not open the editor and the following error can be found in the web console

Error: "TypeError: editor.create_form is not a function @ http://localhost/3.5.1/wp-content/plugins/front-end-editor/build/editor.js?ver=2.3:854"

Code ref: http://plugins.trac.wordpress.org/browser/front-end-editor/tags/2.3/build/editor.js#L854

error

Tested with WP 3.5.1 and Front-end Editor 2.3 using the Twenty Twelve theme and Firefox 22 on Mac OS X 10.8.3.

@scribu
Copy link
Owner

scribu commented Jul 19, 2013

Confirmed using rev 805dc4d

In Chrome, the error looks like this:

Uncaught TypeError: Object #<thumbnail> has no method 'create_form' 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants