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

props iseulde.
see #32006, #29476.


git-svn-id: https://develop.svn.wordpress.org/trunk@32247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2015-04-21 14:35:40 +00:00
parent b7d25c00e2
commit 345397aafb

View File

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