wp_editor throwing js error "wp.media.view.settings.post is undefined"
-
Using wp_editor($content,$editor_id) is now throwing javascript error:
“wp.media.view.settings.post is undefined”
Looks like it is located in tiny-mce.
The only way around it is to use
wp_editor($content,$editor_id, array( ‘media_buttons’ => false )) which of course doesn’t display the media buttons.
How can this error be avoided?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘wp_editor throwing js error "wp.media.view.settings.post is undefined"’ is closed to new replies.