Skip to content

TypeError: editor.create_form is not a function #98

@designsimply

Description

@designsimply

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions