mirror of
git://develop.git.wordpress.org/
synced 2025-02-15 04:04:42 +01:00
This avoids an error on PHP 8 caused by calling `get_resource_type()` on a string. See #50913. git-svn-id: https://develop.svn.wordpress.org/trunk@49015 602fd350-edb4-49c9-b593-d223f7449a82