diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 4bce8c9405..ecb983c21c 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -111,18 +111,36 @@ if ( $_GET['m'] ) {
+ 'display name' +$posts_columns = array( + 'id' => __('ID'), + 'date' => __('When'), + 'title' => __('Title'), + 'categories' => __('Categories'), + 'comments' => __('Comments'), + 'author' => __('Author') +); +$posts_columns = apply_filters('manage_posts_columns', $posts_columns); + +// you can not edit these at the moment +$posts_columns['control_view'] = ''; +$posts_columns['control_edit'] = ''; +$posts_columns['control_delete'] = ''; + +print_r($posts_columns); + +?> + - - - - - - - - - - - + + + + + + + - - - - - - + +$column_display_name) { + + switch($column_name) { + + case 'id': + ?> + + + + + + + + + - - - - - + + + + + + + + + + + + +
g:i:s a'); ?> - - post_status) _e(' - Private'); ?> +
g:i:s a'); ?> + post_status) _e(' - Private'); ?> - user_level) ) { echo "" . __('Edit') . ""; } ?>user_level) ) { echo "" . __('Delete') . ""; } ?>
user_level) ) { echo "" . __('Edit') . ""; } ?>user_level) ) { echo "" . __('Delete') . ""; } ?>