diff --git a/themes/osi/inc/template-tags.php b/themes/osi/inc/template-tags.php index c1369b9..b5a2825 100755 --- a/themes/osi/inc/template-tags.php +++ b/themes/osi/inc/template-tags.php @@ -33,10 +33,7 @@ function osi_posted_on( string $format = '' ) { esc_html( get_the_modified_date( $format ) ) ); - $posted_on = sprintf( - /* translators: %s: post date. */ - '' . $time_string . '' - ); + $posted_on = '' . $time_string . ''; echo '' . $posted_on . ''; // phpcs:ignore } diff --git a/themes/osi/index.php b/themes/osi/index.php index bf1e0e5..8e5529e 100755 --- a/themes/osi/index.php +++ b/themes/osi/index.php @@ -12,6 +12,8 @@ * @package osi */ +defined( 'ABSPATH' ) || exit; + get_header(); ?>