mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Lots of style and admin tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@3770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -348,7 +348,7 @@ function wp_insert_attachment($object, $file = false, $post_parent = 0) {
|
||||
wp_set_post_cats('', $post_ID, $post_category);
|
||||
|
||||
if ( $file )
|
||||
add_post_meta($post_ID, '_wp_attached_file', $file);
|
||||
add_post_meta($post_ID, '_wp_attached_file', $file );
|
||||
|
||||
clean_post_cache($post_ID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user