Fix Codesniffer errors.

This commit is contained in:
Fränk Klein 2015-05-27 19:49:01 +02:00
parent b215eebe1e
commit 175524922c
17 changed files with 59 additions and 32 deletions

View file

@ -38,7 +38,7 @@ if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) :
global $page, $paged;
// Add the blog name
// Add the blog name.
$title .= get_bloginfo( 'name', 'display' );
// Add the blog description for the home/front page.
@ -47,7 +47,7 @@ if ( version_compare( $GLOBALS['wp_version'], '4.1', '<' ) ) :
$title .= " $sep $site_description";
}
// Add a page number if necessary:
// Add a page number if necessary.
if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
$title .= " $sep " . sprintf( esc_html__( 'Page %s', '_s' ), max( $paged, $page ) );
}