Ready to get started?Download WordPress


Simple Tags
Cannot load st_mass_tags (5 posts)

  1. AndrewRH
    Posted 4 years ago #

    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.

  2. Vladimir Kolesnikov
    Posted 4 years ago #

    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;
  3. Vladimir Kolesnikov
    Posted 4 years ago #

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

  4. cinematic
    Posted 4 years ago #

    Thank you, vladimir! You just saved me an headache ! :-)

  5. flocu
    Posted 4 years ago #

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


    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic