Changeset 51284 for trunk/src/wp-includes/class-wp-theme-json-resolver.php
- Timestamp:
- 06/30/2021 05:19:59 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r51221 r51284 113 113 * 114 114 * @param array $i18n_partial A tree that follows the format of i18n-theme.json. 115 * @param array $current_path Keeps track of the path as we walk down the given tree. 115 * @param array $current_path Optional. Keeps track of the path as we walk down the given tree. 116 * Default empty array. 116 117 * @return array A linear array containing the paths to translate. 117 118 */ … … 266 267 * @since 5.8.0 267 268 * 268 * @param array $theme_support_data Theme support data in theme.json format. Default empty array. 269 * @param array $theme_support_data Optional. Theme support data in theme.json format. 270 * Default empty array. 269 271 * @return WP_Theme_JSON Entity that holds theme data. 270 272 */ … … 302 304 * @since 5.8.0 303 305 * 304 * @param array $settings Existing block editor settings. 305 * Empty array by default. 306 * @param array $settings Optional. Existing block editor settings. Default empty array. 306 307 * @return WP_Theme_JSON 307 308 */ … … 370 371 371 372 } 372 373 add_action( 'switch_theme', array( 'WP_Theme_JSON_Resolver', 'clean_cached_data' ) );
Note: See TracChangeset
for help on using the changeset viewer.