Changeset 28729
- Timestamp:
- 06/10/2014 06:47:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r27469 r28729 12 12 if ( ! $typenow ) 13 13 wp_die( __( 'Invalid post type' ) ); 14 15 if ( 'attachment' === $typenow ) { 16 if ( wp_redirect( admin_url( 'upload.php' ) ) ) { 17 exit; 18 } 19 } 14 20 15 21 $post_type = $typenow;
Note: See TracChangeset
for help on using the changeset viewer.