summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-includes/functions.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-04 09:40:17 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-04 09:40:17 +0000
commitdff2159b9a60ef198230c8ccf4cec127b5fc5a12 (patch)
tree270861ea0148ceb55c4973ef8363ae76de3738a4 /wp-inst/wp-includes/functions.php
parentb7f07ae4d07cf7e6990b85969575e95d892ac86d (diff)
downloadwordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.tar.gz
wordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.tar.xz
wordpress-mu-dff2159b9a60ef198230c8ccf4cec127b5fc5a12.zip
Changes from Core WP. Added tinymce editor and other fixes
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@120 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-includes/functions.php')
-rw-r--r--wp-inst/wp-includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-includes/functions.php b/wp-inst/wp-includes/functions.php
index 3796706..915f1f8 100644
--- a/wp-inst/wp-includes/functions.php
+++ b/wp-inst/wp-includes/functions.php
@@ -1543,7 +1543,7 @@ function get_themes() {
$themes_dir = @ dir($theme_root);
if ($themes_dir) {
while(($theme_dir = $themes_dir->read()) !== false) {
- if (is_dir($theme_root . '/' . $theme_dir)) {
+ if ( is_dir($theme_root . '/' . $theme_dir) && is_readable($theme_root . '/' . $theme_dir) ) {
if ($theme_dir{0} == '.' || $theme_dir == '..' || $theme_dir == 'CVS') {
continue;
}