[wp-trac] [WordPress Trac] #46670: Compact throws notice on PHP7.3 at ajax-actions.php

WordPress Trac noreply at wordpress.org
Wed Mar 27 15:32:18 UTC 2019


#46670: Compact throws notice on PHP7.3 at ajax-actions.php
--------------------------+-----------------------------
 Reporter:  pilou69       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.2
Component:  Taxonomy      |     Version:  5.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  administration
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45034" 45034]:
 {{{
 #!CommitTicketReference repository="" revision="45034"
 Taxonomy: Initialize `$noparents` variable in `wp_ajax_add_tag()` to avoid
 a notice with `compact()` in PHP 7.3.

 Props pilou69.
 Fixes #46670.
 }}}

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


More information about the wp-trac mailing list