Remove tabs that were added during contributions
This commit is contained in:
@@ -138,9 +138,9 @@ add_filter('body_class', 'roots_body_class');
|
|||||||
* @author Scott Walkinshaw <scott.walkinshaw@gmail.com>
|
* @author Scott Walkinshaw <scott.walkinshaw@gmail.com>
|
||||||
*/
|
*/
|
||||||
function roots_root_relative_url($input) {
|
function roots_root_relative_url($input) {
|
||||||
// fix for site_url != home_url()
|
// Fix for site_url() != home_url()
|
||||||
if (!is_admin() && site_url() != home_url() && stristr($input, 'wp-includes') === false) {
|
if (!is_admin() && site_url() != home_url() && stristr($input, 'wp-includes') === false) {
|
||||||
$input = str_replace(site_url(), "", $input);
|
$input = str_replace(site_url(), '', $input);
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = preg_replace_callback(
|
$output = preg_replace_callback(
|
||||||
|
|||||||
Reference in New Issue
Block a user