post_title = stripslashes($draft->post_title);
if ($draft->post_title == '')
$draft->post_title = sprintf(__('Post #%s'), $draft->ID);
echo "$draft->post_title";
++$i;
}
?>
.
post_title = stripslashes($draft->post_title);
if ($draft->post_title == '')
$draft->post_title = sprintf(__('Post #%s'), $draft->ID);
echo "$draft->post_title";
++$i;
}
?>
.
'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'] = '';
?>
|
$column_display_name) {
switch($column_name) {
case 'id':
?>
|
g:i:s a'); ?> |
post_status) _e(' - Private'); ?> |
|
|
|
|
ID) ) { echo "" . __('Edit') . ""; } ?> |
ID) ) { echo "" . __('Delete') . ""; } ?> |
|
|
get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date");
if ($comments) {
?>
( / ) (IP: )