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

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 22 00:27:53 UTC 2011


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

Comment (by Viper007Bond):

 Replying to [comment:4 archon810]:
 > I will try to reproduce with the default theme and start disabling
 plugins. Should I be looking for query_posts() specifically as a possible
 culprit or can you suggest a few more?

 I'm realizing how that probably wouldn't cause this because as soon as
 `the_post()` is called in your loop, the `$post` variable is re-set to the
 correct value.

 > I must say, if this is indeed the problem, there should probably be a
 catch for preventing this from happening in the core. I.e. it's a possible
 bug.

 That's not really possible as far as I can think. WordPress is just
 dealing with the data you give it and it can't tell that the data you're
 giving is wrong.

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


More information about the wp-trac mailing list