Changeset 49108 for trunk/src/wp-includes/category-template.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r49060 r49108 434 434 /** This filter is documented in wp-includes/category-template.php */ 435 435 $show_option_all = apply_filters( 'list_cats', $parsed_args['show_option_all'], null ); 436 $selected = ( '0' === strval( $parsed_args['selected'] )) ? " selected='selected'" : '';436 $selected = ( '0' === (string) $parsed_args['selected'] ) ? " selected='selected'" : ''; 437 437 $output .= "\t<option value='0'$selected>$show_option_all</option>\n"; 438 438 } … … 738 738 $link = get_edit_term_link( $tag->term_id, $tag->taxonomy, $args['post_type'] ); 739 739 } else { 740 $link = get_term_link( intval( $tag->term_id ), $tag->taxonomy );740 $link = get_term_link( (int) $tag->term_id, $tag->taxonomy ); 741 741 } 742 742
Note: See TracChangeset
for help on using the changeset viewer.