[wp-trac] [WordPress Trac] #29348: Add classes to form containers on user-edit.php
WordPress Trac
noreply at wordpress.org
Wed Oct 8 14:44:17 UTC 2014
#29348: Add classes to form containers on user-edit.php
-------------------------+---------------------------------
Reporter: jarednova | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.1
Component: Users | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, administration
-------------------------+---------------------------------
Comment (by jarednova):
@pampfelimetten the classes here are added to the <tr> tags -- is there a
specific part you're referring to that I missed?
@oberland and @cais: my reasoning for the `-wrap` suffix was to be 100%
clear that these don't class the fields/inputs themselves, but rather the
entire set. The class should speak for itself rather than rely on always
being attached to a certain element type. While they're on `<tr>`s today,
I can imagine a future when the admin is no longer a table-based layout.
The `-wrap` adds some more characters, but it also removes any possible
confusion about what part of the form these relate to.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29348#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list