Reorder post/page status dropdowns. Props mdawaffe. fixes #4848

git-svn-id: https://develop.svn.wordpress.org/trunk@5963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-08-28 21:04:17 +00:00
parent 299c9e1109
commit 4f158b42b0
2 changed files with 5 additions and 5 deletions

View File

@ -6,9 +6,9 @@ wp_enqueue_script( 'listman' );
require_once('admin-header.php');
$post_stati = array( // array( adj, noun )
'publish' => array(__('Published'), __('Published pages')),
'draft' => array(__('Draft'), __('Draft pages')),
'private' => array(__('Private'), __('Private pages')),
'publish' => array(__('Published'), __('Published pages'))
'private' => array(__('Private'), __('Private pages'))
);

View File

@ -9,11 +9,11 @@ require_once('admin-header.php');
$_GET['m'] = (int) $_GET['m'];
$_GET['cat'] = (int) $_GET['cat'];
$post_stati = array( // array( adj, noun )
'draft' => array(__('Draft'), _c('Drafts|manage posts header')),
'publish' => array(__('Published'), __('Published posts')),
'future' => array(__('Scheduled'), __('Scheduled posts')),
'pending' => array(__('Pending Review'), __('Pending posts')),
'private' => array(__('Private'), __('Private posts')),
'publish' => array(__('Published'), __('Published posts'))
'draft' => array(__('Draft'), _c('Drafts|manage posts header')),
'private' => array(__('Private'), __('Private posts'))
);
$avail_post_stati = $wpdb->get_col("SELECT DISTINCT post_status FROM $wpdb->posts WHERE post_type = 'post'");