Changeset 47808 for trunk/src/wp-admin/post-new.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post-new.php
r47550 r47808 26 26 $post_type_object = get_post_type_object( $post_type ); 27 27 28 if ( 'post' == $post_type ) {28 if ( 'post' === $post_type ) { 29 29 $parent_file = 'edit.php'; 30 30 $submenu_file = 'post-new.php'; 31 } elseif ( 'attachment' == $post_type ) {31 } elseif ( 'attachment' === $post_type ) { 32 32 if ( wp_redirect( admin_url( 'media-new.php' ) ) ) { 33 33 exit;
Note: See TracChangeset
for help on using the changeset viewer.