Changeset 33081
- Timestamp:
- 07/04/2015 04:20:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r32730 r33081 808 808 } elseif ( count( $all_blogs ) == 1 ) { 809 809 $blog = reset( $all_blogs ); 810 echo $blog->domain;810 echo esc_url( get_home_url( $blog->userblog_id ) ); 811 811 if ( $primary_blog != $blog->userblog_id ) // Set the primary blog again if it's out of sync with blog list. 812 812 update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id );
Note: See TracChangeset
for help on using the changeset viewer.