Changeset 38905
- Timestamp:
- 10/25/2016 06:01:03 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r38787 r38905 704 704 } 705 705 706 // Technically not needed, but does save calls to get_ blog_detailsand get_user_meta706 // Technically not needed, but does save calls to get_site and get_user_meta 707 707 // in the event that the function is called when a user isn't logged in 708 708 if ( empty( $user_id ) ) { … … 723 723 } 724 724 725 $blog = get_ blog_details( $blog_id );725 $blog = get_site( $blog_id ); 726 726 727 727 if ( ! $blog || ! isset( $blog->domain ) || $blog->archived || $blog->spam || $blog->deleted ) {
Note: See TracChangeset
for help on using the changeset viewer.