[wp-trac] [WordPress Trac] #41138: Add classes to Widgets in widgets.php and customize.php pages

WordPress Trac noreply at wordpress.org
Mon Apr 13 12:44:58 UTC 2020


#41138: Add classes to Widgets in widgets.php and customize.php pages
-------------------------+---------------------------------
 Reporter:  alexvorn2    |       Owner:  audrasjb
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, administration
-------------------------+---------------------------------
Changes (by audrasjb):

 * keywords:   => needs-patch
 * owner:  (none) => audrasjb
 * status:  new => assigned


Comment:

 Hi,

 I think it's always a nice thing to add some classes to elements
 containers. Indeed, it can be used to make things ugly, but that’s the
 same for each part of WordPress admin.

 I believe adding a class that meets the front-end widget class is a best
 practice that should be encouraged everywhere it's possible. Working on a
 patch right now.

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


More information about the wp-trac mailing list