- escape functions in templates;

This commit is contained in:
nikitasinelnikov
2019-07-17 16:55:09 +03:00
parent 878bee507d
commit b47a6e2137
18 changed files with 583 additions and 497 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<div class="um-item">
<div class="um-item-link">
<i class="um-icon-ios-paper"></i>
<a href="<?php echo esc_url( get_permalink( $post ) ); ?>"><?php esc_html_e( $post->post_title ); ?></a>
<a href="<?php echo esc_url( get_permalink( $post ) ); ?>"><?php echo esc_html( $post->post_title ); ?></a>
</div>
<?php if ( has_post_thumbnail( $post->ID ) ) {