Changeset 50981 for trunk/src/wp-admin/my-sites.php
- Timestamp:
- 05/24/2021 07:58:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/my-sites.php
r47785 r50981 28 28 $blog = get_site( (int) $_POST['primary_blog'] ); 29 29 if ( $blog && isset( $blog->domain ) ) { 30 update_user_ option( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'], true);30 update_user_meta( $current_user->ID, 'primary_blog', (int) $_POST['primary_blog'] ); 31 31 $updated = true; 32 32 } else {
Note: See TracChangeset
for help on using the changeset viewer.