Changeset 47808 for trunk/src/wp-includes/class-walker-category.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r46413 r47808 54 54 */ 55 55 public function start_lvl( &$output, $depth = 0, $args = array() ) { 56 if ( 'list' != $args['style'] ) {56 if ( 'list' !== $args['style'] ) { 57 57 return; 58 58 } … … 75 75 */ 76 76 public function end_lvl( &$output, $depth = 0, $args = array() ) { 77 if ( 'list' != $args['style'] ) {77 if ( 'list' !== $args['style'] ) { 78 78 return; 79 79 } … … 187 187 $link .= ' (' . number_format_i18n( $category->count ) . ')'; 188 188 } 189 if ( 'list' == $args['style'] ) {189 if ( 'list' === $args['style'] ) { 190 190 $output .= "\t<li"; 191 191 $css_classes = array( … … 259 259 */ 260 260 public function end_el( &$output, $page, $depth = 0, $args = array() ) { 261 if ( 'list' != $args['style'] ) {261 if ( 'list' !== $args['style'] ) { 262 262 return; 263 263 }
Note: See TracChangeset
for help on using the changeset viewer.