Changeset 51693 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 08/30/2021 02:08:43 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r51599 r51693 94 94 private static function translate( $theme_json, $domain = 'default' ) { 95 95 if ( null === self::$i18n_schema ) { 96 $i18n_schema = wp_json_file_decode( __DIR__ . '/theme-i18n.json' );96 $i18n_schema = wp_json_file_decode( __DIR__ . '/theme-i18n.json' ); 97 97 self::$i18n_schema = null === $i18n_schema ? array() : $i18n_schema; 98 98 }
Note: See TracChangeset
for help on using the changeset viewer.