Changeset 54183
- Timestamp:
- 09/15/2022 08:26:13 PM (2 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r54162 r54183 1874 1874 * @param array $nodes Style nodes with metadata. 1875 1875 */ 1876 return apply_filters( ' get_style_nodes', $nodes );1876 return apply_filters( 'theme_json_get_style_nodes', $nodes ); 1877 1877 } 1878 1878 -
trunk/src/wp-includes/script-loader.php
r54182 r54183 2414 2414 */ 2415 2415 if ( $separate_assets ) { 2416 add_filter( ' get_style_nodes', 'wp_filter_out_block_nodes' );2416 add_filter( 'theme_json_get_style_nodes', 'wp_filter_out_block_nodes' ); 2417 2417 // Add each block as an inline css. 2418 2418 wp_add_global_styles_for_blocks();
Note: See TracChangeset
for help on using the changeset viewer.