Changeset 57675 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 02/21/2024 09:36:18 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r57668 r57675 107 107 $template = get_template(); 108 108 if ( ! isset( $template_paths_norm[ $template ] ) ) { 109 $template_paths_norm[ $template ] = wp_normalize_path( get_template_directory() );109 $template_paths_norm[ $template ] = wp_normalize_path( realpath( get_template_directory() ) ); 110 110 } 111 111 … … 117 117 $stylesheet = get_stylesheet(); 118 118 if ( ! isset( $template_paths_norm[ $stylesheet ] ) ) { 119 $template_paths_norm[ $stylesheet ] = wp_normalize_path( get_stylesheet_directory() );119 $template_paths_norm[ $stylesheet ] = wp_normalize_path( realpath( get_stylesheet_directory() ) ); 120 120 } 121 121
Note: See TracChangeset
for help on using the changeset viewer.