From 7c4f217ca90d1a39fcd009668c00cb7a99ca1124 Mon Sep 17 00:00:00 2001 From: koenemann Date: Thu, 2 Feb 2017 09:35:37 +0100 Subject: [PATCH] fixing some escaping problems --- footer.php | 4 ++-- global-templates/pagination.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/footer.php b/footer.php index 4414484..067647e 100644 --- a/footer.php +++ b/footer.php @@ -26,9 +26,9 @@ $container = get_theme_mod( 'understrap_container_type' );
| - get( 'Name' ), + get( esc_html__( 'Name' ) ), 'understrap.com' ); ?> - (get( 'Version' ) ); ?>) + (get( esc_html__( 'Version' ) ) ); ?>)
diff --git a/global-templates/pagination.php b/global-templates/pagination.php index 4dc38e2..062a515 100644 --- a/global-templates/pagination.php +++ b/global-templates/pagination.php @@ -82,7 +82,7 @@ function understrap_pagination() { $class = $paged == $max ? ' class="active "' : ' class="page-item"'; printf( '
  • %s
  • ' . "\n", - $class . ' page-item 9', esc_url( get_pagenum_link( esc_html( $max ) ) ), esc_html($max ) ); + $class . ' page-item 9', esc_url( get_pagenum_link( esc_html( $max ) ) ), esc_html( $max ) ); } echo '' . "\n";