From 8d392d4568599544e926ce5897fc9c55f38476a7 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 19 Mar 2015 00:51:43 +0000 Subject: [PATCH] Press This: check if the URL is to embeddable content on a site that supports oEmbed. Then insert only the URL in the editor. It will trigger a wpView with the embedded content. Fixes #31637. git-svn-id: https://develop.svn.wordpress.org/trunk@31827 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-press-this.php | 41 +++++++++++++++---- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index 369c9006ad..39665dd021 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -778,7 +778,10 @@ class WP_Press_This { - +