[PATCH] EasyEmbedButtons::_addTinyMCEPlugin() should not be called statically
-
In WP 3.6 with WP_DEBUG enabled your plugin is generating the following error on the edit post/page pages:
Strict standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method EasyEmbedButtons::_addTinyMCEPlugin() should not be called statically in /path/to/wp-includes/plugin.php on line 173
This is happening because in file /wp-content/plugins/wp-easy-embed/inc/component/buttons.php method setupButtonScripts() you have the line
add_filter("mce_external_plugins", array(__CLASS__, '_addTinyMCEPlugin'));it should be
add_filter("mce_external_plugins", array($this, '_addTinyMCEPlugin'));
The topic ‘[PATCH] EasyEmbedButtons::_addTinyMCEPlugin() should not be called statically’ is closed to new replies.