[wp-trac] [WordPress Trac] #21323: wp_delete_attachment (leaves stale image class wp-image-### in content of post).

WordPress Trac noreply at wordpress.org
Sun Jun 9 03:12:52 UTC 2013


#21323: wp_delete_attachment (leaves stale image class wp-image-### in content of
post).
--------------------------+------------------------------
 Reporter:  eliddon       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.4.1
 Severity:  trivial       |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => close


Comment:

 Removing old image references in all posts can be a non-trivial task on
 large sites, and it's not really a job for `wp_delete_attachment()`. If
 necessary, it should be done in the same script that calls it. Suggest
 wontfix.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21323#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list