Changeset 24993 for trunk/wp-includes/ms-deprecated.php
- Timestamp:
- 08/06/2013 04:07:46 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-deprecated.php
r23438 r24993 13 13 * Deprecated functions come here to die. 14 14 */ 15 16 /** 17 * Get the "dashboard blog", the blog where users without a blog edit their profile data. 18 * Dashboard blog functionality was removed in WordPress 3.1, replaced by the user admin. 19 * 20 * @since MU 21 * @deprecated 3.1.0 22 * @see get_blog_details() 23 * @return int 24 */ 25 function get_dashboard_blog() { 26 _deprecated_function( __FUNCTION__, '3.1' ); 27 if ( $blog = get_site_option( 'dashboard_blog' ) ) 28 return get_blog_details( $blog ); 29 30 return get_blog_details( $GLOBALS['current_site']->blog_id ); 31 } 15 32 16 33 /**
Note: See TracChangeset
for help on using the changeset viewer.