Opened 13 years ago
Closed 12 years ago
#20533 closed enhancement (fixed)
Move WP_Embed class to class-wp-embed.php
Reported by: | ocean90 | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Embeds | Keywords: | has-patch |
Focuses: | Cc: |
Description
The current place is wp-includes/media.php
.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
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?