Changeset 58980
- Timestamp:
- 09/03/2024 08:13:38 PM (6 weeks ago)
- Location:
- branches/6.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.6
-
branches/6.6/src/wp-includes/html-api/class-wp-html-tag-processor.php
r58559 r58980 2981 2981 */ 2982 2982 $escaped_new_value = in_array( $comparable_name, wp_kses_uri_attributes() ) ? esc_url( $value ) : esc_attr( $value ); 2983 2984 // If the escaping functions wiped out the update, reject it and indicate it was rejected. 2985 if ( '' === $escaped_new_value && '' !== $value ) { 2986 return false; 2987 } 2988 2983 2989 $updated_attribute = "{$name}=\"{$escaped_new_value}\""; 2984 2990 }
Note: See TracChangeset
for help on using the changeset viewer.