[wp-trac] [WordPress Trac] #20934: class-wp-filesystem-base::search_for_folder returns incorrect path

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 6 16:03:13 UTC 2012


#20934: class-wp-filesystem-base::search_for_folder returns incorrect path
--------------------------+---------------------
 Reporter:  cgastrell     |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.5
Component:  Filesystem    |     Version:  3.3.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------

Comment (by cgastrell):

 Replying to [comment:5 dd32]:
 > In [21221]:
 > {{{
 > #!CommitTicketReference repository="" revision="21221"
 > WP_Filesystem: Correct a rare case where the FTP directory will be
 detected incorrectly when the final path token exists higher in the chain,
 for example /x/x/Z/x/Z/ would be detected as /x/x/Z/. Fixes #20934
 > }}}
 Great news to read, thanks and congrats! Will wait for 3.5, in the
 meantime, is it too much to ask you to paste corrected code here so I can
 do an early implementation of it? Thanks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20934#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list