Make WordPress Core


Ignore:
Timestamp:
02/06/2010 05:46:00 PM (15 years ago)
Author:
ryan
Message:

Add more visibility args to post status registration. see #9674

File:
1 edited

Legend:

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

    r12993 r12994  
    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(), 'objects') as $status ) {
     235foreach ( get_post_stati(array('show_in_admin_edit' => true), 'objects') as $status ) {
    236236    $class = '';
    237237
Note: See TracChangeset for help on using the changeset viewer.