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.
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.
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;
}
/**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:
http://blog.sjinks.pro/wordpress/patches/841-new-patches-for-simple-tags/#download
Thanks a lot!
This topic has been closed to new replies.