mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@34778 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1191,7 +1191,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
public static function get_allowed_on_network() {
|
||||
static $allowed_themes;
|
||||
if ( ! isset( $allowed_themes ) )
|
||||
$allowed_themes = (array) get_site_option( 'allowedthemes' );
|
||||
$allowed_themes = (array) get_network_option( 'allowedthemes' );
|
||||
return $allowed_themes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user