[wp-trac] [WordPress Trac] #37602: Typo in WP_oEmbed::_add_provider_early() docs

WordPress Trac noreply at wordpress.org
Mon Aug 8 15:37:34 UTC 2016


#37602: Typo in WP_oEmbed::_add_provider_early() docs
--------------------------+----------------------------------------
 Reporter:  swissspidy    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Embeds        |    Version:  4.0
 Severity:  minor         |   Keywords:  needs-patch good-first-bug
  Focuses:  docs          |
--------------------------+----------------------------------------
 Introduced in [29012], the description of the
 `WP_oEmbed::_add_provider_early()` method currently reads:

 > The provider is '''removed''' just-in-time when wp_oembed_add_provider()
 is called before the {@see 'plugins_loaded'} hook.
 >
 > The just-in-time addition is for the benefit of the {@see
 'oembed_providers'} filter.

 Here, ''removed'' should be ''added''. Looks like this was simply copied
 over from the `_remove_provider_early()` method.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37602>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list