[wp-trac] [WordPress Trac] #30556: Modern widgets default wrapper

WordPress Trac noreply at wordpress.org
Sun Nov 30 19:14:32 UTC 2014


#30556: Modern widgets default wrapper
-------------------------+-----------------------------
 Reporter:  LeoPeo       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  template     |
-------------------------+-----------------------------
 Since 2.2.0, widgets are wrapped in `<li></li>` by default.
 In my opinion, they should be wrapped in `<div></div>` even if, during the
 sidebar registration, theme developers should declare how to wrap the
 widgets in the sidebar.

 Twentyten theme is the only default theme using this structure and it's
 declared in functions.php.

 The patch contains this change.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30556>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list