[wp-trac] [WordPress Trac] #54905: PHP notice while accessing Customizer

WordPress Trac noreply at wordpress.org
Wed Mar 9 20:06:22 UTC 2022


#54905: PHP notice while accessing Customizer
-------------------------------------------------+-------------------------
 Reporter:  Boniu91                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.9.2
Component:  Customize                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info has-screenshots                   |
-------------------------------------------------+-------------------------
Changes (by ironprogrammer):

 * keywords:  has-patch needs-testing has-testing-info => has-patch needs-
     testing has-testing-info has-screenshots


Comment:

 Adding screenshots that help clarify when these notices would appear. When
 the menus in question aren't enabled, their underlying markup is still
 emitted to the page, which triggers the notices.

 === Screenshots
  [[Image(https://cldup.com/dDsgVHq1mk.png, 30%)]]
  ''Classic theme active, with Menus and Widgets support.''

  [[Image(https://cldup.com/FvnX8gxkah.png, 30%)]]
  ''Block theme active (or classic theme w/o Menus and/or Widgets support),
 which triggers notice(s).''

  [[Image(https://cldup.com/E2f4skQfQR.png, 50%)]]
  ''Example DOM footprint of a disabled `customize-action` with PHP notice
 (no Customizer widgets support).''

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


More information about the wp-trac mailing list