[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:48:33 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:  4.2.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 If the method $wp_filesystem->exists() is called with an empty string and
 FS_METHOD = 'ftpext' then the result is true, I think it is wrong, because
 when FS_METHOD is defined as 'direct' returns false.

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


More information about the wp-trac mailing list