Twenty Fifteen: spacing and code style cleanup. See #30133.
Built from https://develop.svn.wordpress.org/trunk@30045 git-svn-id: http://core.svn.wordpress.org/trunk@30045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d583c5ecfc
commit
f02161b05b
|
@ -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
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
} );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-alpha-30044';
|
||||
$wp_version = '4.1-alpha-30045';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue