Changes from branches/4.3/src/wp-includes/category-template.php at r33949 to trunk/src/wp-includes/category-template.php at r33318
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r33949 r33318 1208 1208 $output .= "\t<option class=\"level-$depth\" value=\"" . esc_attr( $category->{$value_field} ) . "\""; 1209 1209 1210 // Type-juggling causes false matches, so we force everything to a string. 1211 if ( (string) $category->{$value_field} === (string) $args['selected'] ) 1210 if ( $category->{$value_field} == $args['selected'] ) 1212 1211 $output .= ' selected="selected"'; 1213 1212 $output .= '>';
Note: See TracChangeset
for help on using the changeset viewer.