Changeset 11743 for trunk/wp-admin/includes/template.php
- Timestamp:
- 07/25/2009 12:21:55 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11742 r11743 754 754 $posts_columns['categories'] = __('Categories'); 755 755 $posts_columns['tags'] = __('Tags'); 756 757 $post_status = 'all'; 758 if ( isset($_GET['post_status']) ) 759 $post_status = $_GET['post_status']; 760 elseif ( isset($_POST['_status']) ) 761 $post_status = $_POST['_status']; 762 756 $post_status = !empty($_REQUEST['post_status']) ? $_REQUEST['post_status'] : 'all'; 763 757 if ( !in_array( $post_status, array('pending', 'draft', 'future') ) ) 764 758 $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="images/comment-grey-bubble.png" /></div>'; … … 808 802 $posts_columns['title'] = __('Title'); 809 803 $posts_columns['author'] = __('Author'); 810 811 $post_status = 'all'; 812 if ( isset($_GET['post_status']) ) 813 $post_status = $_GET['post_status']; 814 elseif ( isset($_POST['_status']) ) 815 $post_status = $_POST['_status']; 816 804 $post_status = !empty($_REQUEST['post_status']) ? $_REQUEST['post_status'] : 'all'; 817 805 if ( !in_array( $post_status, array('pending', 'draft', 'future') ) ) 818 806 $posts_columns['comments'] = '<div class="vers"><img alt="" src="images/comment-grey-bubble.png" /></div>';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)