From f86965af5192baf14b217c5998aaf21b8b7f4658 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Fri, 18 May 2012 18:16:48 -0600 Subject: [PATCH] Fix #457 - Remove unused action --- inc/cleanup.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/inc/cleanup.php b/inc/cleanup.php index 708cbf0..3ef27a5 100644 --- a/inc/cleanup.php +++ b/inc/cleanup.php @@ -121,8 +121,6 @@ if (enable_root_relative_urls()) { add_filter('script_loader_src', 'roots_fix_duplicate_subfolder_urls'); add_filter('style_loader_src', 'roots_fix_duplicate_subfolder_urls'); - - add_action('pre_get_posts', 'roots_root_relative_attachment_urls'); } /**