[wp-trac] [WordPress Trac] #26598: Broken methods in WP_Filesystem_Direct and WP_Filesystem_SSH2

WordPress Trac noreply at wordpress.org
Mon Feb 24 23:49:02 UTC 2014


#26598: Broken methods in WP_Filesystem_Direct and WP_Filesystem_SSH2
-------------------------------------+------------------
 Reporter:  DavidAnderson            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.9
Component:  Filesystem API           |     Version:  2.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------

Comment (by DavidAnderson):

 Hi,

 I've attached an updated patch.

 It should be entirely equivalent, as I think there's no way for the
 results of dec2oct to exceed 6 characters. But, if perhaps there is, then
 using substr(, -3) instead will have it covered.

 David

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


More information about the wp-trac mailing list