First cut at post status menu. Needs style fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -488,11 +488,11 @@ function wp_edit_posts_query( $q = false ) {
|
||||
$q['m'] = (int) $q['m'];
|
||||
$q['cat'] = (int) $q['cat'];
|
||||
$post_stati = array( // array( adj, noun )
|
||||
'draft' => array(__('Draft'), _c('Drafts|manage posts header')),
|
||||
'future' => array(__('Scheduled'), __('Scheduled posts')),
|
||||
'pending' => array(__('Pending Review'), __('Pending posts')),
|
||||
'private' => array(__('Private'), __('Private posts')),
|
||||
'publish' => array(__('Published'), __('Published posts'))
|
||||
'publish' => array(__('Published'), __('Published (%s)')),
|
||||
'future' => array(__('Scheduled'), __('Scheduled (5s)')),
|
||||
'pending' => array(__('Pending Review'), __('Pending Review (%s)')),
|
||||
'draft' => array(__('Draft'), _c('Draft (%s)|manage posts header')),
|
||||
'private' => array(__('Private'), __('Private (%s)'))
|
||||
);
|
||||
|
||||
$avail_post_stati = $wpdb->get_col("SELECT DISTINCT post_status FROM $wpdb->posts WHERE post_type = 'post'");
|
||||
|
||||
Reference in New Issue
Block a user