[wp-trac] [WordPress Trac] #30879: wp_delete_object_term_relationships triggers PHP warning when object has no terms in taxonomy

WordPress Trac noreply at wordpress.org
Thu Jan 29 19:54:07 UTC 2015


#30879: wp_delete_object_term_relationships triggers PHP warning when object has no
terms in taxonomy
-------------------------------+------------------
 Reporter:  ragulka            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Taxonomy           |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------

Comment (by ragulka):

 boonebgorges, I think you're right. I don't have the environment where I
 encountered this available, but I think I might have called the function
 before `init`, which means that my custom taxonomy wasn't registered yet.

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


More information about the wp-trac mailing list