From e7b9e6ac2d8f777c9d97c98c4496e8e8353aa937 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 19 Oct 2006 00:39:01 +0000 Subject: [PATCH] Revert [3952] because it causes double slashing git-svn-id: http://svn.automattic.com/wordpress/trunk@4409 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 1584a2557..ad92b5640 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1304,7 +1304,7 @@ function wp_insert_attachment($object, $file = false, $post_parent = 0) { wp_set_post_categories($post_ID, $post_category); if ( $file ) - add_post_meta($post_ID, '_wp_attached_file', quotemeta( $file ) ); + add_post_meta($post_ID, '_wp_attached_file', $file); clean_post_cache($post_ID);