From d64b796669503ababe5a6d2a740c8dfe1e55b3c1 Mon Sep 17 00:00:00 2001 From: Michael Fields Date: Mon, 31 Dec 2012 16:57:14 -0800 Subject: [PATCH] Escape the value of get_the_title() when printed in an attribute. --- image.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/image.php b/image.php index b513f7db..0591b68a 100644 --- a/image.php +++ b/image.php @@ -7,6 +7,8 @@ */ get_header(); + +remove_filter( 'the_title', 'wptexturize' ); ?>
@@ -21,13 +23,14 @@ get_header();