Changeset 38458
- Timestamp:
- 08/31/2016 05:03:37 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-deprecated.php
r37985 r38458 29 29 return get_blog_details( $blog ); 30 30 31 return get_blog_details( $GLOBALS['current_site']->blog_id );31 return get_blog_details( get_current_site()->blog_id ); 32 32 } 33 33 -
trunk/src/wp-login.php
r38424 r38458 337 337 $message .= '<' . network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login') . ">\r\n"; 338 338 339 if ( is_multisite() ) 340 $blogname = $GLOBALS['current_site']->site_name;341 else339 if ( is_multisite() ) { 340 $blogname = get_current_site()->site_name; 341 } else { 342 342 /* 343 343 * The blogname option is escaped with esc_html on the way into the database … … 345 345 */ 346 346 $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); 347 } 347 348 348 349 $title = sprintf( __('[%s] Password Reset'), $blogname );
Note: See TracChangeset
for help on using the changeset viewer.