Make WordPress Core


Ignore:
Timestamp:
09/19/2022 08:54:20 PM (3 years ago)
Author:
audrasjb
Message:

Editor: Backport block supports filter callback, registrations and tests to 6.1.

This changeset backports the following changes:

Props ramonopoly, gziolo, bernhard-reiter, audrasjb, costdev.
See #56467.

File:
1 edited

Legend:

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

    r54182 r54214  
    576576add_action( 'wp_footer', 'wp_enqueue_global_styles', 1 );
    577577
     578// Block supports, and other styles parsed and stored in the Style Engine.
     579add_action( 'wp_enqueue_scripts', 'wp_enqueue_stored_styles' );
     580add_action( 'wp_footer', 'wp_enqueue_stored_styles', 1 );
     581
    578582// SVG filters like duotone have to be loaded at the beginning of the body in both admin and the front-end.
    579583add_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' );
Note: See TracChangeset for help on using the changeset viewer.