[wp-trac] [WordPress Trac] #19643: Allow array for $extra_fields in request_filesystem_credentials

WordPress Trac noreply at wordpress.org
Wed Jul 2 11:38:42 UTC 2025


#19643: Allow array for $extra_fields in request_filesystem_credentials
-------------------------------------------------+-------------------------
 Reporter:  griffinjt                            |       Owner:  dd32
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:
Component:  Filesystem API                       |     Version:  3.0
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch reporter-feedback needs-   |     Focuses:
  test-info changes-requested                    |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing dev-feedback => has-patch reporter-
     feedback needs-test-info changes-requested


Comment:

 Replying to [ticket:19643 griffinjt]:
 > I came across this issue when trying to process a bulk installation of
 plugins with my plugin
 Installation class.

 After [https://core.trac.wordpress.org/ticket/19643#comment:19 the
 comment] of @dd32 I'm wondering
 1. Is this report still valid?
 2. Can we provide a minimal 2-plugin installation sample/use-case code to
 test this behaviour? (also would be nice to at least comment on a
 potential unit-test)
 3. For the last patch, that `create_function` is deprecated, also I don't
 think that a lambda function is ideal in this case where you are actually
 calling the function without the need of `use` or anything like that.

 More work is needed in this report before asking for testing.

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


More information about the wp-trac mailing list