mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -59,7 +59,7 @@ function write_post() {
|
||||
$post_ID = wp_insert_post($_POST);
|
||||
add_meta($post_ID);
|
||||
|
||||
// Reunite any orphaned subposts with their parent
|
||||
// Reunite any orphaned attachments with their parent
|
||||
if ( $_POST['temp_ID'] )
|
||||
relocate_children($_POST['temp_ID'], $post_ID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user