mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-28 02:19:19 +00:00
PHP 7.4 addes a warning when trying access a null/bool/int/float/resource (everything but array, string and object) as if it were an array. This change fixes all of these warnings visible in unit tests. Props jrf. See #47704. Built from https://develop.svn.wordpress.org/trunk@45639 git-svn-id: http://core.svn.wordpress.org/trunk@45450 1a063a9b-81f0-0310-95a4-ce76da25c4cd