Revert [3952] because it causes double slashing

git-svn-id: https://develop.svn.wordpress.org/trunk@4409 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2006-10-19 00:39:01 +00:00
parent a5298798aa
commit 10b506305a
1 changed files with 1 additions and 1 deletions

View File

@ -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);