Changeset 57947 for branches/6.5
- Timestamp:
- 04/09/2024 01:23:21 AM (8 months ago)
- Location:
- branches/6.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/src/wp-includes/block-template-utils.php
r57802 r57947 230 230 } 231 231 $path_list = array(); 232 try{232 if ( is_dir( $base_directory ) ) { 233 233 $nested_files = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $base_directory ) ); 234 234 $nested_html_files = new RegexIterator( $nested_files, '/^.+\.html$/i', RecursiveRegexIterator::GET_MATCH ); … … 236 236 $path_list[] = $path; 237 237 } 238 } catch ( Exception $e ) {239 // Do nothing.240 238 } 241 239 $template_path_list[ $base_directory ] = $path_list;
Note: See TracChangeset
for help on using the changeset viewer.