Opened 13 months ago
Closed 8 months ago
#20533 closed enhancement (fixed)
Move WP_Embed class to class-wp-embed.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Embeds | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | kpayne@… |
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?