Changeset 59872 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 02/26/2025 04:59:42 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r59861 r59872 1849 1849 } 1850 1850 1851 $dirpath = $this->get_stylesheet_directory() . '/patterns /';1851 $dirpath = $this->get_stylesheet_directory() . '/patterns'; 1852 1852 $pattern_data = array(); 1853 1853 … … 1858 1858 return $pattern_data; 1859 1859 } 1860 $files = glob( $dirpath . '*.php' ); 1860 1861 $files = (array) self::scandir( $dirpath, 'php', -1 ); 1862 1863 $dirpath = trailingslashit( $dirpath ); 1864 1861 1865 if ( ! $files ) { 1862 1866 if ( $can_use_cached ) {
Note: See TracChangeset
for help on using the changeset viewer.