Please sign in to comment.
WP-r44297: PHP 7.3 Compatibility: Fix compact related notices (#332)
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 https://core.trac.wordpress.org/ticket/44416. Merges https://core.trac.wordpress.org/changeset/44185 into trunk. Fixes https://core.trac.wordpress.org/ticket/45483. Conflicts: src/wp-admin/includes/post.php ---- Merges https://core.trac.wordpress.org/changeset/44297 / WordPress/wordpress-develop@7cda240 to ClassicPress. See #263.
- Loading branch information...
Showing with 8 additions and 1 deletion.