mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user