Changeset 56192 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 07/10/2023 10:46:22 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r56019 r56192 246 246 do_action( 'remove_user_from_blog', $user_id, $blog_id, $reassign ); 247 247 248 // If being removed from the primary blog, set a new primary 249 // if the user is assigned to multiple blogs. 248 /* 249 * If being removed from the primary blog, set a new primary 250 * if the user is assigned to multiple blogs. 251 */ 250 252 $primary_blog = get_user_meta( $user_id, 'primary_blog', true ); 251 253 if ( $primary_blog == $blog_id ) { … … 718 720 } 719 721 720 // Has someone already signed up for this domain? 721 // TODO: Check email too? 722 /* 723 * Has someone already signed up for this domain? 724 * TODO: Check email too? 725 */ 722 726 $signup = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->signups WHERE domain = %s AND path = %s", $mydomain, $path ) ); 723 727 if ( $signup instanceof stdClass ) { … … 1940 1944 $most_recent_post = array(); 1941 1945 1942 // Walk through each blog and get the most recent post 1943 // published by $user_id. 1946 /* 1947 * Walk through each blog and get the most recent post 1948 * published by $user_id. 1949 */ 1944 1950 foreach ( (array) $user_blogs as $blog ) { 1945 1951 $prefix = $wpdb->get_blog_prefix( $blog->userblog_id );
Note: See TracChangeset
for help on using the changeset viewer.