Changeset 58844
- Timestamp:
- 08/02/2024 10:57:46 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r58829 r58844 3198 3198 */ 3199 3199 $escaped_new_value = in_array( $comparable_name, wp_kses_uri_attributes() ) ? esc_url( $value ) : esc_attr( $value ); 3200 3201 // If the escaping functions wiped out the update, reject it and indicate it was rejected. 3202 if ( '' === $escaped_new_value && '' !== $value ) { 3203 return false; 3204 } 3205 3200 3206 $updated_attribute = "{$name}=\"{$escaped_new_value}\""; 3201 3207 }
Note: See TracChangeset
for help on using the changeset viewer.