mirror of
https://ghproxy.net/https://github.com/AlxMedia/minimer.git
synced 2025-08-26 15:13:32 +08:00
Escape profile
This commit is contained in:
parent
43b75f6464
commit
4ff88f7409
1 changed files with 3 additions and 3 deletions
|
@ -17,14 +17,14 @@
|
|||
<div id="profile-image">
|
||||
<div class="profile-skew"><div class="profile-skew-inner"></div></div>
|
||||
<div class="profile-skew-bottom"><div class="profile-skew-inner-bottom"></div></div>
|
||||
<img src="<?php echo get_theme_mod('profile-image'); ?>" alt="" />
|
||||
<img src="<?php echo esc_html( get_theme_mod('profile-image') ); ?>" alt="" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ( get_theme_mod('profile-name') ): ?>
|
||||
<div id="profile-name"><?php echo get_theme_mod('profile-name'); ?></div>
|
||||
<div id="profile-name"><?php echo esc_html( get_theme_mod('profile-name') ); ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if ( get_theme_mod('profile-description') ): ?>
|
||||
<div id="profile-description"><?php echo get_theme_mod('profile-description'); ?></div>
|
||||
<div id="profile-description"><?php echo wp_kses_post( get_theme_mod('profile-description') ); ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue