Ticket #30013: 30013.diff
File 30013.diff, 425 bytes (added by , 10 years ago) |
---|
-
wp-admin/edit.php
9 9 /** WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 12 if ( ! $typenow )12 if ( ! $typenow && ! is_string( $typenow ) ) 13 13 wp_die( __( 'Invalid post type' ) ); 14 14 15 15 if ( 'attachment' === $typenow ) {