Changeset 14674 for trunk/wp-admin/post-new.php
- Timestamp:
- 05/15/2010 08:49:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post-new.php
r14585 r14674 12 12 if ( !isset($_GET['post_type']) ) 13 13 $post_type = 'post'; 14 elseif ( in_array( $_GET['post_type'], get_post_types( array(' public' => true )) ) )14 elseif ( in_array( $_GET['post_type'], get_post_types( array('show_ui' => true ) ) ) || in_array( $_GET['post_type'], array( 'post', 'page' ) ) ) 15 15 $post_type = $_GET['post_type']; 16 16 else
Note: See TracChangeset
for help on using the changeset viewer.