[wp-trac] [WordPress Trac] #28975: Improve do_settings_fields() by including field ID on <tr> table row

WordPress Trac noreply at wordpress.org
Thu Feb 26 19:58:54 UTC 2015


#28975: Improve do_settings_fields() by including field ID on <tr> table row
----------------------------+---------------------------------
 Reporter:  Jonnyauk        |       Owner:  helen
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Administration  |     Version:  4.0
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  ui, administration
----------------------------+---------------------------------
Changes (by helen):

 * owner:   => helen
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31560"]:
 {{{
 #!CommitTicketReference repository="" revision="31560"
 Settings API: Allow passing a class to `add_settings_field()` via the
 `$args` array.

 While it's possible to target the wrapper element otherwise (currently a
 `tr`), this deficiency is made especially noticeable when custom code
 cannot take advantage of what core is doing, such as with avatars in
 #30168.

 props valendesigns.
 fixes #28975. see #30168.
 }}}

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


More information about the wp-trac mailing list