Skip to content

Commit

Permalink
Avoid a PHP notice when adding an embed via Insert from URL.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
helen committed Apr 21, 2015
1 parent 1d1c026 commit efef6f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wp-includes/js/media-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@

if ( 'link' === type ) {
_.defaults( embed, {
linkText: embed.linkText,
linkText: embed.url,
linkUrl: embed.url
});

Expand Down
Loading

0 comments on commit efef6f8

Please sign in to comment.