Changeset 55983
- Timestamp:
- 06/22/2023 07:14:46 AM (18 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-patterns.php
r55926 r55983 288 288 } 289 289 290 $pattern_settings = wp_get_ remote_theme_patterns();290 $pattern_settings = wp_get_theme_directory_pattern_slugs(); 291 291 if ( empty( $pattern_settings ) ) { 292 292 return; -
trunk/src/wp-includes/global-styles-and-settings.php
r55959 r55983 437 437 * @return string[] 438 438 */ 439 function wp_get_ remote_theme_patterns() {439 function wp_get_theme_directory_pattern_slugs() { 440 440 return WP_Theme_JSON_Resolver::get_theme_data( array(), array( 'with_supports' => false ) )->get_patterns(); 441 441 }
Note: See TracChangeset
for help on using the changeset viewer.