[wp-trac] [WordPress Trac] #54558: Notice: Undefined index in WordPress 5.9 Beta

WordPress Trac noreply at wordpress.org
Fri Dec 3 15:28:36 UTC 2021


#54558: Notice: Undefined index in WordPress 5.9 Beta
---------------------------------------------+-----------------------
 Reporter:  kafleg                           |       Owner:  audrasjb
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.9
Component:  Editor                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"52312" 52312]:
 {{{
 #!CommitTicketReference repository="" revision="52312"
 Editor: Avoid `undefined index` notices in the Template Parts Editor.

 This changes adds a leading slash when needed in the `?context=edit` path
 to avoid an `undefined index` notice in the Template Parts Editor.

 Follow-up to [52275].

 Props kafleg, costdev, mukesh27, Boniu91.
 Fixes #54558.
 }}}

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


More information about the wp-trac mailing list