From 10b506305aef6fee1c96e6848cbf09b69c484321 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 19 Oct 2006 00:39:01 +0000 Subject: [PATCH] Revert [3952] because it causes double slashing git-svn-id: https://develop.svn.wordpress.org/trunk@4409 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 1584a25574..ad92b56407 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);