[wp-trac] [WordPress Trac] #32781: Customizer Menus: Debug Notices

WordPress Trac noreply at wordpress.org
Sun Jun 28 10:13:48 UTC 2015


#32781: Customizer Menus: Debug Notices
------------------------------------+--------------------
 Reporter:  johnjamesjacoby         |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  4.3
Component:  Customize               |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+--------------------
Changes (by adamsilverstein):

 * keywords:   => has-patch dev-feedback


Comment:

 In [attachment:]:
 * Add an explicit check for isset( $args->fallback_cb ), fixing a PHP
 notice in the customizer.

 @johnjamesjacoby - I added the isset check and verified that this corrects
 the notice you were seeing (using your test snippet). I didn't want to
 change the unsset part - concerned that may affect things elsewhere. Also,
 I didn’t address the unset walker argument (or any other potentially
 uncheck variables).

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


More information about the wp-trac mailing list