Changeset 6047
- Timestamp:
- 09/06/2007 04:33:35 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r6034 r6047 21 21 $post_status_q = ''; 22 22 $post_status_label = __('Posts'); 23 if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 23 24 if ( !isset($_GET['post_status']) ) 25 $_GET['post_status'] = 'publish'; 26 27 if ( in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 24 28 $post_status_label = $post_stati[$_GET['post_status']][1]; 25 29 $post_status_q = '&post_status=' . $_GET['post_status'];
Note: See TracChangeset
for help on using the changeset viewer.