Changeset 46413 for trunk/src/wp-includes/class-walker-category.php
- Timestamp:
- 10/06/2019 03:04:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-category.php
r46163 r46413 140 140 $attributes = ''; 141 141 foreach ( $atts as $attr => $value ) { 142 if ( ! empty( $value )) {142 if ( is_scalar( $value ) && '' !== $value && false !== $value ) { 143 143 $value = ( 'href' === $attr ) ? esc_url( $value ) : esc_attr( $value ); 144 144 $attributes .= ' ' . $attr . '="' . $value . '"';
Note: See TracChangeset
for help on using the changeset viewer.