Changeset 38823 for trunk/src/wp-admin/my-sites.php
- Timestamp:
- 10/19/2016 06:01:22 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/my-sites.php
r38721 r38823 24 24 check_admin_referer( 'update-my-sites' ); 25 25 26 $blog = get_ blog_details( (int) $_POST['primary_blog'] );26 $blog = get_site( (int) $_POST['primary_blog'] ); 27 27 if ( $blog && isset( $blog->domain ) ) { 28 28 update_user_option( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'], true );
Note: See TracChangeset
for help on using the changeset viewer.