#22465 closed defect (bug) (fixed)
Media uploader throws PHP notice if $_REQUEST[ 'post_id' ] is not set
Reported by: | ldebrouwer | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | trivial | Version: | 3.5 |
Component: | Upload | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
When including the media uploader in the backend without setting $_REQUEST[ 'post_id' ] this will result in a PHP notice on line 1380 in /wp-admin/includes/media.php.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Fixed, plus it also avoids two similar instances of the same notice.