mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
TinyMCE: small cleanup for stripping of tags from pasted URLs. See #31158.
Built from https://develop.svn.wordpress.org/trunk@31819 git-svn-id: http://core.svn.wordpress.org/trunk@31801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4303ea5379
commit
aa9e920e57
@ -194,7 +194,7 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
|
||||
}
|
||||
} );
|
||||
|
||||
if ( node.nodeName !== 'P' || trim( node.textContent ) || trim( node.innerText ) ) {
|
||||
if ( node.nodeName !== 'P' || trim( node.textContent || node.innerText ) ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta1-31818';
|
||||
$wp_version = '4.2-beta1-31819';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user