From 3600770b75182a077c5700d4c5d8cd6006d7488c Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 17 Mar 2008 03:34:04 +0000 Subject: [PATCH] Sync "Last edited" on Edit Page screen to that on Edit Post screen. see #6250 git-svn-id: https://develop.svn.wordpress.org/trunk@7342 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-page-form.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index ca64feef34..85b02f46e5 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -119,7 +119,13 @@ if ( ('edit' == $action) && current_user_can('delete_page', $post_ID) ) ?>
-post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?> +display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); +} else { + printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); +} +?>