Changeset 62841
- Timestamp:
- 09/17/2026 05:38:46 PM (5 weeks ago)
- Location:
- branches/7.1/wp-includes
- Files:
-
- 2 edited
-
block-template-utils.php (modified) (1 diff)
-
version.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/7.1/wp-includes/block-template-utils.php
r62001 r62841 344 344 foreach ( $themes as $theme_slug => $theme_dir ) { 345 345 $template_base_paths = get_block_theme_folders( $theme_slug ); 346 $file_path = $theme_dir . '/' . $template_base_paths[ $template_type ] . '/' . $slug . '.html'; 347 if ( file_exists( $file_path ) ) { 346 $template_dir = $theme_dir . '/' . $template_base_paths[ $template_type ]; 347 $file_path = $template_dir . '/' . $slug . '.html'; 348 $template_file = realpath( $file_path ); 349 $template_root = realpath( $template_dir ); 350 351 if ( 352 false !== $template_file && 353 false !== $template_root && 354 str_starts_with( 355 wp_normalize_path( $template_file ), 356 trailingslashit( wp_normalize_path( $template_root ) ) 357 ) 358 ) { 348 359 $new_template_item = array( 349 360 'slug' => $slug, 350 'path' => $ file_path,361 'path' => $template_file, 351 362 'theme' => $theme_slug, 352 363 'type' => $template_type, -
branches/7.1/wp-includes/version.php
r62840 r62841 17 17 * @global string $wp_version 18 18 */ 19 $wp_version = '7.1.1-RC1-6366 6';19 $wp_version = '7.1.1-RC1-63667'; 20 20 21 21 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)