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:
parent
4be25f3d06
commit
29e5155969
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue