Changeset 47550 for trunk/src/wp-admin/post-new.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post-new.php
r47219 r47550 19 19 if ( ! isset( $_GET['post_type'] ) ) { 20 20 $post_type = 'post'; 21 } elseif ( in_array( $_GET['post_type'], get_post_types( array( 'show_ui' => true ) ) ) ) {21 } elseif ( in_array( $_GET['post_type'], get_post_types( array( 'show_ui' => true ) ), true ) ) { 22 22 $post_type = $_GET['post_type']; 23 23 } else {
Note: See TracChangeset
for help on using the changeset viewer.