Make WordPress Core

Ticket #13778: theme.php.diff

File theme.php.diff, 338 bytes (added by ScottMac, 15 years ago)
  • wp-includes/theme.php

     
    598598                                }
    599599                        }
    600600                }
    601                 if ( is_dir( $theme_dir ) )
    602                         @closedir( $theme_dir );
     601                @closedir( $themes_dir );
    603602        }
    604603        return $theme_files;
    605604}