Skip to content
Commit 2a41185d authored by Ryan Boren's avatar Ryan Boren
Browse files

In media_upload_flash_bypass(), pass the post id in the media-new.php url.

In media-new.php, use post_id from REQUEST if passed and the current user can edit the post.
Fixes adding media with the browser uploader.

Props nacin, ocean90
fixes #22572


git-svn-id: https://core.svn.wordpress.org/trunk@22853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 3a26b60a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment