Fix #302 - Lose EOF ?>
This commit is contained in:
@@ -73,6 +73,4 @@ add_action('widgets_init', 'roots_register_sidebars');
|
|||||||
function roots_entry_meta() {
|
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 '<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>';
|
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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -37,6 +37,4 @@ function roots_google_analytics() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('roots_footer', 'roots_google_analytics');
|
add_action('roots_footer', 'roots_google_analytics');
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -319,6 +319,4 @@ function roots_deactivation_action() {
|
|||||||
update_option('roots_theme_activation_options', roots_get_default_theme_activation_options());
|
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');
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -647,6 +647,4 @@ if (class_exists('RGForms')) {
|
|||||||
}
|
}
|
||||||
add_filter('gform_submit_button', 'roots_gform_submit_button', 10, 2);
|
add_filter('gform_submit_button', 'roots_gform_submit_button', 10, 2);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -7,6 +7,4 @@ define('CONTAINER_CLASSES', 'row');
|
|||||||
define('MAIN_CLASSES', 'span8');
|
define('MAIN_CLASSES', 'span8');
|
||||||
define('SIDEBAR_CLASSES', 'span4');
|
define('SIDEBAR_CLASSES', 'span4');
|
||||||
define('FULLWIDTH_CLASSES', 'span12');
|
define('FULLWIDTH_CLASSES', 'span12');
|
||||||
define('GOOGLE_ANALYTICS_ID', '');
|
define('GOOGLE_ANALYTICS_ID', '');
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -1,3 +1 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -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_before() { do_action('roots_footer_before'); }
|
||||||
function roots_footer_inside() { do_action('roots_footer_inside'); }
|
function roots_footer_inside() { do_action('roots_footer_inside'); }
|
||||||
function roots_footer_after() { do_action('roots_footer_after'); }
|
function roots_footer_after() { do_action('roots_footer_after'); }
|
||||||
function roots_footer() { do_action('roots_footer'); }
|
function roots_footer() { do_action('roots_footer'); }
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -79,6 +79,4 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) {
|
|||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -57,6 +57,4 @@ function roots_print_scripts() {
|
|||||||
|
|
||||||
$wp_scripts->reset();
|
$wp_scripts->reset();
|
||||||
return $wp_scripts->done;
|
return $wp_scripts->done;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -23,6 +23,4 @@ function add_filters($tags, $function) {
|
|||||||
foreach($tags as $tag) {
|
foreach($tags as $tag) {
|
||||||
add_filter($tag, $function);
|
add_filter($tag, $function);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
@@ -131,6 +131,4 @@ function roots_widget_init() {
|
|||||||
register_widget('Roots_Vcard_Widget');
|
register_widget('Roots_Vcard_Widget');
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('widgets_init', 'roots_widget_init');
|
add_action('widgets_init', 'roots_widget_init');
|
||||||
|
|
||||||
?>
|
|
||||||
Reference in New Issue
Block a user