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

WordPress Trac noreply at wordpress.org
Mon Jun 29 16:43:53 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:
------------------------------------+--------------------

Comment (by adamsilverstein):

 In [attachment:32781.2.diff]:

 * When can_partial_refresh is false, reset 'walker' and 'fallback_cb' args
 to their default blank string values, instead of unsetting them, avoiding
 PHP notices.
 * Add an explicit check for isset( $args->fallback_cb ), fixing a PHP
 notice in the customizer, because we really should check that variables
 exist before using them, always.

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


More information about the wp-trac mailing list