[wp-trac] [WordPress Trac] #20533: Move WP_Embed class to class-wp-embed.php

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 2 18:27:33 UTC 2012


#20533: Move WP_Embed class to class-wp-embed.php
-------------------------+------------------
 Reporter:  ocean90      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  Embeds       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by kurtpayne):

 * cc: kpayne@… (added)


Comment:

 So the memory miser in me says:  WP_Embed is referenced in ajax-
 actions.php and media.php.  It should only be require'd in those files.

 But the back compat guy in me says:  Removing a global variable / class
 will break plugins and themes.

 This change seems innocuous ... is it just for organization?

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


More information about the wp-trac mailing list