forked from mirror/_s
_s: Add closing brackets to avoid fatal error. Props @gatespace for
intial patch. Fixes #355.
This commit is contained in:
parent
65c01414b3
commit
f88204d0a4
|
@ -39,10 +39,10 @@ get_header(); ?>
|
|||
printf( __( 'Day: %s', '_s' ), '<span>' . get_the_date() . '</span>' );
|
||||
|
||||
elseif ( is_month() ) :
|
||||
printf( __( 'Month: %s', '_s' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', '_s' ) . '</span>' );
|
||||
printf( __( 'Month: %s', '_s' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', '_s' ) ) . '</span>' );
|
||||
|
||||
elseif ( is_year() ) :
|
||||
printf( __( 'Year: %s', '_s' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', '_s' ) . '</span>' );
|
||||
printf( __( 'Year: %s', '_s' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', '_s' ) ) . '</span>' );
|
||||
|
||||
elseif ( is_tax( 'post_format', 'post-format-aside' ) ) :
|
||||
_e( 'Asides', '_s' );
|
||||
|
|
Reference in New Issue