From db208a2090c95166cda6ed13181c495fac4f4f46 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Tue, 2 Aug 2011 15:35:01 -0600 Subject: [PATCH] Switched multisite check to use is_multisite --- inc/roots-htaccess.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/roots-htaccess.php b/inc/roots-htaccess.php index a867ebd..e1a12d5 100644 --- a/inc/roots-htaccess.php +++ b/inc/roots-htaccess.php @@ -50,7 +50,7 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) { } // only use clean urls if the theme isn't a child or an MU (Network) install - if ((!defined('WP_ALLOW_MULTISITE') || (defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE !== true)) && !is_child_theme()) { + if (!is_multisite() && !is_child_theme()) { add_action('generate_rewrite_rules', 'roots_add_rewrites'); if (!is_admin()) { add_filter('plugins_url', 'roots_clean_plugins'); @@ -80,4 +80,4 @@ if (stristr($_SERVER['SERVER_SOFTWARE'], 'apache') !== false) { add_action('mod_rewrite_rules', 'roots_add_h5bp_htaccess'); } -?> \ No newline at end of file +?>