#22465 closed defect (bug) (fixed)
Media uploader throws PHP notice if $_REQUEST[ 'post_id' ] is not set
| Reported by: | ldebrouwer | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Upload | Version: | 3.5 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed, plus it also avoids two similar instances of the same notice.