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

WordPress Trac wp-trac at lists.automattic.com
Tue May 5 13:17:13 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:  enclosures has-patch reporter-feedback  |  
----------------------------------------------------+-----------------------

Comment(by mystyman):

 meta_value = %s wont work because the url wont match exact since the
 meta_value also contains the length and the type appended to it separated
 by newlines. An example meta_value:


 {{{
 http://podcasts.example.com/some.mp3
 3133986
 audio/mpeg

 }}}

 And since we don't know the length and mine type at this point in the code
 we can't match them, hence the LIKE

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


More information about the wp-trac mailing list