Support » Plugins and Hacks » [Plugin: Simple Tags] Cannot load st_mass_tags

[Plugin: Simple Tags] Cannot load st_mass_tags

  • I am unable to edit the tags for pages with the Simple Tags plugin…

    Click on Mass edit terms
    Click on All Pages
    Get error message: Cannot load st_mass_tags.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Vladimir Kolesnikov


    Here’s the patch that fixes the issue (just in case: I am NOT the author of the plugin):

    --- simple-tags/inc/admin.orig.php	2010-10-24 15:31:16.000000000 +0300
    +++ simple-tags/inc/admin.php	2010-10-24 15:59:37.000000000 +0300
    @@ -231,6 +231,17 @@
     		add_posts_page( __('Simple Terms: Mass Edit Terms', 'simpletags'), __('Mass Edit Terms', 'simpletags'), 'simple_tags', 'st_mass_tags', array(&$this, 'pageMassEditTags'));
     		add_posts_page( __('Simple Terms: Auto Terms', 'simpletags'), __('Auto Terms', 'simpletags'), 'simple_tags', 'st_auto', array(&$this, 'pageAutoTags'));
     		add_options_page( __('Simple Tags: Options', 'simpletags'), __('Simple Tags', 'simpletags'), 'admin_simple_tags', 'st_options', array(&$this, 'pageOptions'));
    +		global $_registered_pages, $_wp_real_parent_file;
    +		$menu_slug   = plugin_basename('st_mass_tags');
    +		$parent_slug = plugin_basename('edit.php?post_type=page');
    +		if (isset($_wp_real_parent_file[$parent_slug])) {
    +			$parent_slug = $_wp_real_parent_file[$parent_slug];
    +		}
    +		$hookname = get_plugin_page_hookname($menu_slug, $parent_slug);
    +		add_action($hookname, array(&$this, 'pageMassEditTags'));
    +		$_registered_pages[$hookname] = true;
    Vladimir Kolesnikov


    If anybody is interested, here’s the patched version of the plugin.



    Thank you, vladimir! You just saved me an headache ! 🙂

    The patch didn’t work for me. But the whole download from your page worked nicely:


    Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Simple Tags] Cannot load st_mass_tags’ is closed to new replies.