mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 09:25:45 +08:00
Escape profile
This commit is contained in:
parent
aa8f6d24c9
commit
2e0d2c4a34
1 changed files with 3 additions and 3 deletions
|
@ -98,13 +98,13 @@
|
|||
<div id="profile" class="pad group">
|
||||
<div id="profile-inner">
|
||||
<?php if ( get_theme_mod('profile-image') ): ?>
|
||||
<div id="profile-image"><img src="<?php echo get_theme_mod('profile-image'); ?>" alt="" /></div>
|
||||
<div id="profile-image"><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>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue