Changeset 16340 for trunk/wp-includes/theme.php
- Timestamp:
- 11/13/2010 09:53:55 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/theme.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r16174 r16340 598 598 while ( ($theme_dir = readdir($themes_dir)) !== false ) { 599 599 if ( is_dir($theme_root . '/' . $theme_dir) && is_readable($theme_root . '/' . $theme_dir) ) { 600 if ( $theme_dir {0}== '.' || $theme_dir == 'CVS' )600 if ( $theme_dir[0] == '.' || $theme_dir == 'CVS' ) 601 601 continue; 602 602 … … 621 621 while ( ($theme_subdir = readdir($theme_subdirs)) !== false ) { 622 622 if ( is_dir( $subdir . '/' . $theme_subdir) && is_readable($subdir . '/' . $theme_subdir) ) { 623 if ( $theme_subdir {0}== '.' || $theme_subdir == 'CVS' )623 if ( $theme_subdir[0] == '.' || $theme_subdir == 'CVS' ) 624 624 continue; 625 625
Note: See TracChangeset
for help on using the changeset viewer.