| 1 |
<?php |
| 2 |
/** |
| 3 |
* Updates the script-loader.php file |
| 4 |
* |
| 5 |
* @package gutenberg |
| 6 |
*/ |
| 7 |
|
| 8 |
/** |
| 9 |
* Removes the actions that output all duotone SVG filter presets. |
| 10 |
* WP_Duotone_Gutenberg now handles which SVG filters should be output |
| 11 |
* depending on the block content. |
| 12 |
*/ |
| 13 |
remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' ); |
| 14 |
remove_action( 'in_admin_header', 'wp_global_styles_render_svg_filters' ); |
| 15 |
|