[wp-trac] [WordPress Trac] #28746: Add class argument to add_settings_field()

WordPress Trac noreply at wordpress.org
Mon Aug 25 14:32:02 UTC 2014


#28746: Add class argument to add_settings_field()
-----------------------------+---------------------------------------
 Reporter:  euthelup         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration, template
-----------------------------+---------------------------------------

Comment (by euthelup):

 I agree, this could work partially.

 But the label is public, and one could be used more than once. The class
 is hidden for the end-user and can be individual for each field.

 I think we should avoid create some complex jQuery searches when we can
 config a simple class.

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


More information about the wp-trac mailing list