Skip to content

Commit d2ac400

Browse files
committed
Linting fix
1 parent 00b5895 commit d2ac400

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

themes/osi/inc/template-tags.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
if ( ! function_exists( 'osi_posted_on' ) ) :
1111
/**
1212
* Prints HTML with meta information for the current post-date/time and author.
13+
*
14+
* @param string $format Date format.
1315
*/
1416
function osi_posted_on( $format = '' ) {
1517

1618
$time_string = '<time class="byline--date entry-date published" datetime="%1$s">%2$s</time>';
17-
19+
1820
// Don't display the updated date for blog posts.
1921
if ( 'post' !== get_post_type() ) {
2022
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
@@ -36,7 +38,6 @@ function osi_posted_on( $format = '' ) {
3638
);
3739

3840
echo '<span class="posted-on">' . $posted_on . '</span>'; // phpcs:ignore
39-
4041
}
4142
endif;
4243

0 commit comments

Comments
 (0)