[wp-trac] [WordPress Trac] #62907: 6.7 broke accordion styles for themes/plugins using `do_accordion_sections()`

WordPress Trac noreply at wordpress.org
Wed Feb 5 18:12:19 UTC 2025


#62907: 6.7 broke accordion styles for themes/plugins using
`do_accordion_sections()`
--------------------------+-----------------------------
 Reporter:  mboynes       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Core provides [https://core.trac.wordpress.org/browser/tags/6.7.1/src/wp-
 admin/includes/template.php#L1537 a meta box function,
 do_accordion_sections()], which will helpfully render meta boxes for a
 screen as collapsible accordions. WordPress 6.7 removed some CSS classes
 (stemming from #42002, I believe) from `common.css`, and now any plugin or
 theme using `do_accordion_sections()` is rendering partially-styled (but
 still functional) accordions.

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


More information about the wp-trac mailing list