Changeset 15339 for trunk/wp-admin/includes/template.php
- Timestamp:
- 06/27/2010 08:38:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r15336 r15339 3737 3737 case 'edit-pages': 3738 3738 $post_type = 'post'; 3739 if ( isset($_GET['post_type']) && in_array( $_GET['post_type'], get_post_types( array(' public' => true ) ) ) )3739 if ( isset($_GET['post_type']) && in_array( $_GET['post_type'], get_post_types( array('show_ui' => true ) ) ) ) 3740 3740 $post_type = $_GET['post_type']; 3741 3741 $post_type_object = get_post_type_object($post_type);
Note: See TracChangeset
for help on using the changeset viewer.