Avoid a PHP notice when adding an embed via Insert from URL.

props iseulde.
see #32006, #29476.

Built from https://develop.svn.wordpress.org/trunk@32247


git-svn-id: http://core.svn.wordpress.org/trunk@32218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-04-21 14:36:25 +00:00
parent 1d1c026e8e
commit efef6f8b79
3 changed files with 3 additions and 3 deletions

View File

@ -880,7 +880,7 @@
if ( 'link' === type ) {
_.defaults( embed, {
linkText: embed.linkText,
linkText: embed.url,
linkUrl: embed.url
});

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-RC2-32246';
$wp_version = '4.2-RC2-32247';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.