Changeset 3236793
- Timestamp:
- 02/07/2025 08:06:23 PM (14 months ago)
- Location:
- plugin-organizer
- Files:
-
- 32 added
- 4 edited
-
tags/10.2 (added)
-
tags/10.2/css (added)
-
tags/10.2/css/PO-admin.css (added)
-
tags/10.2/js (added)
-
tags/10.2/js/validation.js (added)
-
tags/10.2/lib (added)
-
tags/10.2/lib/PO_Ajax.class.php (added)
-
tags/10.2/lib/PO_Template.class.php (added)
-
tags/10.2/lib/PluginOrganizer.class.php (added)
-
tags/10.2/lib/PluginOrganizerMU.class.php (added)
-
tags/10.2/plugin-organizer.php (added)
-
tags/10.2/readme.txt (added)
-
tags/10.2/screenshot-1.jpg (added)
-
tags/10.2/screenshot-2.jpg (added)
-
tags/10.2/screenshot-3.jpg (added)
-
tags/10.2/screenshot-4.jpg (added)
-
tags/10.2/screenshot-5.jpg (added)
-
tags/10.2/screenshot-6.jpg (added)
-
tags/10.2/tpl (added)
-
tags/10.2/tpl/common_js.php (added)
-
tags/10.2/tpl/globalPlugins.php (added)
-
tags/10.2/tpl/global_plugins_js.php (added)
-
tags/10.2/tpl/groupAndOrder.php (added)
-
tags/10.2/tpl/group_and_order_js.php (added)
-
tags/10.2/tpl/postMetaBox.php (added)
-
tags/10.2/tpl/ptPlugins.php (added)
-
tags/10.2/tpl/pt_plugins_js.php (added)
-
tags/10.2/tpl/searchPlugins.php (added)
-
tags/10.2/tpl/search_plugins_js.php (added)
-
tags/10.2/tpl/settings.php (added)
-
tags/10.2/tpl/settings_page_js.php (added)
-
tags/10.2/uninstall.php (added)
-
trunk/lib/PluginOrganizer.class.php (modified) (2 diffs)
-
trunk/lib/PluginOrganizerMU.class.php (modified) (2 diffs)
-
trunk/plugin-organizer.php (modified) (1 diff)
-
trunk/readme.txt (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugin-organizer/trunk/lib/PluginOrganizer.class.php
r2977689 r3236793 326 326 global $pagenow; 327 327 ##Check version and activate if needed. 328 if (get_option("PO_version_num") != "10. 1.10" && !in_array($pagenow, array("plugins.php", "update-core.php", "update.php"))) {328 if (get_option("PO_version_num") != "10.2" && !in_array($pagenow, array("plugins.php", "update-core.php", "update.php"))) { 329 329 $this->activate(); 330 330 } … … 641 641 } 642 642 643 if (get_option("PO_version_num") != "10. 1.10") {644 update_option("PO_version_num", "10. 1.10");643 if (get_option("PO_version_num") != "10.2") { 644 update_option("PO_version_num", "10.2"); 645 645 } 646 646 -
plugin-organizer/trunk/lib/PluginOrganizerMU.class.php
r2977697 r3236793 2 2 /* 3 3 Plugin Name: Plugin Organizer MU 4 Plugin URI: http ://www.sterupdesign.com4 Plugin URI: https://www.sterup.com/wordpress-plugins/plugin-organizer/ 5 5 Description: A plugin for specifying the load order of your plugins. 6 Version: 10. 1.106 Version: 10.2 7 7 Author: Jeff Sterup 8 Author URI: http ://www.sterupdesign.com8 Author URI: https://www.sterup.com 9 9 License: GPL2 10 10 */ … … 80 80 81 81 $this->set_requested_permalink(); 82 if (get_option('PO_updating_plugin') != '1' && get_option("PO_version_num") != "10. 1.10") {82 if (get_option('PO_updating_plugin') != '1' && get_option("PO_version_num") != "10.2") { 83 83 $newPluginList = $pluginList; 84 $this->adminMsg[] = '<strong>WARNING:</strong> Selective plugin loading for Plugin Organizer has been disabled because the version numbers of the MU plugin and the standard plugin don\'t match.<br />The current version number returned from the database is '.get_option("PO_version_num").' and the current MU plugin version number is 10. 1.10.<br />If you are using a caching plugin try clearing the cache.';84 $this->adminMsg[] = '<strong>WARNING:</strong> Selective plugin loading for Plugin Organizer has been disabled because the version numbers of the MU plugin and the standard plugin don\'t match.<br />The current version number returned from the database is '.get_option("PO_version_num").' and the current MU plugin version number is 10.2.<br />If you are using a caching plugin try clearing the cache.'; 85 85 } else { 86 86 $sql = "SELECT disabled_plugins, disabled_mobile_plugins, disabled_groups, disabled_mobile_groups FROM ".$wpdb->prefix."po_plugins WHERE post_type='global_plugin_lists' AND post_id=0"; -
plugin-organizer/trunk/plugin-organizer.php
r2977689 r3236793 2 2 /* 3 3 Plugin Name: Plugin Organizer 4 Plugin URI: https://www.sterup design.com/dev/wordpress/plugins/plugin-organizer/4 Plugin URI: https://www.sterup.com/wordpress-plugins/plugin-organizer/ 5 5 Description: A plugin to disable plugins on indivudual pages and change the order that they are loaded in. 6 Version: 10. 1.106 Version: 10.2 7 7 Author: Jeff Sterup 8 Author URI: https://www.sterup design.com8 Author URI: https://www.sterup.com 9 9 License: GPL2 10 10 */ -
plugin-organizer/trunk/readme.txt
r2977689 r3236793 1 1 === Plugin Organizer === 2 2 Contributors: foomagoo 3 Donate link: https://www.sterup design.com/donate3 Donate link: https://www.sterup.com/donate/ 4 4 Tags: plugin organizer, load order, organize plugins, plugin order, sort plugin, group plugin, disable plugins by post, disable plugins by page, disable plugins by custom post type, turn off plugins for post, turn off plugins for page, turn off plugins for custom post type 5 5 Requires at least: 4.6.0 6 Tested up to: 6. 3.17 Stable tag: 10. 1.106 Tested up to: 6.7.2 7 Stable tag: 10.2 8 8 9 9 … … 31 31 IMPORTANT: To enable selective plugin loading you must move the /wp-content/plugins/plugin-organizer/lib/PluginOrganizerMU.class.php file to /wp-content/mu-plugins or wherever your mu-plugins folder is located. If the mu-plugins directory does not exist you can create it. The plugin will attempt to create this directory and move the file itself when activated. Depending on your file permissions it may not be successful. 32 32 33 Note: If you are having troubles you can view the documentation by going to https://www.sterup design.com/dev/wordpress/plugins/plugin-organizer/documentation/33 Note: If you are having troubles you can view the documentation by going to https://www.sterup.com/wordpress-plugins/plugin-organizer/documentation/ 34 34 35 35 == Frequently Asked Questions == 36 36 37 You can find a full FAQ list at https://www.sterup design.com/dev/wordpress/plugins/plugin-organizer/faq/37 You can find a full FAQ list at https://www.sterup.com/wordpress-plugins/plugin-organizer/faq/ 38 38 39 39 = Can Plugin Organizer be used with caching plugins? = … … 48 48 49 49 There are different ways that caching plugins work and they can work together with Plugin Organizer. These are only 2 examples to give an idea. But you have to understand how they work and how you are affecting your cache by disabling plugins. 50 51 = Are there any known conflicts with other plugins? =52 53 Yes. A malicious plugin named WP Spamshield targets the settings used by Plugin Organizer to disable it. It also targets various other plugins and changes how they behave or disables them entirely. All of this is done without the users knowledge or consent. This plugin was removed from the Wordpress Plugin Directory because of this malicious code but it may still exist on some users sites. It will also likely be released from a different repository in the future and start targeting plugins again. You should remove WP Spamshield not only to make sure that Plugin Organizer runs correctly but to ensure the security of your website is not compromised. Find out more at https://www.sterupdesign.com/blog/malware/wp-spamshield/.54 50 55 51 = How do I disable plugins on the WordPress admin? = … … 85 81 Example 3: If you have plugins that conflict with eachother then you can disable the plugins globally and activate them only on posts or pages where they will be used. 86 82 87 Note: If you are having troubles you can view the documentation by going to https://www.sterup design.com/dev/wordpress/plugins/plugin-organizer/documentation/83 Note: If you are having troubles you can view the documentation by going to https://www.sterup.com/wordpress-plugins/plugin-organizer/documentation/ 88 84 89 85 = How do I target the homepage of my site if it isn't a page post type? = 90 86 91 Create a plugin filter with your home page url. Like https://www.sterup design.com/. Then enable or disable the plugins you want with that filter.87 Create a plugin filter with your home page url. Like https://www.sterup.com/. Then enable or disable the plugins you want with that filter. 92 88 93 89 = Can I use wildcards in a plugin filter permalink? = 94 90 95 Yes. You can use limited wildcards in the permalink structure. For instance you can match the url https://www.sterup design.com/some/pretty/permalink/ by entering https://www.sterupdesign.com/some/*/permalink/. You can also match the url by entering https://www.sterupdesign.com/*/pretty/permalink/ as the permalink. The only character that is recognized is the * character. It can only replace one piece of the url in between the / characters.91 Yes. You can use limited wildcards in the permalink structure. For instance you can match the url https://www.sterup.com/some/pretty/permalink/ by entering https://www.sterup.com/some/*/permalink/. You can also match the url by entering https://www.sterup.com/*/pretty/permalink/ as the permalink. The only character that is recognized is the * character. It can only replace one piece of the url in between the / characters. 96 92 97 93 = Can I enable/disable plugins based on post type? = … … 101 97 = How do I disable a plugin on the front end and still have it enabled on the admin pages? = 102 98 103 To load a plugin only in the admin you need to enable selective plugin loading for the admin areas and fuzzy url matching. Then globally disable the plugin you want to turn off on the front end. Next create a plugin filter with the permalink set to your admin url. Like https://www.sterup design.com/wp-admin/. Then enable the plugin for that plugin filter and select also affect children. Now the plugin should only be loaded in the admin.99 To load a plugin only in the admin you need to enable selective plugin loading for the admin areas and fuzzy url matching. Then globally disable the plugin you want to turn off on the front end. Next create a plugin filter with the permalink set to your admin url. Like https://www.sterup.com/wp-admin/. Then enable the plugin for that plugin filter and select also affect children. Now the plugin should only be loaded in the admin. 104 100 105 101 = Can I disable plugins by role? = … … 127 123 128 124 == Changelog == 125 126 = 10.2 = 127 Updating URLs in readme to point to new site. 128 Bumped tested version of Wordpress 129 129 130 130 = 10.1.10 = … … 796 796 == Upgrade Notice == 797 797 798 = 10.1.10 = 799 Fixed PHP warning about array offset when the database returns a bad result in MU plugin 798 = 10.2 = 799 Updating URLs in readme to point to new site. 800 Bumped tested version of Wordpress
Note: See TracChangeset
for help on using the changeset viewer.