diff --git a/wp-admin/edit-post-rows.php b/wp-admin/edit-post-rows.php index 099224f73..6723cc346 100644 --- a/wp-admin/edit-post-rows.php +++ b/wp-admin/edit-post-rows.php @@ -29,7 +29,11 @@ foreach($posts_columns as $column_name=>$column_display_name) { + post_modified ) _e('Never'); else the_modified_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?> + post_modified ) _e('Unpublished'); else the_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?> diff --git a/wp-admin/edit.php b/wp-admin/edit.php index b79f6396b..8bd400667 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -30,12 +30,27 @@ if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($ 'display name' $posts_columns = array(); $posts_columns['id'] = '
' . __('ID') . '
'; -if ( !in_array($_GET['post_status'], array('pending', 'draft')) ) +if ( 'draft' === $_GET['post_status'] ) + $posts_columns['modified'] = __('Modified'); +elseif ( 'pending' === $_GET['post_status'] ) + $posts_columns['modified'] = __('Submitted'); +else $posts_columns['date'] = __('When'); $posts_columns['title'] = __('Title'); $posts_columns['categories'] = __('Categories');