Changeset 22777
- Timestamp:
- 11/21/2012 05:40:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post-new.php
r22725 r22777 22 22 $parent_file = 'edit.php'; 23 23 $submenu_file = 'post-new.php'; 24 } elseif ( 'attachment' == $post_type ) { 25 wp_redirect( admin_url( 'media-new.php' ) ); 26 exit; 24 27 } else { 25 28 $submenu_file = "post-new.php?post_type=$post_type";
Note: See TracChangeset
for help on using the changeset viewer.