diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 4a2e60566b..bc08784639 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1740,16 +1740,9 @@ function get_compat_media_markup( $attachment_id, $args = null ) { * @since 2.5.0 */ function media_upload_header() { - $post_id = isset( $_REQUEST['post_id'] ) ? intval( $_REQUEST['post_id'] ) : 0; - if ( ! empty( $post_id ) ) { - $post_type = get_post_type( $post_id ); - } else { - $post_type = ''; - } - - echo ''; + echo ''; if ( empty( $_GET['chromeless'] ) ) { echo '
'; the_media_upload_tabs(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 8568a01166..a039dea119 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta2-33262'; +$wp_version = '4.3-beta2-33263'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.