[wp-trac] Re: [WordPress Trac] #6840: Stale enclosures are not removed if post is edited.

WordPress Trac wp-trac at lists.automattic.com
Mon May 11 20:56:04 GMT 2009


#6840: Stale enclosures are not removed if post is edited.
------------------------------------------------------------+---------------
 Reporter:  my_user_name_was_not_valid                      |        Owner:  anonymous
     Type:  defect (bug)                                    |       Status:  reopened 
 Priority:  normal                                          |    Milestone:  2.8      
Component:  Feeds                                           |      Version:  2.5      
 Severity:  normal                                          |   Resolution:           
 Keywords:  2nd-opinion has-patch needs-testing enclosures  |  
------------------------------------------------------------+---------------

Comment(by mystyman):

 Replying to [comment:13 Denis-de-Bernardy]:
 > could this code not be placed over at in wp_update_post or something
 like that?

 I can't figure out how to put this functionality in wp_update_post without
 some major re-factoring of how enclosures are handled. Plus it makes since
 (to me at least) to do all the enclosure stuff in the do_enclose function.
 Is there a specific reason why you don't like it where it is, or a
 specific place where you think it would be better placed?

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


More information about the wp-trac mailing list