Used wp_filter_post_kses instead of the raw wp_kses_data.

This commit is contained in:
Frank419 2024-08-27 18:01:02 +08:00
parent e4ca6753ec
commit 57bf359242

View File

@ -69,7 +69,7 @@ if( is_home() ) {
<div class="footer-credits">
<?php $footer_type = get_theme_mod( 'minimalistflex_footer_type', 'both' ); ?>
<?php if ( $footer_type == 'both' || $footer_type == 'custom' ): ?>
<?php echo wp_kses_data( get_theme_mod( 'minimalistflex_footer_text' ) ) ?>
<?php echo wp_filter_post_kses( get_theme_mod( 'minimalistflex_footer_text' ) ) ?>
<?php endif; ?>
<?php if ( $footer_type == 'both' || $footer_type == 'minimalistflex' ): ?>
<?php