WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#39292 closed defect (bug) (fixed)

WPINC/class-oembed.php typo

Reported by: LewisCowles Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.2
Component: Embeds Keywords: has-patch
Focuses: Cc:

Description

So I'm looking into the core and I stumbled across something

Line 47 $compat_methods has an entry 'get_body'; but the only function matching the signature is '_parse_xml_body' (assuming renamed?)

Attachments (1)

wp-class-oembed.php.patch (593 bytes) - added by LewisCowles 5 years ago.
patch

Download all attachments as: .zip

Change History (3)

#1 @swissspidy
5 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.8
  • Version changed from 4.7 to 4.2

Introduced in [31148]

#2 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 40026:

Embeds: After [31148], list correct method in WP_oEmbed::$compat_methods.

Props LewisCowles.
Fixes #39292.

Note: See TracTickets for help on using tickets.