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/default-constants.php

    r33737 r34778  
    190190     */
    191191    if ( !defined( 'COOKIEHASH' ) ) {
    192         $siteurl = get_site_option( 'siteurl' );
     192        $siteurl = get_network_option( 'siteurl' );
    193193        if ( $siteurl )
    194194            define( 'COOKIEHASH', md5( $siteurl ) );
Note: See TracChangeset for help on using the changeset viewer.