diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php index 4226e8163e..2efb890305 100644 --- a/wp-includes/class-wp-oembed.php +++ b/wp-includes/class-wp-oembed.php @@ -102,6 +102,7 @@ class WP_oEmbed { '#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ), '#https?://some\.ly\/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ), '#https?://(www\.)?tiktok\.com/.*/video/.*#i' => array( 'https://www.tiktok.com/oembed', true ), + '#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -179,6 +180,7 @@ class WP_oEmbed { * | Someecards | some.ly | 4.9.0 | * | Crowdsignal | survey.fm | 5.1.0 | * | TikTok | tiktok.com | 5.4.0 | + * | Pinterest | pinterest.com | 5.9.0 | * * No longer supported providers: * diff --git a/wp-includes/version.php b/wp-includes/version.php index 38d76c3b51..4397a6d2e8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51820'; +$wp_version = '5.9-alpha-51821'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.