Opened 18 years ago
Closed 18 years ago
#5866 closed defect (bug) (fixed)
Initialize args as an array in wp_widget_rss_output
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
I just tried calling wp_widget_rss_ouput() without passing it any arguments (which should be OK because they're optional according to the function). However it resulted in this error:
Warning: extract() [function.extract]: First argument should be an array in /var/www/trunk/wp-includes/widgets.php on line 1060
Error occurs because extract() needs to be passed an array, not a null string.
Attachments (1)
Change History (4)
#1
@
18 years ago
- Summary changed from wp_widget_rss_output to Initialize args as an array in wp_widget_rss_output
Forgot to finish the ticket's summary...
Note: See
TracTickets for help on using
tickets.
Initialize $args as an array