Make WordPress Core


Ignore:
Timestamp:
02/16/2010 09:13:44 PM (15 years ago)
Author:
ryan
Message:

Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r13100 r13172  
    233233$status_links[] = "<li><a href='edit.php?post_type=$post_type{$allposts}'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
    234234
    235 foreach ( get_post_stati(array('show_in_admin_edit' => true), 'objects') as $status ) {
     235foreach ( get_post_stati(array('show_in_admin_status_list' => true), 'objects') as $status ) {
    236236    $class = '';
    237237
Note: See TracChangeset for help on using the changeset viewer.