Skip to content

Commit

Permalink
Fix incorrect indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Nov 14, 2023
1 parent bb31313 commit d990cfa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/wp-includes/class-wp-theme-json-resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ protected static function translate( $theme_json, $domain = 'default' ) {
// Include an unmodified $wp_version.
require ABSPATH . WPINC . '/version.php';

$cache_group = 'theme_json_files';
$cache_key = "i18n_schema_{$wp_version}";
$cache_group = 'theme_json_files';
$cache_key = "i18n_schema_{$wp_version}";

$i18n_schema = wp_cache_get( $cache_key, $cache_group );

Expand Down Expand Up @@ -727,8 +727,8 @@ public static function clean_cached_data() {
// Include an unmodified $wp_version.
require ABSPATH . WPINC . '/version.php';

$cache_group = 'theme_json_files';
$cache_key = "i18n_schema_{$wp_version}";
$cache_group = 'theme_json_files';
$cache_key = "i18n_schema_{$wp_version}";
wp_cache_delete( $cache_key, $cache_group );
}

Expand Down

0 comments on commit d990cfa

Please sign in to comment.