Filesystem API: Check correct variable in `WP_Filesystem_Direct::dirlist()` after [45611].

Props zinigor.
Fixes #47668. See #47632.
Built from https://develop.svn.wordpress.org/trunk@45613


git-svn-id: http://core.svn.wordpress.org/trunk@45424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-07-09 15:58:57 +00:00
parent 4be25f3d06
commit 29e5155969
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45612';
$wp_version = '5.3-alpha-45613';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.