Added proper escaping. Imrpoved security.

This commit is contained in:
Frank419
2024-08-29 15:18:30 +08:00
parent 7a913f5e83
commit 7f3d6330eb
10 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ if ( !defined( 'WPINC' ) ) {
</li>
<li id="archives" class="panel widget">
<h3 class="widget-title"><?php _e( 'Archives', 'minimalistflex' ); ?></h3>
<h3 class="widget-title"><?php esc_html_e( 'Archives', 'minimalistflex' ); ?></h3>
<ul>
<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
</ul>