WordPress.org

Make WordPress Core


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

    r34099 r34778  
    223223
    224224if ( empty( $current_site->site_name ) ) {
    225     $current_site->site_name = get_site_option( 'site_name' );
     225    $current_site->site_name = get_network_option( 'site_name' );
    226226    if ( ! $current_site->site_name ) {
    227227        $current_site->site_name = ucfirst( $current_site->domain );
Note: See TracChangeset for help on using the changeset viewer.