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
This commit is contained in:
Aaron Jorbin 2017-12-03 21:19:48 +00:00
parent 12c03d7aa8
commit 73aca50ff0
2 changed files with 11 additions and 11 deletions

View File

@ -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' );
}
/**

View File

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