From f0fdba27bae9efdaca0caca19ce045b355f1859e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 8 Apr 2013 00:08:33 +0000 Subject: [PATCH] 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 git-svn-id: http://core.svn.wordpress.org/trunk@23933 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/revision.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/revision.php b/wp-includes/revision.php index da51fd4705..788b0aafa7 100644 --- a/wp-includes/revision.php +++ b/wp-includes/revision.php @@ -55,7 +55,6 @@ function _wp_post_revision_fields( $post = null, $autosave = false ) { $return['post_name'] = $autosave ? "$post[ID]-autosave-v1" : "$post[ID]-revision-v1"; // "1" is the revisioning system version $return['post_date'] = isset($post['post_modified']) ? $post['post_modified'] : ''; $return['post_date_gmt'] = isset($post['post_modified_gmt']) ? $post['post_modified_gmt'] : ''; - $return['post_author'] = get_post_meta( $post['ID'], '_edit_last', true ); return $return; }