Skip to content

Commit

Permalink
Fix roots#302 - Lose EOF ?>
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs committed Feb 27, 2012
1 parent c17560b commit f5321bc
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 32 deletions.
4 changes: 1 addition & 3 deletions functions.php
Expand Up @@ -73,6 +73,4 @@ function roots_register_sidebars() {
function roots_entry_meta() {
echo '<time class="updated" datetime="'. get_the_time('c') .'" pubdate>'. sprintf(__('Posted on %s at %s.', 'roots'), get_the_date(), get_the_time()) .'</time>';
echo '<p class="byline author vcard">'. __('Written by', 'roots') .' <a href="'. get_author_posts_url(get_the_author_meta('id')) .'" rel="author" class="fn">'. get_the_author() .'</a></p>';
}

?>
}
4 changes: 1 addition & 3 deletions inc/roots-actions.php
Expand Up @@ -37,6 +37,4 @@ function roots_google_analytics() {
}
}

add_action('roots_footer', 'roots_google_analytics');

?>
add_action('roots_footer', 'roots_google_analytics');
4 changes: 1 addition & 3 deletions inc/roots-activation.php
Expand Up @@ -319,6 +319,4 @@ function roots_deactivation_action() {
update_option('roots_theme_activation_options', roots_get_default_theme_activation_options());
}

add_action('switch_theme', 'roots_deactivation_action');

?>
add_action('switch_theme', 'roots_deactivation_action');
4 changes: 1 addition & 3 deletions inc/roots-cleanup.php
Expand Up @@ -647,6 +647,4 @@ function roots_gform_submit_button($button, $form) {
}
add_filter('gform_submit_button', 'roots_gform_submit_button', 10, 2);

}

?>
}
4 changes: 1 addition & 3 deletions inc/roots-config.php
Expand Up @@ -7,6 +7,4 @@
define('MAIN_CLASSES', 'span8');
define('SIDEBAR_CLASSES', 'span4');
define('FULLWIDTH_CLASSES', 'span12');
define('GOOGLE_ANALYTICS_ID', '');

?>
define('GOOGLE_ANALYTICS_ID', '');
2 changes: 0 additions & 2 deletions inc/roots-custom.php
@@ -1,3 +1 @@
<?php

?>
4 changes: 1 addition & 3 deletions inc/roots-hooks.php
Expand Up @@ -29,6 +29,4 @@ function roots_sidebar_after() { do_action('roots_sidebar_after'); }
function roots_footer_before() { do_action('roots_footer_before'); }
function roots_footer_inside() { do_action('roots_footer_inside'); }
function roots_footer_after() { do_action('roots_footer_after'); }
function roots_footer() { do_action('roots_footer'); }

?>
function roots_footer() { do_action('roots_footer'); }
4 changes: 1 addition & 3 deletions inc/roots-htaccess.php
Expand Up @@ -79,6 +79,4 @@ function roots_add_h5bp_htaccess($content) {
return $content;
}

}

?>
}
4 changes: 1 addition & 3 deletions inc/roots-scripts.php
Expand Up @@ -57,6 +57,4 @@ function roots_print_scripts() {

$wp_scripts->reset();
return $wp_scripts->done;
}

?>
}
4 changes: 1 addition & 3 deletions inc/roots-utils.php
Expand Up @@ -23,6 +23,4 @@ function add_filters($tags, $function) {
foreach($tags as $tag) {
add_filter($tag, $function);
}
}

?>
}
4 changes: 1 addition & 3 deletions inc/roots-widgets.php
Expand Up @@ -131,6 +131,4 @@ function roots_widget_init() {
register_widget('Roots_Vcard_Widget');
}

add_action('widgets_init', 'roots_widget_init');

?>
add_action('widgets_init', 'roots_widget_init');

0 comments on commit f5321bc

Please sign in to comment.