@@ -25,19 +25,19 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | $time_string = sprintf($time_string, |
| 28 | - esc_attr(get_the_date('c')), |
|
| 29 | - esc_html(get_the_date()), |
|
| 30 | - esc_attr(get_the_modified_date('c')), |
|
| 31 | - esc_html(get_the_modified_date()) |
|
| 32 | - ); |
|
| 28 | + esc_attr(get_the_date('c')), |
|
| 29 | + esc_html(get_the_date()), |
|
| 30 | + esc_attr(get_the_modified_date('c')), |
|
| 31 | + esc_html(get_the_modified_date()) |
|
| 32 | + ); |
|
| 33 | 33 | $posted_on = sprintf( |
| 34 | - esc_html_x('Posted on %s', 'post date', 'podium'), |
|
| 35 | - '<a href="' . esc_url(get_permalink()) . '" rel="bookmark">' . $time_string . '</a>' |
|
| 36 | - ); |
|
| 34 | + esc_html_x('Posted on %s', 'post date', 'podium'), |
|
| 35 | + '<a href="' . esc_url(get_permalink()) . '" rel="bookmark">' . $time_string . '</a>' |
|
| 36 | + ); |
|
| 37 | 37 | $byline = sprintf( |
| 38 | - esc_html_x('by %s', 'post author', 'podium'), |
|
| 39 | - '<span class="author vcard"><a class="url fn n" href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '">' . esc_html(get_the_author()) . '</a></span>' |
|
| 40 | - ); |
|
| 38 | + esc_html_x('by %s', 'post author', 'podium'), |
|
| 39 | + '<span class="author vcard"><a class="url fn n" href="' . esc_url(get_author_posts_url(get_the_author_meta('ID'))) . '">' . esc_html(get_the_author()) . '</a></span>' |
|
| 40 | + ); |
|
| 41 | 41 | echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK. |
| 42 | 42 | } |
| 43 | 43 | |