Consistent syntax formatting

This commit is contained in:
Scott Walkinshaw
2012-01-15 21:47:33 -05:00
parent eca31bd915
commit 92b1d6d23c
2 changed files with 46 additions and 35 deletions

View File

@@ -218,7 +218,7 @@ function roots_theme_activation_options_validate($input) {
return apply_filters('roots_theme_activation_options_validate', $output, $input, $defaults);
}
function roots_theme_activation_action(){
function roots_theme_activation_action() {
$roots_theme_activation_options = roots_get_theme_activation_options();
if ($roots_theme_activation_options['create_front_page']) {
@@ -295,7 +295,7 @@ function roots_theme_activation_action(){
}
}
if ($roots_theme_activation_options['add_pages_to_primary_navigation']){
if ($roots_theme_activation_options['add_pages_to_primary_navigation']) {
$roots_theme_activation_options['add_pages_to_primary_navigation'] = false;
$primary_nav = wp_get_nav_menu_object('Primary Navigation');
@@ -326,4 +326,4 @@ function roots_deactivation_action() {
add_action('switch_theme', 'roots_deactivation_action');
?>
?>