mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -134,9 +134,6 @@ if ( 'page' == $post->post_type ) {
|
||||
$title = __( 'Post Revisions' );
|
||||
}
|
||||
|
||||
// Converts post_author ID# into name
|
||||
add_filter( '_wp_post_revision_field_post_author', 'get_author_name' );
|
||||
|
||||
require_once( 'admin-header.php' );
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user