[wp-trac] [WordPress Trac] #36437: wp_delete_attachment causes warning

WordPress Trac noreply at wordpress.org
Thu Apr 7 06:24:36 UTC 2016


#36437: wp_delete_attachment causes warning
--------------------------+-----------------------------
 Reporter:  thorbrink     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 wp_delete_attachment assumes that attachments uses category and post_tag
 taxonomies. This causes a warning in wp_delete_object_term_relationships
 when post type attachment is not using category or post_tag taxonomies.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36437>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list