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:
parent
b7d25c00e2
commit
345397aafb
@ -880,7 +880,7 @@
|
||||
|
||||
if ( 'link' === type ) {
|
||||
_.defaults( embed, {
|
||||
linkText: embed.linkText,
|
||||
linkText: embed.url,
|
||||
linkUrl: embed.url
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user