diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index e745694031..da4ac4d05c 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -25,7 +25,6 @@ get_current_screen()->add_help_tab( array( 'content' => '
' . __('This screen sets and changes options for the network as a whole. The first site is the main site in the network and network options are pulled from that original site’s options.') . '
' . '' . __('Operational settings has fields for the network’s name and admin email.') . '
' . - '' . __('Dashboard Site is an option to give a site to users who do not have a site on the system. Their default role is Subscriber, but that default can be changed. The Admin Notice Feed can provide a notice on all dashboards of the latest post via RSS or Atom, or provide no such notice if left blank.') . '
' . '' . __('Registration settings can disable/enable public signups. If you let others sign up for a site, install spam plugins. Spaces, not commas, should separate names banned as sites for this network.') . '
' . '' . __('New site settings are defaults applied when a new site is created in the network. These include welcome email for when a new site or user account is registered, and what᾿s put in the first post, page, comment, comment author, and comment URL.') . '
' . '' . __('Upload settings control the size of the uploaded files and the amount of available upload space for each site. You can change the default value for specific sites when you edit a particular site. Allowed file types are also listed (space separated only).') . '
' . diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index 9c6cad456e..e5b916cccb 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -13,6 +13,23 @@ * Deprecated functions come here to die. */ +/** + * Get the "dashboard blog", the blog where users without a blog edit their profile data. + * Dashboard blog functionality was removed in WordPress 3.1, replaced by the user admin. + * + * @since MU + * @deprecated 3.1.0 + * @see get_blog_details() + * @return int + */ +function get_dashboard_blog() { + _deprecated_function( __FUNCTION__, '3.1' ); + if ( $blog = get_site_option( 'dashboard_blog' ) ) + return get_blog_details( $blog ); + + return get_blog_details( $GLOBALS['current_site']->blog_id ); +} + /** * @since MU * @deprecated 3.0.0 diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index bb58c6fa71..f29152a3d4 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -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. *