[wp-trac] [WordPress Trac] #65409: Filesystem: Update constructor parameter default value to an empty array

WordPress Trac noreply at wordpress.org
Thu Jun 4 12:57:38 UTC 2026


#65409: Filesystem: Update constructor parameter default value to an empty array
----------------------------+-----------------------------
 Reporter:  Soean           |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:
 Severity:  normal          |   Keywords:  has-patch
  Focuses:                  |
----------------------------+-----------------------------
 The constructor parameters of the `WP_Filesystem_FTPext`and
 `WP_Filesystem_SSH2` classes should be an `array` not an empty `string`
 (`''`). We also should improve the doc block.

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


More information about the wp-trac mailing list