From 73aca50ff0243207927afd734dd0ef769ce6021a Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Sun, 3 Dec 2017 21:19:48 +0000 Subject: [PATCH] CODING STANDARDS: Fix single/double quotation mark Broken in [42351]. Unprops adamsilverstein. Fixes 42679. Built from https://develop.svn.wordpress.org/trunk@42357 git-svn-id: http://core.svn.wordpress.org/trunk@42186 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/common.js | 20 ++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 7c92850a3a..c9e50d7065 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -1333,11 +1333,11 @@ $document.ready( function() { activate: function() { setPinMenu(); - if ( ! $body.hasClass( "auto-fold" ) ) { - $body.addClass( "auto-fold" ); + if ( ! $body.hasClass( 'auto-fold' ) ) { + $body.addClass( 'auto-fold' ); } - $adminmenu.data( "wp-responsive", 1 ); + $adminmenu.data( 'wp-responsive', 1 ); this.disableSortables(); }, @@ -1374,12 +1374,12 @@ $document.ready( function() { if ( viewportWidth <= 782 ) { if ( ! wpResponsiveActive ) { - $document.trigger( "wp-responsive-activate" ); + $document.trigger( 'wp-responsive-activate' ); wpResponsiveActive = true; } } else { if ( wpResponsiveActive ) { - $document.trigger( "wp-responsive-deactivate" ); + $document.trigger( 'wp-responsive-deactivate' ); wpResponsiveActive = false; } } @@ -1422,7 +1422,7 @@ $document.ready( function() { * @returns {void} */ disableOverlay: function() { - $toolbarPopups.off( "click.wp-responsive" ); + $toolbarPopups.off( 'click.wp-responsive' ); $overlay.hide(); }, @@ -1436,7 +1436,7 @@ $document.ready( function() { disableSortables: function() { if ( $sortables.length ) { try { - $sortables.sortable( "disable" ); + $sortables.sortable( 'disable' ); } catch ( e ) {} } }, @@ -1451,7 +1451,7 @@ $document.ready( function() { enableSortables: function() { if ( $sortables.length ) { try { - $sortables.sortable( "enable" ); + $sortables.sortable( 'enable' ); } catch ( e ) {} } } @@ -1465,7 +1465,7 @@ $document.ready( function() { * @returns {void} */ function aria_button_if_js() { - $( ".aria-button-if-js" ).attr( "role", "button" ); + $( '.aria-button-if-js' ).attr( 'role', 'button' ); } $( document ).ajaxComplete( function() { @@ -1589,7 +1589,7 @@ $document.ready( function() { * @returns {void} */ function triggerEvent() { - $document.trigger( "wp-window-resized" ); + $document.trigger( 'wp-window-resized' ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d8e6ac809..0cbabb4e7f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42356'; +$wp_version = '5.0-alpha-42357'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.