Make WordPress Core

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)

37602.patch (563 bytes ) - added by ivantedja 10 years ago.
fix typo in docs

Download all attachments as: .zip

Change History (4)

@ivantedja
10 years ago

fix typo in docs

#1 @ivantedja
10 years ago

my first contribution, let me know if I need to do something else other than uploading the .patch file

#2 @SergeyBiryukov
10 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Future Release4.7

#3 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 38230:

Embeds: Fix copy/paste error in WP_oEmbed::_add_provider_early() description.

Props ivantedja.
Fixes #37602.

Note: See TracTickets for help on using tickets.