diff --git a/src/wp-content/themes/twentyfifteen/inc/customizer.php b/src/wp-content/themes/twentyfifteen/inc/customizer.php index 4e4efa544a..3e48551895 100644 --- a/src/wp-content/themes/twentyfifteen/inc/customizer.php +++ b/src/wp-content/themes/twentyfifteen/inc/customizer.php @@ -159,10 +159,10 @@ function twentyfifteen_get_color_scheme() { $color_schemes = twentyfifteen_get_color_schemes(); if ( array_key_exists( $color_scheme_option, $color_schemes ) ) { - return $color_schemes[ $color_scheme_option ]['colors']; - } + return $color_schemes[$color_scheme_option]['colors']; + } - return $color_schemes[ 'default' ]['colors']; + return $color_schemes['default']['colors']; } endif; // twentyfifteen_get_color_scheme diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php index a18a441961..56b89c9323 100644 --- a/src/wp-content/themes/twentyfifteen/inc/template-tags.php +++ b/src/wp-content/themes/twentyfifteen/inc/template-tags.php @@ -24,7 +24,7 @@ function twentyfifteen_paging_nav() { return; } - // Set up paginated links. + // Set up paginated links. $links = paginate_links( array( 'prev_text' => esc_html__( 'Previous', 'twentyfifteen' ), 'next_text' => esc_html__( 'Next', 'twentyfifteen' ), @@ -62,11 +62,11 @@ function twentyfifteen_post_nav() { $prev_class = $next_class = ''; if ( $previous && has_post_thumbnail( $previous->ID ) ) { - $prev_class = " has-post-thumbnail"; + $prev_class = ' has-post-thumbnail'; } if ( $next && has_post_thumbnail( $next->ID ) ) { - $next_class = " has-post-thumbnail"; + $next_class = ' has-post-thumbnail'; } ?> diff --git a/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js b/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js index 52d7f94380..c61ae5e33a 100644 --- a/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js +++ b/src/wp-content/themes/twentyfifteen/js/keyboard-image-navigation.js @@ -15,7 +15,7 @@ url = $( '.nav-next a' ).attr( 'href' ); } - if ( url && ( !$( 'textarea, input' ).is( ':focus' ) ) ) { + if ( url && ( ! $( 'textarea, input' ).is( ':focus' ) ) ) { window.location = url; } } );