Ticket #9403: admin-ajax.php.diff
File admin-ajax.php.diff, 481 bytes (added by , 16 years ago) |
---|
-
wp-admin/admin-ajax.php
1078 1078 if ( empty($data['ping_status']) ) 1079 1079 $data['ping_status'] = 'closed'; 1080 1080 1081 // If author isn't specified, keep original post author 1082 if(empty($data['post_author'])) 1083 $data['post_author'] = $post['post_author']; 1084 1081 1085 // update the post 1082 1086 $_POST = $data; 1083 1087 edit_post();