﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
22572	PHP Notice: Undefined index: post_id in /wp-admin/media-new.php on line 27	Chouby	ryan	"Test done in WP 3.5 RC1

In the new ""Add media"" modal, I use the browser uploader instead of the default multifile uploader. Unlike in WP 3.4 in which we stayed in the modal, here I am redirected to the media library upload.

I upload the file and get the notice:
PHP Notice:  Undefined index: post_id in /wp-admin/media-new.php on line 27

Unlike in WP 3.4, the media is not attached to the post I was editing.

I come back to the post I was editing, and the content I just typed is gone... (as probably the post was not saved before the redirection)"	defect (bug)	closed	normal	3.5	Media	3.5	normal	fixed	has-patch commit	
