[wp-trac] [WordPress Trac] #28284: Calling `wp_oembed_add_provider()` before the `plugins_loaded` action shouldn't be allowed

WordPress Trac noreply at wordpress.org
Fri Jun 27 00:09:43 UTC 2014


#28284: Calling `wp_oembed_add_provider()` before the `plugins_loaded` action
shouldn't be allowed
-----------------------------------------------+---------------------------
 Reporter:  johnbillion                        |       Owner:
     Type:  defect (bug)                       |  wonderboymusic
 Priority:  low                                |      Status:  reopened
Component:  Embeds                             |   Milestone:  4.0
 Severity:  major                              |     Version:  2.9
 Keywords:  dev-feedback has-patch needs-docs  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------
Changes (by DrewAPicture):

 * keywords:  dev-feedback has-patch => dev-feedback has-patch needs-docs
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 At the very least, we need basic docblocks on any new functions or
 methods, though the more complete the better. See
 `WP_oEmbed::_add_provider_early()` and
 `WP_oEmbed::_remove_provider_early()`.

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


More information about the wp-trac mailing list