Ticket #35408: 35408.diff
File 35408.diff, 461 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/post.php
diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index c169bd7..74b3510 100644
a b function _admin_notice_post_locked() { 1647 1647 function wp_create_post_autosave( $post_data ) { 1648 1648 if ( is_numeric( $post_data ) ) { 1649 1649 $post_id = $post_data; 1650 $post_data = &$_POST;1650 $post_data = $_POST; 1651 1651 } else { 1652 1652 $post_id = (int) $post_data['post_ID']; 1653 1653 }