diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index 45dac0a1eb..545f3e6258 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -749,8 +749,8 @@ function update_meta($mid, $mkey, $mvalue) {
}
function touch_time($edit = 1, $for_post = 1) {
- global $month, $postdata, $commentdata;
- if ( $for_post && ('draft' == $postdata->post_status) ) {
+ global $month, $post, $comment;
+ if ( $for_post && ('draft' == $post->post_status) ) {
$checked = 'checked="checked" ';
$edit = false;
} else {
@@ -760,7 +760,7 @@ function touch_time($edit = 1, $for_post = 1) {
echo '