[wp-trac] [WordPress Trac] #17210: Massive duplication of oEmbed postmeta

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 10 17:45:39 UTC 2012


#17210: Massive duplication of oEmbed postmeta
--------------------------+------------------------------
 Reporter:  archon810     |       Owner:  Viper007Bond
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by wonderboymusic):

 * keywords:   => has-patch


Comment:

 (I may be completely wrong but....)

 Shouldn't this be in the options table and just not autoload? If I post
 the same YouTube video on 19 posts, I should just have one cache entry.
 Seems like _oembed_* as an option or transient would solve this? It seems
 like deleting from the cache is less important than not duplicating.

 Attached example patch.

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


More information about the wp-trac mailing list