WordPress.org

Make WordPress Core

Changeset 23933


Ignore:
Timestamp:
04/08/2013 12:08:33 AM (7 years ago)
Author:
azaozz
Message:

Revisions: don't set revisions post_author with get_post_meta( $ID, '_edit_last' ). Not needed since we create revisions after saving the post and breaks per-user autosaves, see #16215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/revision.php

    r23929 r23933  
    5656    $return['post_date']     = isset($post['post_modified']) ? $post['post_modified'] : '';
    5757    $return['post_date_gmt'] = isset($post['post_modified_gmt']) ? $post['post_modified_gmt'] : '';
    58     $return['post_author']   = get_post_meta( $post['ID'], '_edit_last', true );
    5958
    6059    return $return;
Note: See TracChangeset for help on using the changeset viewer.