mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Dedicated drafts page
git-svn-id: https://develop.svn.wordpress.org/trunk@8992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -157,6 +157,7 @@ if ( is_single() ) {
|
||||
<form id="posts-filter" action="" method="get">
|
||||
<ul class="subsubsub">
|
||||
<?php
|
||||
if ( empty($locked_post_status) ) :
|
||||
$status_links = array();
|
||||
$num_posts = wp_count_posts( 'post', 'readable' );
|
||||
$class = empty( $_GET['post_status'] ) ? ' class="current"' : '';
|
||||
@@ -177,6 +178,7 @@ foreach ( $post_stati as $status => $label ) {
|
||||
}
|
||||
echo implode( ' |</li>', $status_links ) . '</li>';
|
||||
unset( $status_links );
|
||||
endif;
|
||||
?>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user