Make WordPress Core


Ignore:
Timestamp:
08/06/2013 04:07:46 PM (12 years ago)
Author:
ryan
Message:

Deprecate get_dashboard_blog().
Remove contextual help for Dashboard Site from the network settings screen.

Props sillybean, ocean90
fixes #24838

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r24848 r24993  
    17391739
    17401740/**
    1741  * Get the "dashboard blog", the blog where users without a blog edit their profile data.
    1742  *
    1743  * @since MU
    1744  * @uses get_blog_details()
    1745  *
    1746  * @return int
    1747  */
    1748 function get_dashboard_blog() {
    1749     if ( $blog = get_site_option( 'dashboard_blog' ) )
    1750         return get_blog_details( $blog );
    1751 
    1752     return get_blog_details( $GLOBALS['current_site']->blog_id );
    1753 }
    1754 
    1755 /**
    17561741 * Check whether a usermeta key has to do with the current blog.
    17571742 *
Note: See TracChangeset for help on using the changeset viewer.