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:
parent
299c9e1109
commit
4f158b42b0
@ -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'))
|
||||
);
|
||||
|
||||
|
||||
|
@ -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'");
|
||||
|
Loading…
x
Reference in New Issue
Block a user