[wp-trac] [WordPress Trac] #44416: `compact()` will throw notice for undefined variables in PHP 7.3

WordPress Trac noreply at wordpress.org
Wed Oct 24 16:33:42 UTC 2018


#44416: `compact()` will throw notice for undefined variables in PHP 7.3
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.0
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing php73        |     Focuses:
  fixed-5.0                                      |
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * keywords:  has-patch needs-testing php73 => has-patch needs-testing php73
     fixed-5.0
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Thanks @desrosj. I used your simple patch as it included the least amount
 of code being changed to fix this problem.

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


More information about the wp-trac mailing list