Fix #302 - Lose EOF ?>

This commit is contained in:
Ben Word
2012-02-27 11:40:01 -07:00
parent c17560be27
commit f5321bc9a0
11 changed files with 10 additions and 32 deletions

View File

@@ -73,6 +73,4 @@ add_action('widgets_init', '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>';
}
?>
}

View File

@@ -37,6 +37,4 @@ function roots_google_analytics() {
}
}
add_action('roots_footer', 'roots_google_analytics');
?>
add_action('roots_footer', 'roots_google_analytics');

View File

@@ -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');

View File

@@ -647,6 +647,4 @@ if (class_exists('RGForms')) {
}
add_filter('gform_submit_button', 'roots_gform_submit_button', 10, 2);
}
?>
}

View File

@@ -7,6 +7,4 @@ define('CONTAINER_CLASSES', 'row');
define('MAIN_CLASSES', 'span8');
define('SIDEBAR_CLASSES', 'span4');
define('FULLWIDTH_CLASSES', 'span12');
define('GOOGLE_ANALYTICS_ID', '');
?>
define('GOOGLE_ANALYTICS_ID', '');

View File

@@ -1,3 +1 @@
<?php
?>

View File

@@ -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'); }

View File

@@ -79,6 +79,4 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) {
return $content;
}
}
?>
}

View File

@@ -57,6 +57,4 @@ function roots_print_scripts() {
$wp_scripts->reset();
return $wp_scripts->done;
}
?>
}

View File

@@ -23,6 +23,4 @@ function add_filters($tags, $function) {
foreach($tags as $tag) {
add_filter($tag, $function);
}
}
?>
}

View File

@@ -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');