Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert change to deprecated function
  • Loading branch information
westonruter authored Jul 8, 2025
commit 66a2496d58324f638c66873bedb3592b59b42913
2 changes: 1 addition & 1 deletion src/wp-includes/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -6372,7 +6372,7 @@ function wp_get_global_styles_custom_css() {
*/
function wp_enqueue_global_styles_custom_css() {
_deprecated_function( __FUNCTION__, '6.7.0', 'wp_enqueue_global_styles' );
if ( ! wp_is_block_theme() || is_customize_preview() ) {
if ( ! wp_is_block_theme() ) {
return;
}

Expand Down
Loading