Dedicated drafts page

git-svn-id: https://develop.svn.wordpress.org/trunk@8992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-09-26 21:53:26 +00:00
parent 69a9da2c8e
commit 6ca991c79e
4 changed files with 11 additions and 2 deletions
+2
View File
@@ -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>