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

WordPress Trac noreply at wordpress.org
Tue Jul 26 14:55:00 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:  6.1
Component:  Query                          |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:
-------------------------------------------+-----------------------
Changes (by davidbaumwald):

 * milestone:  Awaiting Review => 6.1


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


More information about the wp-trac mailing list