Make WordPress Core


Ignore:
Timestamp:
06/29/2023 06:19:41 AM (18 months ago)
Author:
isabel_brison
Message:

Editor: update duotone support.

Updates duotone support after stabilisation of selectors API and adds a few small code quality and UI improvements.

Props onemaggie, peterwilsoncc, ajlende, audrasjb, mikeschroder, ramonopoly.
Fixes #58555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r56030 r56101  
    607607add_action( 'wp_footer', 'wp_enqueue_stored_styles', 1 );
    608608
    609 // SVG filters like duotone have to be loaded at the beginning of the body in both admin and the front-end.
    610 add_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );
    611 add_action( 'in_admin_header', 'wp_global_styles_render_svg_filters' );
    612 
    613609add_action( 'wp_default_styles', 'wp_default_styles' );
    614610add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.