Changeset 47550 for trunk/src/wp-includes/kses.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r47219 r47550 794 794 795 795 // Sanitize URI values. 796 if ( in_array( strtolower( $name ), $uris ) ) {796 if ( in_array( strtolower( $name ), $uris, true ) ) { 797 797 $value = wp_kses_bad_protocol( $value, $allowed_protocols ); 798 798 } … … 1286 1286 // "value" 1287 1287 $thisval = $match[1]; 1288 if ( in_array( strtolower( $attrname ), $uris ) ) {1288 if ( in_array( strtolower( $attrname ), $uris, true ) ) { 1289 1289 $thisval = wp_kses_bad_protocol( $thisval, $allowed_protocols ); 1290 1290 } … … 1307 1307 // 'value' 1308 1308 $thisval = $match[1]; 1309 if ( in_array( strtolower( $attrname ), $uris ) ) {1309 if ( in_array( strtolower( $attrname ), $uris, true ) ) { 1310 1310 $thisval = wp_kses_bad_protocol( $thisval, $allowed_protocols ); 1311 1311 } … … 1328 1328 // value 1329 1329 $thisval = $match[1]; 1330 if ( in_array( strtolower( $attrname ), $uris ) ) {1330 if ( in_array( strtolower( $attrname ), $uris, true ) ) { 1331 1331 $thisval = wp_kses_bad_protocol( $thisval, $allowed_protocols ); 1332 1332 } … … 1783 1783 1784 1784 $i = $matches[1]; 1785 return ( ! in_array( $i, $allowedentitynames ) ) ? "&$i;" : "&$i;";1785 return ( ! in_array( $i, $allowedentitynames, true ) ) ? "&$i;" : "&$i;"; 1786 1786 } 1787 1787
Note: See TracChangeset
for help on using the changeset viewer.