[wp-trac] [WordPress Trac] #30815: WP_Filesystem_FTPext::exists() returns false if directory exists but is empty
WordPress Trac
noreply at wordpress.org
Tue Dec 23 11:44:08 UTC 2014
#30815: WP_Filesystem_FTPext::exists() returns false if directory exists but is
empty
----------------------------+------------------
Reporter: Unyson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Filesystem API | Version: 4.1
Severity: critical | Resolution:
Keywords: has-patch | Focuses:
----------------------------+------------------
Changes (by ocean90):
* keywords: => has-patch
* milestone: Awaiting Review => 4.2
Comment:
Noticed the same while testing #30802.
Setup:
{{{
define( 'FS_METHOD', 'ftpext' );
define( 'FTP_HOST', 'develop.wp.dev' );
define( 'FTP_USER', '' );
define( 'FTP_PASS', '' );
define('WP_CONTENT_DIR', '/srv/www/wp-shared/develop-content-empty' );
define('WP_LANG_DIR', '/srv/www/wp-shared/develop-languages-empty' );
}}}
[attachment:30815.patch] checks if $file is an empty directory.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30815#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list