From c1e9ee019dcce4d8c2e5bc7d6feac95afa812598 Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 5 Jul 2006 11:55:16 +0000 Subject: WP Merge. Delete feed code and sql git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@636 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes/post.php') diff --git a/wp-includes/post.php b/wp-includes/post.php index b29d0d2..c89c552 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1259,7 +1259,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', $file ); + add_post_meta($post_ID, '_wp_attached_file', quotemeta( $file ) ); clean_post_cache($post_ID); -- cgit