We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bed4c5 + 1c945a9 commit bb88ef2Copy full SHA for bb88ef2
2 files changed
themes/osi/inc/template-tags.php
@@ -33,10 +33,7 @@ function osi_posted_on( string $format = '' ) {
33
esc_html( get_the_modified_date( $format ) )
34
);
35
36
- $posted_on = sprintf(
37
- /* translators: %s: post date. */
38
- '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'
39
- );
+ $posted_on = '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>';
40
41
echo '<span class="posted-on">' . $posted_on . '</span>'; // phpcs:ignore
42
}
themes/osi/index.php
@@ -12,6 +12,8 @@
12
* @package osi
13
*/
14
15
+defined( 'ABSPATH' ) || exit;
16
+
17
get_header(); ?>
18
19
<section class="content <?php echo ( osi_display_sidebar() ? 'has_sidebar' : 'has_no_sidebar' ); ?>" id="content">
0 commit comments