diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index a3b7846258..4e71aa8311 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -382,6 +382,8 @@ function wp_manage_pages_columns() {
$posts_columns = array();
$posts_columns['cb'] = '';
+ $posts_columns['title'] = __('Title');
+
$post_status = isset( $_GET['post_status'] ) ? $_GET['post_status'] : '';
switch( $post_status ) {
@@ -395,7 +397,6 @@ function wp_manage_pages_columns() {
$posts_columns['date'] = __('Date');
}
- $posts_columns['title'] = __('Title');
$posts_columns['author'] = __('Author');
if ( !in_array($post_status, array('pending', 'draft', 'future')) )
$posts_columns['comments'] = '
';
@@ -468,8 +469,25 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
break;
case 'title':
?>
- ">
- post_status) _e(' — Private'); ?> |
+ ID ) ) { ?>">
+ post_password) ) { _e(' — Protected'); } elseif ('private' == $post->post_status) { _e(' — Private'); }
+
+ if ( 'excerpt' == $mode )
+ the_excerpt();
+
+ $actions = array();
+ $actions['edit'] = '' . __('Edit') . '';
+ $actions['delete'] = "ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $page->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $page->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "";
+ $action_count = count($actions);
+ $i = 0;
+ foreach ( $actions as $action => $link ) {
+ ++$i;
+ ( $i == $action_count ) ? $sep = '' : $sep = ' | ';
+ echo "$link$sep";
+ }
+ ?>
+ |