mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-15 03:51:43 +01:00
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:
parent
1d1c026e8e
commit
efef6f8b79
@ -880,7 +880,7 @@
|
|||||||
|
|
||||||
if ( 'link' === type ) {
|
if ( 'link' === type ) {
|
||||||
_.defaults( embed, {
|
_.defaults( embed, {
|
||||||
linkText: embed.linkText,
|
linkText: embed.url,
|
||||||
linkUrl: embed.url
|
linkUrl: embed.url
|
||||||
});
|
});
|
||||||
|
|
||||||
|
2
wp-includes/js/media-editor.min.js
vendored
2
wp-includes/js/media-editor.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user