Skip to content

Commit

Permalink
Pull through parent add_template_vars() in Charcoal theme. Clears $lo…
Browse files Browse the repository at this point in the history
…cale and $charset related errors.
  • Loading branch information
lildude committed Nov 2, 2011
1 parent c9c19e7 commit 9a18afb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions themes/charcoal/theme.php
Expand Up @@ -85,6 +85,8 @@ public function action_init_theme()
*/
public function add_template_vars()
{
parent::add_template_vars();

// Use theme options to set values that can be used directly in the templates
$opts = Options::get_group( __CLASS__ );

Expand Down

0 comments on commit 9a18afb

Please sign in to comment.