Ticket #42195: 42195.patch
File 42195.patch, 525 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/formatting.php
5246 5246 if ( is_array( $v ) ) { 5247 5247 $value[ $k ] = wp_slash( $v ); 5248 5248 } else { 5249 if (is_bool( $v )) { 5250 $v = (int) $v; 5251 } 5249 5252 $value[ $k ] = addslashes( $v ); 5250 5253 } 5251 5254 } 5252 5255 } else { 5256 if ( is_bool( $value ) ) { 5257 $value = (int) $value; 5258 } 5253 5259 $value = addslashes( $value ); 5254 5260 } 5255 5261