Make WordPress Core


Ignore:
Timestamp:
03/04/2008 12:05:30 AM (18 years ago)
Author:
ryan
Message:

Post edit collision detection fixes from mdawaffe. fixes #6043

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r7145 r7146  
    473473    global $current_user;
    474474
    475     $_POST['post_content'] = $_POST['content'];
    476     $_POST['post_excerpt'] = $_POST['excerpt'];
    477475    $_POST['post_status'] = 'draft';
    478476    $_POST['post_category'] = explode(",", $_POST['catslist']);
     
    522520        }
    523521        if ( $do_autosave ) {
    524             $id = wp_update_post($_POST);
     522            $id = edit_post();
    525523            $data = $message;
    526524        } else {
Note: See TracChangeset for help on using the changeset viewer.