[wp-trac] [WordPress Trac] #37827: Some classes still need to be moved into their own file

WordPress Trac noreply at wordpress.org
Fri Aug 26 09:48:33 UTC 2016


#37827: Some classes still need to be moved into their own file
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"38361"]:
 {{{
 #!CommitTicketReference repository="" revision="38361"
 OEmbed: move `_wp_oembed_get_object()` to `embed.php`, where all of the
 other embed functions live. `WP_oEmbed` is then in a file by itself. Load
 `class-oembed.php` in `wp-settings.php` and remove extraneous include
 calls.

 See #37827.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37827#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list