From a8e1e8007e9322e0866927a176b5f06674bf90aa Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Sat, 19 Nov 2016 19:43:22 +0200 Subject: [PATCH] escape variables from potential unsecure input --- archive.php | 2 +- author.php | 10 +++++----- footer.php | 2 +- home.php | 2 +- index.php | 2 +- loop-templates/content-card.php | 5 ++++- page-templates/both-sidebarspage.php | 2 +- page-templates/fullwidthpage.php | 2 +- page-templates/left-sidebarpage.php | 2 +- page-templates/vertical-one-page.php | 2 +- page.php | 2 +- search.php | 2 +- sidebar-left.php | 4 ++-- sidebar-right.php | 4 ++-- single.php | 2 +- 15 files changed, 24 insertions(+), 21 deletions(-) diff --git a/archive.php b/archive.php index 4627b7b..f0fa2ab 100644 --- a/archive.php +++ b/archive.php @@ -20,7 +20,7 @@ $sidebar_pos = get_theme_mod('understrap_sidebar_position');
-
+
diff --git a/author.php b/author.php index 670f24b..c943300 100644 --- a/author.php +++ b/author.php @@ -14,7 +14,7 @@
-
+
@@ -29,7 +29,7 @@ $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?> -

nickname; ?>

+

nickname ); ?>

ID ) ) : ?> ID); ?> @@ -38,16 +38,16 @@
user_url ) ) : ?>
-
user_url; ?>
+
user_url ); ?>
user_description ) ) : ?>
-
user_description; ?>
+
user_description ); ?>
-

nickname; ?>:

+

nickname ); ?>:

diff --git a/footer.php b/footer.php index f35533b..bf2b7d5 100644 --- a/footer.php +++ b/footer.php @@ -15,7 +15,7 @@ $container = get_theme_mod('understrap_container_type');