diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index 4a3bf6bb42..239a593a68 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -452,7 +452,7 @@ final class WP_Screen { if ( $post ) $post_type = $post->post_type; } elseif ( isset( $_POST['post_type'] ) && post_type_exists( $_POST['post_type'] ) ) { - $post_type = $_GET['post_type']; + $post_type = $_POST['post_type']; } elseif ( $action == 'add' && isset( $_GET['post_type'] ) && post_type_exists( $_GET['post_type'] ) ) { $post_type = $_GET['post_type']; }