Changeset 25453
- Timestamp:
- 09/16/2013 05:51:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post-new.php
r24543 r25453 23 23 $submenu_file = 'post-new.php'; 24 24 } elseif ( 'attachment' == $post_type ) { 25 wp_redirect( admin_url( 'media-new.php' ) );26 exit;25 if ( wp_redirect( admin_url( 'media-new.php' ) ) ) 26 exit; 27 27 } else { 28 28 $submenu_file = "post-new.php?post_type=$post_type";
Note: See TracChangeset
for help on using the changeset viewer.