Changeset 52924
- Timestamp:
- 03/12/2022 12:27:25 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/layout.php
r52743 r52924 55 55 56 56 // Make sure there is a single CSS rule, and all tags are stripped for security. 57 // TODO: Use `safecss_filter_attr` instead - once https://core.trac.wordpress.org/ticket/46197 is patched. 58 $all_max_width_value = wp_strip_all_tags( explode( ';', $all_max_width_value )[0] ); 59 $wide_max_width_value = wp_strip_all_tags( explode( ';', $wide_max_width_value )[0] ); 57 $all_max_width_value = safecss_filter_attr( explode( ';', $all_max_width_value )[0] ); 58 $wide_max_width_value = safecss_filter_attr( explode( ';', $wide_max_width_value )[0] ); 60 59 61 60 $style = '';
Note: See TracChangeset
for help on using the changeset viewer.