Minor naming tweak

This commit is contained in:
Scott Walkinshaw
2012-09-20 15:18:11 -06:00
parent 588ea8afa3
commit a7ab3e0307

View File

@@ -1,5 +1,4 @@
<?php
/**
* Determines whether or not to display the sidebar based on an array of conditional tags or page templates.
*
@@ -35,13 +34,12 @@ class Roots_Sidebar {
}
private function check_conditional_tag($conditional_tag) {
$function = "is_$conditional_tag";
return $function();
$conditional_tag_function = "is_$conditional_tag";
return $conditional_tag_function();
}
private function check_page_template($page_template) {
return is_page_template($page_template . self::EXTENSION);
}
}
?>