[wp-trac] [WordPress Trac] #58920: Template Parts: Prevent PHP warning when accessing icon by area

WordPress Trac noreply at wordpress.org
Thu Jul 27 09:17:08 UTC 2023


#58920: Template Parts: Prevent PHP warning when accessing icon by area
----------------------------------------------+-----------------------
 Reporter:  aaronrobertshaw                   |       Owner:  audrasjb
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.3
Component:  Editor                            |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch commit  |     Focuses:
----------------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56316" 56316]:
 {{{
 #!CommitTicketReference repository="" revision="56316"
 Editor: Prevent PHP warning when accessing icon by area.

 This changeset prevents an attempt to access an array via a key that
 doesn't exist.
 See https://github.com/WordPress/gutenberg/pull/52961.

 Props aaronrobertshaw, glendaviesnz, mukesh27.
 Fixes #58920.
 }}}

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


More information about the wp-trac mailing list