mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
Filesystem API: Check correct variable in WP_Filesystem_Direct::dirlist()
after [45611].
Props zinigor. Fixes #47668. See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45613 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
acf6cabe24
commit
40d9fdf1f9
@ -564,7 +564,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
|
||||
$limit_file = false;
|
||||
}
|
||||
|
||||
if ( ! $this->is_dir( $path ) || ! $this->is_readable( $dir ) ) {
|
||||
if ( ! $this->is_dir( $path ) || ! $this->is_readable( $path ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user