Incompatibility with Black Studio TinyMCE widget
-
Hi there,
I am the author of the Black Studio TinyMCE plugin. An user reported a compatibility issue between my plugin and yours. Please see the original post for further info (I also wrote a temporary patch there).It seems the problem is generated by code on WP Page Widgets which calls some Black Studio TinyMCE functions, but it causes problems in some admin pages.
I found 2 different issues:
1. The functionpw_admin_head
should be hooked toadmin_init
and not toadmin_head
.
2. Onedit-tags.php
page, it is necessary to check for the presenceaction=edit
parameter in the url, to distinguish the taxonomy editing mode from the listing mode (in the latter theaction
parameter is not set).By the way, I believe it would be better to perform those operations on the Black Studio TinyMCE side, because the initialization code of the plugin may change in the future, and it’s easier to maintain it on my side. In the last months I already added some compatibility code for WP Page Widgets on my plugin, but it was only for posts & pages. I may extend it, and include also taxonomies and search/front page. In that case you should remove your
pw_admin_head
function.Please let me know if you have any comments about this issue.
Thanks.
- The topic ‘Incompatibility with Black Studio TinyMCE widget’ is closed to new replies.