Black Studio TinyMCE Widget
[resolved] Black Studio TinyMCE appears on taxonomy pages (7 posts)

  1. alm
    Posted 3 years ago #

    I have to sites using Black Studio TinyMCE plugin, one running 3.4.2 and one running 3.5. TinyMCE has suddenly started to appear on taxonomy pages, where you create new categories, tags etc.

    This only appears in combination with the WP Page Widgets plugin (http://wordpress.org/extend/plugins/wp-page-widget/) so we have some kind of compatibility issue here where Black Studio TinyMCE thinks that there's a widget area on the page because WP Page Widgets is loaded.

    Any suggestions for a patch here?


  2. Marco Chiesi
    Plugin Author

    Posted 3 years ago #

    Hi there,
    thanks for your report. After further investigation, it seems the culprit is the WordPress Page Widgets plugin, which checks for the presence of the Black Studio TinyMCE plugin, and loads it also in taxonomy pages, but in an incorrect way.
    I will try to contact the author of WordPress Page Widgets, in order to find a comfortable solution for both.
    In the meantime the problem can be patched by modifying the wp-page-widgets.php file as the following.

    Locate the following line (1241) near the end of file
    add_action('admin_head', 'pw_admin_head');
    and change it to:
    add_action('admin_init', 'pw_admin_head');

    Then locate the following, a few lines below:
    in_array($pagenow, array('post-new.php', 'post.php', 'edit-tags.php'))
    and change to
    in_array($pagenow, array('post-new.php', 'post.php')) ||(in_array($pagenow, array('edit-tags.php')) && isset($_GET['action']) && $_GET['action'] == 'edit' )

  3. alm
    Posted 3 years ago #

    Thanks a lot for the quick reply, great plugin!
    I also located those lines a couple of hours later and did the same change, worked out great. Realized that this should be reported to the authors of WP Page widgets rather than here.

  4. Marco Chiesi
    Plugin Author

    Posted 3 years ago #

    Yes, I already reported this issue to WP Page Widgets author (see thread). Actually waiting for their answer.

  5. Metalscorpion
    Posted 3 years ago #

  6. Marco Chiesi
    Plugin Author

    Posted 3 years ago #

    Thank you Metalscorpion. I will include this change in the next release.

  7. Marco Chiesi
    Plugin Author

    Posted 2 years ago #

    Hi there, and sorry for the delay. I finally released a new version (1.2.0) of Black Studio TinyMCE Widget, which contains the fix for this issue. Please update both plugins to the latest version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Black Studio TinyMCE Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic