From 4d8ac40e68919864dd7b94a0dfa89311c95820af Mon Sep 17 00:00:00 2001 From: Adam Bowen Date: Tue, 13 Sep 2011 12:36:51 -0300 Subject: [PATCH] Removes needless assignment of `$page_slug = $post->post_name` Removing this assignment, since `$page_slug` is unused elsewhere in the theme, and there is no need to obfuscate what we are passing to `body_class`. --- header.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/header.php b/header.php index e22e881..11897a2 100644 --- a/header.php +++ b/header.php @@ -26,8 +26,7 @@ post_name; - body_class($page_slug); + body_class($post->post_name); } else { body_class(); }?>>