[wp-trac] [WordPress Trac] #28055: Twenty Fourteen: undefined index PHP warning when activating the Ephemera widget for first time in the Customizer

WordPress Trac noreply at wordpress.org
Mon Apr 28 19:21:26 UTC 2014


#28055: Twenty Fourteen: undefined index PHP warning when activating the Ephemera
widget for first time in the Customizer
----------------------------------------+------------------------------
 Reporter:  lancewillett                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Bundled Theme               |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------------

Comment (by jartes):

 Here is my proposal. Simply checks if the `'format'` key exists. If not, I
 set the value to `'aside'` which is the default value in the widget
 configuration.

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


More information about the wp-trac mailing list