Changeset 7109 for trunk/wp-admin/edit.php
- Timestamp:
- 02/29/2008 09:49:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r7098 r7109 82 82 <?php 83 83 $status_links = array(); 84 $num_posts = wp_count_posts('post' );84 $num_posts = wp_count_posts('post', 'readable'); 85 85 foreach ( $post_stati as $status => $label ) { 86 86 $class = ''; … … 89 89 continue; 90 90 91 if ( empty($num_posts->$status) ) 92 continue; 91 93 if ( $status == $_GET['post_status'] ) 92 94 $class = ' class="current"';
Note: See TracChangeset
for help on using the changeset viewer.