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

WordPress Trac noreply at wordpress.org
Mon Dec 3 18:41:14 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:  php73 needs-patch  |     Focuses:
-------------------------------+-----------------------------
Changes (by desrosj):

 * keywords:  php73 fixed-5.0 has-patch => php73 needs-patch


Comment:

 Found a new instance of this being an issue in Core. It's possible that
 several variables in `wp_edit_posts_query()` are not set prior to calling
 `compact()`.

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


More information about the wp-trac mailing list