[wp-trac] [WordPress Trac] #33058: $wp_filesystem->exists('') returns a wrong answer (when FS_METHOD='ftpext').

WordPress Trac noreply at wordpress.org
Mon Jan 24 01:17:54 UTC 2022


#33058: $wp_filesystem->exists('') returns a wrong answer (when
FS_METHOD='ftpext').
------------------------------------+---------------------
 Reporter:  Zdrobau                 |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:
Component:  Filesystem API          |     Version:  2.5
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------
Changes (by mkox):

 * keywords:   => has-patch dev-feedback
 * version:   => 2.5


Comment:

 The patch will return false for empty filepath args, so both
 implementations behave equally.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/33058#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list