diff --git a/functions.php b/functions.php index 49ac662..02fb36b 100644 --- a/functions.php +++ b/functions.php @@ -6,7 +6,6 @@ $theme_name = next(explode('/themes/', get_template_directory())); include_once('inc/roots-activation.php'); // activation include_once('inc/roots-admin.php'); // admin additions/mods include_once('inc/roots-options.php'); // theme options menu -include_once('inc/roots-ob.php'); // output buffer include_once('inc/roots-cleanup.php'); // code cleanup/removal include_once('inc/roots-htaccess.php'); // h5bp htaccess include_once('inc/roots-hooks.php'); // hooks diff --git a/inc/roots-ob.php b/inc/roots-ob.php deleted file mode 100644 index 5fe1819..0000000 --- a/inc/roots-ob.php +++ /dev/null @@ -1,25 +0,0 @@ -]+?>\s+/', '', $buffer); - return preg_replace('/\n/', '', $temp); - } else { - return $buffer; - } -} - -function roots_buffer_start() { - ob_start('roots_callback'); -} - -function roots_buffer_end() { - ob_end_flush(); -} - -add_action('wp_head', 'roots_buffer_start', -999); -add_action('wp_footer', 'roots_buffer_end'); - -?> \ No newline at end of file