Make WordPress Core


Ignore:
Timestamp:
10/02/2015 07:07:23 PM (10 years ago)
Author:
jeremyfelt
Message:

MS: Use *_network_option() functions throughout core.

Replaces all uses of *_site_option() with the corresponding "network" function.

This excludes one usage in wp-admin/admin-footer.php that needs more investigation.

Props spacedmonkey.
See #28290.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r34485 r34778  
    5555        // Don't check blog option when installing.
    5656        if ( defined( 'WP_INSTALLING' ) || ( false === $ms_locale = get_option( 'WPLANG' ) ) ) {
    57             $ms_locale = get_site_option( 'WPLANG' );
     57            $ms_locale = get_network_option( 'WPLANG' );
    5858        }
    5959
Note: See TracChangeset for help on using the changeset viewer.