Added proper escaping.

This commit is contained in:
Frank419
2024-08-29 15:32:47 +08:00
parent c42a057571
commit 82b47c9804
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -17,13 +17,13 @@ if ( !defined( 'WPINC' ) ) {
<?php printf(
/* translators: %s: Post publish time. */
esc_html__( 'Published on %s', 'minimalistflex' ),
get_the_date()
esc_html( get_the_date() )
) ?>
<?php else: ?>
<?php printf(
/* translators: %s: Post last modified time. */
esc_html__( 'Last modified on %s', 'minimalistflex' ),
get_the_modified_date()
esc_html( get_the_modified_date() )
) ?>
<?php endif; ?>
<?php endif; ?>