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. Built from https://develop.svn.wordpress.org/trunk@34778 git-svn-id: http://core.svn.wordpress.org/trunk@34743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
function get_dashboard_blog() {
|
||||
_deprecated_function( __FUNCTION__, '3.1' );
|
||||
if ( $blog = get_site_option( 'dashboard_blog' ) )
|
||||
if ( $blog = get_network_option( 'dashboard_blog' ) )
|
||||
return get_blog_details( $blog );
|
||||
|
||||
return get_blog_details( $GLOBALS['current_site']->blog_id );
|
||||
|
||||
Reference in New Issue
Block a user