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/class-wp-theme.php

    r34236 r34778  
    11921192        static $allowed_themes;
    11931193        if ( ! isset( $allowed_themes ) )
    1194             $allowed_themes = (array) get_site_option( 'allowedthemes' );
     1194            $allowed_themes = (array) get_network_option( 'allowedthemes' );
    11951195        return $allowed_themes;
    11961196    }
Note: See TracChangeset for help on using the changeset viewer.