[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
Sun Aug 14 04:33:14 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-requested                              |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  php8 has-patch has-unit-tests => php8 has-patch has-unit-tests
     changes-requested


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


More information about the wp-trac mailing list