Fix wrong escaping functions - replacing esc_html() with esc_attr()
This commit is contained in:
parent
66e12804c0
commit
57478f20b1
2
404.php
2
404.php
|
@ -14,7 +14,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="404-wrapper">
|
<div class="wrapper" id="404-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="author-wrapper">
|
<div class="wrapper" id="author-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
<?php if ( ! empty( $curauth->user_url ) ) : ?>
|
<?php if ( ! empty( $curauth->user_url ) ) : ?>
|
||||||
<dt><?php esc_html_e( 'Website', 'understrap' ); ?></dt>
|
<dt><?php esc_html_e( 'Website', 'understrap' ); ?></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<a href="<?php echo esc_html( $curauth->user_url ); ?>"><?php echo esc_html( $curauth->user_url ); ?></a>
|
<a href="<?php echo esc_attr( $curauth->user_url ); ?>"><?php echo esc_html( $curauth->user_url ); ?></a>
|
||||||
</dd>
|
</dd>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-footer">
|
<div class="wrapper" id="wrapper-footer">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>">
|
<div class="<?php echo esc_attr( $container ); ?>">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-index">
|
<div class="wrapper" id="wrapper-index">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="page-wrapper">
|
<div class="wrapper" id="page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="full-width-page-wrapper">
|
<div class="wrapper" id="full-width-page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="page-wrapper">
|
<div class="wrapper" id="page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="page-wrapper">
|
<div class="wrapper" id="page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
2
page.php
2
page.php
|
@ -19,7 +19,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="page-wrapper">
|
<div class="wrapper" id="page-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="search-wrapper">
|
<div class="wrapper" id="search-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-footer-full">
|
<div class="wrapper" id="wrapper-footer-full">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="footer-full-content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="footer-full-content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-static-hero">
|
<div class="wrapper" id="wrapper-static-hero">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="wrapper-static-content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="wrapper-static-content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="single-wrapper">
|
<div class="wrapper" id="single-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
||||||
<div class="wrapper" id="woocommerce-wrapper">
|
<div class="wrapper" id="woocommerce-wrapper">
|
||||||
|
|
||||||
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
|
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
|
|
Reference in New Issue