WordPress.org

Make WordPress Core

Changeset 2740


Ignore:
Timestamp:
08/03/05 00:24:13 (9 years ago)
Author:
matt
Message:

Fixes #1370

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2731 r2740  
    15421542    if ($themes_dir) { 
    15431543        while(($theme_dir = $themes_dir->read()) !== false) { 
    1544             if (is_dir($theme_root . '/' . $theme_dir)) { 
     1544            if ( is_dir($theme_root . '/' . $theme_dir) && is_readable($theme_root . '/' . $theme_dir) ) { 
    15451545                if ($theme_dir{0} == '.' || $theme_dir == '..' || $theme_dir == 'CVS') { 
    15461546                    continue; 
Note: See TracChangeset for help on using the changeset viewer.