Plugin Directory

Changeset 3247343


Ignore:
Timestamp:
02/26/2025 06:47:38 PM (13 months ago)
Author:
foomagoo
Message:

Replacing missing PO-admn-global.css file that was missing from last update. Fixing deprecation warning on global plugins page if no global plugins are set.

Location:
plugin-organizer
Files:
34 added
5 edited

Legend:

Unmodified
Added
Removed
  • plugin-organizer/trunk/lib/PO_Template.class.php

    r2506031 r3247343  
    8585            $storedPluginLists = $wpdb->get_row($sql, ARRAY_A);
    8686           
     87            if ($storedPluginLists == null) {
     88                $storedPluginLists = array('disabled_plugins'=>'', 'disabled_mobile_plugins'=>'', 'disabled_groups'=>'', 'disabled_mobile_groups'=>'');
     89            }
     90           
    8791            $globalPlugins = (is_array(@unserialize($storedPluginLists['disabled_plugins'])))? @unserialize($storedPluginLists['disabled_plugins']):array();
    8892            $globalMobilePlugins = (is_array(@unserialize($storedPluginLists['disabled_mobile_plugins'])))? @unserialize($storedPluginLists['disabled_mobile_plugins']):array();
     
    123127            $storedPluginLists = $wpdb->get_row($sql, ARRAY_A);
    124128           
     129            if ($storedPluginLists == null) {
     130                $storedPluginLists = array('disabled_plugins'=>'', 'disabled_mobile_plugins'=>'', 'disabled_groups'=>'', 'disabled_mobile_groups'=>'');
     131            }
     132           
    125133            $globalPlugins = (is_array(@unserialize($storedPluginLists['disabled_plugins'])))? @unserialize($storedPluginLists['disabled_plugins']):array();
    126134            $globalMobilePlugins = (is_array(@unserialize($storedPluginLists['disabled_mobile_plugins'])))? @unserialize($storedPluginLists['disabled_mobile_plugins']):array();
     
    146154            $storedPluginLists = $wpdb->get_row($sql, ARRAY_A);
    147155           
     156            if ($storedPluginLists == null) {
     157                $storedPluginLists = array('disabled_plugins'=>'', 'disabled_mobile_plugins'=>'', 'disabled_groups'=>'', 'disabled_mobile_groups'=>'');
     158            }
    148159            $pluginLists = array('_'=>array(
    149160                'enabled_plugin_list'=>array(),
  • plugin-organizer/trunk/lib/PluginOrganizer.class.php

    r3236793 r3247343  
    326326        global $pagenow;
    327327        ##Check version and activate if needed.
    328         if (get_option("PO_version_num") != "10.2" && !in_array($pagenow, array("plugins.php", "update-core.php", "update.php"))) {
     328        if (get_option("PO_version_num") != "10.2.1" && !in_array($pagenow, array("plugins.php", "update-core.php", "update.php"))) {
    329329            $this->activate();
    330330        }
     
    641641        }
    642642       
    643         if (get_option("PO_version_num") != "10.2") {
    644             update_option("PO_version_num", "10.2");
     643        if (get_option("PO_version_num") != "10.2.1") {
     644            update_option("PO_version_num", "10.2.1");
    645645        }
    646646
  • plugin-organizer/trunk/lib/PluginOrganizerMU.class.php

    r3236793 r3247343  
    44Plugin URI: https://www.sterup.com/wordpress-plugins/plugin-organizer/
    55Description: A plugin for specifying the load order of your plugins.
    6 Version: 10.2
     6Version: 10.2.1
    77Author: Jeff Sterup
    88Author URI: https://www.sterup.com
     
    8080           
    8181            $this->set_requested_permalink();
    82             if (get_option('PO_updating_plugin') != '1' && get_option("PO_version_num") != "10.2") {
     82            if (get_option('PO_updating_plugin') != '1' && get_option("PO_version_num") != "10.2.1") {
    8383                $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.2.<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.1.<br />If you are using a caching plugin try clearing the cache.';
    8585            } else {
    8686                $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

    r3236799 r3247343  
    44Plugin URI: https://www.sterup.com/wordpress-plugins/plugin-organizer/
    55Description: A plugin to disable plugins on indivudual pages and change the order that they are loaded in.
    6 Version: 10.2
     6Version: 10.2.1
    77Author: Jeff Sterup
    88Author URI: https://www.sterup.com
  • plugin-organizer/trunk/readme.txt

    r3236799 r3247343  
    55Requires at least: 4.6.0
    66Tested up to: 6.7.2
    7 Stable tag: 10.2
     7Stable tag: 10.2.1
    88License: GPLv2
    99
     
    123123
    124124== Changelog ==
     125
     126= 10.2.1 =
     127Replacing missing PO-admn-global.css file that was missing from last update
     128Fixing deprecation warning on global plugins page if no global plugins are set.
    125129
    126130= 10.2 =
     
    796800== Upgrade Notice ==
    797801
    798 = 10.2 =
    799 Updating URLs in readme to point to new site.
    800 Bumped tested version of Wordpress
     802= 10.2.1 =
     803Replacing missing PO-admn-global.css file that was missing from last update
     804Fixing deprecation warning on global plugins page if no global plugins are set.
Note: See TracChangeset for help on using the changeset viewer.