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:
Jeremy Felt
2015-10-02 19:08:26 +00:00
parent 3c2273ef45
commit 54512d64cb
37 changed files with 195 additions and 195 deletions

View File

@@ -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 );