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

WordPress Trac noreply at wordpress.org
Sun Mar 1 07:44:47 UTC 2015


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 A changelog entry should've been added to the `add_settings_field()`
 DocBlock for the new `class` argument.

 In [attachment:28975.diff], I've added a hash notation for the `$args`
 parameter in `add_settings_field()` with descriptions for both the
 `label_for` and new `class` arguments. It also adds the changelog entry
 and fixes the syntax of the other parameter descriptions in the DocBlock.

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


More information about the wp-trac mailing list