Changeset 7170 for trunk/wp-admin/edit-pages.php
- Timestamp:
- 03/06/2008 10:23:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-pages.php
r7130 r7170 76 76 $status_links = array(); 77 77 $num_posts = wp_count_posts('page', 'readable'); 78 $class = empty($_GET['post_status']) ? ' class="current"' : ''; 79 $status_links[] = "<li><a href=\"edit-pages.php\"$class>".__('All Pages')."</a>"; 78 80 foreach ( $post_stati as $status => $label ) { 79 81 $class = ''; … … 88 90 sprintf($label[2], $num_posts->$status) . '</a>'; 89 91 } 90 $class = empty($_GET['post_status']) ? ' class="current"' : '';91 $status_links[] = "<li><a href=\"edit-pages.php\"$class>".__('All Pages')."</a>";92 92 echo implode(' |</li>', $status_links) . '</li>'; 93 93 unset($status_links);
Note: See TracChangeset
for help on using the changeset viewer.