[wp-trac] [WordPress Trac] #56287: Handle PHP Notice when get_post_type_object() returns null in is_post_type_archive() (was: Handle PHP Notice when get_post_type_object() returns null)

WordPress Trac noreply at wordpress.org
Tue Jul 26 14:43:51 UTC 2022


#56287: Handle PHP Notice when get_post_type_object() returns null in
is_post_type_archive()
--------------------------+------------------------------
 Reporter:  sean212       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  php8          |     Focuses:
--------------------------+------------------------------

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


More information about the wp-trac mailing list