[wp-trac] [WordPress Trac] #37484: Make form in request_filesystem_credentials() in line with WP admin form styling / HTML structure / security

WordPress Trac noreply at wordpress.org
Wed May 14 20:57:14 UTC 2025


#37484: Make form in request_filesystem_credentials() in line with WP admin form
styling / HTML structure / security
-----------------------------------------+---------------------------------
 Reporter:  dashaluna                    |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Upgrade/Install              |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:  ui, administration
-----------------------------------------+---------------------------------
Description changed by sabernhardt:

Old description:

> Currently, the `Connection Information` form output by
> `request_filesystem_credentials()` looks very sad and doesn't reflect the
> admin form HTML structure and style.
>
> This is how it looks: [attachment:"Screen Shot 2016-07-27 at
> 13.41.52.png"]
>
> It would be great if it can be standardised to look like WP admin
> settings UI, i.e. [attachment:"Screen Shot 2016-07-27 at 13.41.23.png"]
>
> While at it, it would be great to secure the form code with escape family
> functions (esc_attr, esc_html and so on).

New description:

 Currently, the Connection Information form output by
 `request_filesystem_credentials()` looks very sad and doesn't reflect the
 admin form HTML structure and style.

 This is how it looks: [attachment:"Screen Shot 2016-07-27 at 13.41.23.png"
 Connection Information admin form]

 It would be great if it can be standardised to look like WP admin settings
 UI, i.e. [attachment:"Screen Shot 2016-07-27 at 13.41.52.png" General
 Settings admin form]

 While at it, it would be great to secure the form code with escape family
 functions (`esc_attr`, `esc_html` and so on).

--

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


More information about the wp-trac mailing list