[wp-trac] [WordPress Trac] #33058: $wp_filesystem->exists('') returns a wrong answer (when FS_METHOD='ftpext').
WordPress Trac
noreply at wordpress.org
Tue Jul 21 13:51:23 UTC 2015
#33058: $wp_filesystem->exists('') returns a wrong answer (when
FS_METHOD='ftpext').
----------------------------+------------------------------
Reporter: Zdrobau | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by dd32):
* version: 4.2.2 =>
Comment:
Personally I think calling with an empty string is the incorrect behaviour
here.
FTP is most likely returning that the current directory exists (Since
that's what leaving the parameter off the `ls -la` calls will do)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33058#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list