Use the correct variable name. Props ScottMac. Fixes #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1752cea413
commit
f178115189
@ -634,8 +634,7 @@ function search_theme_directories() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( is_dir( $theme_dir ) )
|
||||
@closedir( $theme_dir );
|
||||
@closedir( $themes_dir );
|
||||
}
|
||||
return $theme_files;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user