Ticket #13468: 13468.patch
File 13468.patch, 648 bytes (added by , 15 years ago) |
---|
-
wp-includes/user.php
621 621 if ( $show_option_all ) 622 622 $output .= "\t<option value='0'>$show_option_all</option>\n"; 623 623 624 if ( $show_option_none ) 625 $output .= "\t<option value='-1'>$show_option_none</option>\n"; 624 if ( $show_option_none ) { 625 $_selected = -1 == $selected ? " selected='selected'" : ''; 626 $output .= "\t<option value='-1'$_selected>$show_option_none</option>\n"; 627 } 626 628 627 629 foreach ( (array) $users as $user ) { 628 630 $user->ID = (int) $user->ID;