Creates JavaScript errors if media view has been removed
-
The plugin seems to cause JavaScript errors when the media view related scripts have been removed, in my case when removing the media upload button via
remove_action( 'media_buttons', 'media_buttons' )
.A workaround might be to hook the plugin’s enqueue function into ‘wp_enqueue_media’ in stead of ‘admin_enqueue_scripts’. This hook is called at the end of the
wp_enqueue_media()
function generally used to enqueue all scripts and stuff for the media editor.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Creates JavaScript errors if media view has been removed’ is closed to new replies.