Changeset 47557 for trunk/src/wp-admin/includes/ms.php
- Timestamp:
- 04/09/2020 03:41:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r47550 r47557 923 923 ) 924 924 ); 925 925 926 if ( is_array( $blog_users ) && ! empty( $blog_users ) ) { 926 927 $user_site = "<a href='" . esc_url( get_home_url( $details->userblog_id ) ) . "'>{$details->blogname}</a>"; … … 928 929 $user_dropdown .= "<select name='blog[$user_id][$key]' id='reassign_user'>"; 929 930 $user_list = ''; 931 930 932 foreach ( $blog_users as $user ) { 931 if ( ! in_array( $user->ID, $allusers) ) {933 if ( ! in_array( (int) $user->ID, $allusers, true ) ) { 932 934 $user_list .= "<option value='{$user->ID}'>{$user->user_login}</option>"; 933 935 } 934 936 } 937 935 938 if ( '' == $user_list ) { 936 939 $user_list = $admin_out; 937 940 } 941 938 942 $user_dropdown .= $user_list; 939 943 $user_dropdown .= "</select>\n";
Note: See TracChangeset
for help on using the changeset viewer.