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
Update src/wp-includes/global-styles-and-settings.php
Co-authored-by: Andrew Ozz <[email protected]>
  • Loading branch information
oandregal and azaozz committed Jan 20, 2023
commit 9c82e0bed628f91be0463ea46d180d4ffe46e3e8
2 changes: 1 addition & 1 deletion src/wp-includes/global-styles-and-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function wp_get_global_styles( $path = array(), $context = array() ) {
function wp_get_global_stylesheet( $types = array() ) {
// Ignore cache when `WP_DEBUG` is enabled, so it doesn't interfere with the theme developers workflow.
$can_use_cached = empty( $types ) && ! WP_DEBUG;
/**
/*
* By using the 'theme_json' group, this data is marked to be non-persistent across requests.
* See `wp_cache_add_non_persistent_groups` in src/wp-includes/load.php and other places.
*
Expand Down