Changeset 7170 for trunk/wp-admin/edit.php
- Timestamp:
- 03/06/2008 10:23:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r7130 r7170 83 83 $status_links = array(); 84 84 $num_posts = wp_count_posts('post', 'readable'); 85 $class = empty($_GET['post_status']) ? ' class="current"' : ''; 86 $status_links[] = "<li><a href=\"edit.php\"$class>".__('All Posts')."</a>"; 85 87 foreach ( $post_stati as $status => $label ) { 86 88 $class = ''; … … 97 99 sprintf($label[2], $num_posts->$status) . '</a>'; 98 100 } 99 $class = empty($_GET['post_status']) ? ' class="current"' : '';100 $status_links[] = "<li><a href=\"edit.php\"$class>".__('All Posts')."</a>";101 101 echo implode(' |</li>', $status_links) . '</li>'; 102 102 unset($status_links);
Note: See TracChangeset
for help on using the changeset viewer.