Changeset 55141
- Timestamp:
- 01/25/2023 09:54:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/duotone.php
r55140 r55141 460 460 $svg = ob_get_clean(); 461 461 462 if ( ! defined( 'SCRIPT_DEBUG' ) || !SCRIPT_DEBUG ) {462 if ( ! SCRIPT_DEBUG ) { 463 463 // Clean up the whitespace. 464 464 $svg = preg_replace( "/[\r\n\t ]+/", ' ', $svg ); … … 544 544 // !important is needed because these styles render before global styles, 545 545 // and they should be overriding the duotone filters set by global styles. 546 $filter_style = defined( 'SCRIPT_DEBUG' ) &&SCRIPT_DEBUG546 $filter_style = SCRIPT_DEBUG 547 547 ? $selector . " {\n\tfilter: " . $filter_property . " !important;\n}\n" 548 548 : $selector . '{filter:' . $filter_property . ' !important;}';
Note: See TracChangeset
for help on using the changeset viewer.