Make WordPress Core


Ignore:
Timestamp:
10/02/2015 07:07:23 PM (9 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/ms-deprecated.php

    r34755 r34778  
    2626function get_dashboard_blog() {
    2727    _deprecated_function( __FUNCTION__, '3.1' );
    28     if ( $blog = get_site_option( 'dashboard_blog' ) )
     28    if ( $blog = get_network_option( 'dashboard_blog' ) )
    2929        return get_blog_details( $blog );
    3030
Note: See TracChangeset for help on using the changeset viewer.