From 6381e168b76e80495437485112aabbdb70c43093 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 12 Nov 2015 12:04:27 +0000 Subject: [PATCH] Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files. Props francoisb. Fixes #34658. Built from https://develop.svn.wordpress.org/trunk@35627 git-svn-id: http://core.svn.wordpress.org/trunk@35591 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/editor-expand.js | 2 +- wp-admin/js/revisions.js | 2 +- wp-includes/js/tinymce/plugins/wpeditimage/plugin.js | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/js/editor-expand.js b/wp-admin/js/editor-expand.js index 4d76717309..3a744fe505 100644 --- a/wp-admin/js/editor-expand.js +++ b/wp-admin/js/editor-expand.js @@ -1184,7 +1184,7 @@ $document.on( 'dfw-on.focus', mceBind ).on( 'dfw-off.focus', mceUnbind ); // Make sure the body focuses when clicking outside it. - editor.on( 'click', function( event ) { + editor.on( 'click', function( event ) { if ( event.target === editor.getDoc().documentElement ) { editor.focus(); } diff --git a/wp-admin/js/revisions.js b/wp-admin/js/revisions.js index 19793c353a..1d7437c71a 100644 --- a/wp-admin/js/revisions.js +++ b/wp-admin/js/revisions.js @@ -24,7 +24,7 @@ window.wp = window.wp || {}; * wp.revisions.log * * A debugging utility for revisions. Works only when a - * debug flag is on and the browser supports it. + * debug flag is on and the browser supports it. */ revisions.log = function() { if ( window.console && revisions.debug ) { diff --git a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js index 12a4986cc0..a18401e5cf 100644 --- a/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js +++ b/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js @@ -37,7 +37,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) { tooltip: tooltip, icon: 'dashicon dashicons-align-' + direction, cmd: 'alignnone' === name ? 'wpAlignNone' : 'Justify' + direction.slice( 0, 1 ).toUpperCase() + direction.slice( 1 ), - onPostRender: function() { + onPostRender: function() { var self = this; editor.on( 'NodeChange', function( event ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 8077a51d37..db31ae64c6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta4-35626'; +$wp_version = '4.4-beta4-35627'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.