', "\n";
}
}
diff --git a/inc/roots-cleanup.php b/inc/roots-cleanup.php
index 434802d..7ef94b7 100644
--- a/inc/roots-cleanup.php
+++ b/inc/roots-cleanup.php
@@ -152,8 +152,8 @@ add_filter('the_generator', 'roots_no_generator');
// cleanup wp_head
function roots_noindex() {
- if ('0' == get_option('blog_public'))
- echo "
\n";
+ if (get_option('blog_public') === '0')
+ echo '
', "\n";
}
function roots_rel_canonical() {
@@ -163,7 +163,7 @@ function roots_rel_canonical() {
if (!$id = $wp_the_query->get_queried_object_id())
return;
$link = get_permalink($id);
- echo "
\n";
+ echo "\t
\n";
}
// remove CSS from recent comments widget
@@ -176,7 +176,7 @@ function roots_remove_recent_comments_style() {
// remove CSS from gallery
function roots_gallery_style($css) {
- return preg_replace("##s", '', $css);
+ return preg_replace("//s", '', $css);
}
function roots_head_cleanup() {
diff --git a/inc/roots-widgets.php b/inc/roots-widgets.php
index 5a068b4..b5ed01d 100644
--- a/inc/roots-widgets.php
+++ b/inc/roots-widgets.php
@@ -18,7 +18,7 @@ class roots_vcard extends WP_Widget {
$email = $instance['email'];
?>
-
+
@@ -83,4 +83,4 @@ class roots_vcard extends WP_Widget {
register_widget('roots_vcard');
-?>
\ No newline at end of file
+?>