mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Use the correct variable name. Props ScottMac. Fixes #13778
git-svn-id: http://svn.automattic.com/wordpress/trunk@15166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d16e3de6e
commit
a0729014b8
@ -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