[wp-trac] [WordPress Trac] #45483: Post edit and Add New Plugin pages have PHP notices in 7.3.

WordPress Trac noreply at wordpress.org
Tue Dec 18 21:59:05 UTC 2018


#45483: Post edit and Add New Plugin pages have PHP notices in 7.3.
---------------------------------------+----------------------
 Reporter:  desrosj                    |       Owner:  desrosj
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  5.0.2
Component:  Administration             |     Version:
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch php73 fixed-5.0  |     Focuses:
---------------------------------------+----------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"44297" 44297]:
 {{{
 #!CommitTicketReference repository="" revision="44297"
 PHP 7.3 Compatibility: Fix compact related notices.

 In PHP 7.3, the `compact()` function has been changed to issue an
 `E_NOTICE` level error if a passed string refers to an unset variable. In
 previous versions of PHP, this notice was silently skipped. This fixes a
 few more instances of unset variables in the WordPress admin.

 The full RFC can be viewed here: https://wiki.php.net/rfc/compact.

 See #44416.

 Merges [44185] into trunk.

 Fixes #45483.
 }}}

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


More information about the wp-trac mailing list