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`.
This commit is contained in:
Adam Bowen
2011-09-13 12:36:51 -03:00
parent 8b0bd629d4
commit 4d8ac40e68

View File

@@ -26,8 +26,7 @@
</head>
<body <?php if (isset($post)) {
$page_slug = $post->post_name;
body_class($page_slug);
body_class($post->post_name);
} else {
body_class();
}?>>