Make WordPress Core


Ignore:
Timestamp:
10/02/2015 07:07:23 PM (11 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/user-functions.php

    r34705 r34778  
    18101810function wp_get_user_contact_methods( $user = null ) {
    18111811        $methods = array();
    1812         if ( get_site_option( 'initial_db_version' ) < 23588 ) {
     1812        if ( get_network_option( 'initial_db_version' ) < 23588 ) {
    18131813                $methods = array(
    18141814                        'aim'    => __( 'AIM' ),
Note: See TracChangeset for help on using the changeset viewer.