Plugin Directory

Changeset 1554779


Ignore:
Timestamp:
12/14/2016 04:30:29 PM (9 years ago)
Author:
r3df
Message:

One more wp_get_sites() fix

Location:
r3df-multisite-language-indicator/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • r3df-multisite-language-indicator/trunk/r3df-multisite-language-indicator.php

    r1554708 r1554779  
    44Description:    Indicates the site language beside the site title in the toolbar to help identify sites
    55Plugin URI:     http://r3df.com/
    6 Version:        1.0.11
     6Version:        1.0.12
    77Text Domain:    r3df-multisite-language-indicator
    88Domain Path:    /lang/
  • r3df-multisite-language-indicator/trunk/readme.txt

    r1554715 r1554779  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MX3FLF4YGXRLE
    44Tags: dashboard, multi-lingual, multilingual, language, languages, network, site tag, site indicator, site, indicator, locale, flag
    5 Stable tag: 1.0.11
     5Stable tag: 1.0.12
    66Requires at least: 4.6
    77Tested up to: 4.7
     
    1414
    1515A plugin that adds language indicators, either a flag, locale or language, beside the site title of sites to help identify similarly
    16 named sites in multilingual multisites. This is most helpfull in sites with admin language selectors, where the admin language does not
     16named sites in multilingual multisites. This is most helpful in sites with admin language selectors, where the admin language does not
    1717reflect the site language.
    1818
     
    4848
    4949== Changelog ==
     50= Version 1.0.12 =
     51* Replaced the deprecated function wp_get_sites() in uninstall - REQUIRES WordPress 4.6+
     52* No functionality changes, use 1.0.10 for WP < 4.6
     53
    5054= Version 1.0.11 =
    5155* Replaced the deprecated function wp_get_sites() - REQUIRES WordPress 4.6+
    52 * No functionality changes use 1.0.10 for WP < 4.6
     56* No functionality changes, use 1.0.10 for WP < 4.6
    5357
    5458= Version 1.0.10 =
     
    9296
    9397== Upgrade Notice ==
     98= Version 1.0.12 =
     99* Replaced the deprecated function wp_get_sites() in uninstall - REQUIRES WordPress 4.6+
     100* No functionality changes, use 1.0.10 for WP < 4.6
     101
    94102= Version 1.0.11 =
    95103* Replaced the deprecated function wp_get_sites() - REQUIRES WordPress 4.6+
    96 * No functionality changes use 1.0.10 for WP < 4.6
     104* No functionality changes, use 1.0.10 for WP < 4.6
    97105
    98106= Version 1.0.10 =
  • r3df-multisite-language-indicator/trunk/uninstall.php

    r1139775 r1554779  
    1010    // Delete widget settings option from options table if save settings not set
    1111    if ( empty( $options['save_settings_on_uninstall'] ) ) {
    12         foreach ( wp_get_sites() as $site ) {
    13             delete_blog_option( $site['blog_id'], 'r3df_multisite_language_indicator' );
     12        foreach ( get_sites() as $site ) {
     13            delete_blog_option( $site -> blog_id, 'r3df_multisite_language_indicator' );
    1414        }
    1515        // Delete the user settings
Note: See TracChangeset for help on using the changeset viewer.