Make WordPress Core

Changeset 32247


Ignore:
Timestamp:
04/21/2015 02:35:40 PM (9 years ago)
Author:
helen
Message:

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

props iseulde.
see #32006, #29476.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-editor.js

    r32055 r32247  
    881881                if ( 'link' === type ) {
    882882                    _.defaults( embed, {
    883                         linkText: embed.linkText,
     883                        linkText: embed.url,
    884884                        linkUrl: embed.url
    885885                    });
Note: See TracChangeset for help on using the changeset viewer.