Opened 10 years ago
Closed 10 years ago
#37602 closed defect (bug) (fixed)
Typo in WP_oEmbed::_add_provider_early() docs
| Reported by: | swissspidy | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Embeds | Version: | 4.0 |
| Severity: | minor | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
Description
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.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
fix typo in docs