mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 08:04:27 +01:00
This changeset avoids potential PHP notices caused by `get_post_type_object()` returning `null` when called inside `is_post_type_archive()`. Props sean212, costdev. Fixes #56287. git-svn-id: https://develop.svn.wordpress.org/trunk@54464 602fd350-edb4-49c9-b593-d223f7449a82