From 40ebc2784fbb71f5e43c4c811263009902b1506f Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 19 Mar 2015 00:52:26 +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. Built from https://develop.svn.wordpress.org/trunk@31827 git-svn-id: http://core.svn.wordpress.org/trunk@31809 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-press-this.php | 41 ++++++++++++++++++----- wp-includes/version.php | 2 +- 2 files changed, 33 insertions(+), 10 deletions(-) diff --git a/wp-admin/includes/class-wp-press-this.php b/wp-admin/includes/class-wp-press-this.php index 369c9006ad..39665dd021 100644 --- a/wp-admin/includes/class-wp-press-this.php +++ b/wp-admin/includes/class-wp-press-this.php @@ -778,7 +778,10 @@ class WP_Press_This { - +