[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 20:15:51 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:  closed
 Priority:  normal             |   Milestone:
Component:  Taxonomy           |     Version:  4.1
 Severity:  normal             |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.2 =>


Comment:

 @ragulka - Thanks for reporting back. On that assumption, I'm going to
 close this ticket. This is the kind of PHP notice that actually does a
 service to the developer, by letting them know that something is wrong
 with their code instead of failing silently.

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


More information about the wp-trac mailing list