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:
Andrew Ozz 2015-03-18 20:53:27 +00:00
parent 4303ea5379
commit aa9e920e57
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.