From 9a440c79516a28a23bb5a8a70dc26cf0b492d062 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 28 Nov 2005 23:06:21 +0000 Subject: [PATCH] Fixes #1966 git-svn-id: http://svn.automattic.com/wordpress/trunk@3224 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-functions.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index bda12934bb..a5291f1e8e 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -81,10 +81,6 @@ function relocate_children($old_ID, $new_ID) { function fix_attachment_links($post_ID) { global $wp_rewrite; - // Relevance check. - if ( false == $wp_rewrite->using_permalinks() ) - return; - $post = & get_post($post_ID); $search = "#]+rel=('|\")[^'\"]*attachment[^>]*>#ie";