Deprecate get_dashboard_blog().

Remove contextual help for Dashboard Site from the network settings screen.

Props sillybean, ocean90
fixes #24838


git-svn-id: https://develop.svn.wordpress.org/trunk@24993 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2013-08-06 16:07:46 +00:00
parent 5d33941220
commit 98e65b8f77
3 changed files with 17 additions and 16 deletions
-15
View File
@@ -1737,21 +1737,6 @@ function update_blog_public( $old_value, $value ) {
}
add_action('update_option_blog_public', 'update_blog_public', 10, 2);
/**
* Get the "dashboard blog", the blog where users without a blog edit their profile data.
*
* @since MU
* @uses get_blog_details()
*
* @return int
*/
function get_dashboard_blog() {
if ( $blog = get_site_option( 'dashboard_blog' ) )
return get_blog_details( $blog );
return get_blog_details( $GLOBALS['current_site']->blog_id );
}
/**
* Check whether a usermeta key has to do with the current blog.
*