[wp-trac] [WordPress Trac] #64406: PHP 8.x TypeError in wp_delete_object_term_relationships() when taxonomy not registered

WordPress Trac noreply at wordpress.org
Fri Dec 12 05:48:32 UTC 2025


#64406: PHP 8.x TypeError in wp_delete_object_term_relationships() when taxonomy
not registered
-------------------------------------------+--------------------------
 Reporter:  owolter                        |       Owner:  westonruter
     Type:  defect (bug)                   |      Status:  reviewing
 Priority:  normal                         |   Milestone:  7.0
Component:  Taxonomy                       |     Version:  6.9
 Severity:  normal                         |  Resolution:
 Keywords:  php8 has-patch has-unit-tests  |     Focuses:
-------------------------------------------+--------------------------

Comment (by westonruter):

 @owolter I've iterated on your patch and added a unit test in this PR:
 https://github.com/WordPress/wordpress-develop/pull/10621

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


More information about the wp-trac mailing list