Opened 11 years ago
Closed 11 years ago
#27351 closed defect (bug) (fixed)
Warning: Cannot use a scalar value as an array in wp-admin/includes/media.php on line 2262
Reported by: | nendeb55 | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
So, in wp-admin/includes/media, on line 2262, 2264, 2266 These line is throwing a warning:
Cause This line 2260:
$q = isset( $q['paged'] ) ? intval( $q['paged'] ) : 0;
So I propose to change it to:
$q['paged'] = isset( $q['paged'] ) ? intval( $q['paged'] ) : 0;
Thanks
Change History (3)
Note: See
TracTickets for help on using
tickets.
Oops! Thanks for the report :-)