| 1 | Index: wp-includes/widgets.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/widgets.php (revision 8339) |
|---|
| 4 | +++ wp-includes/widgets.php (working copy) |
|---|
| 5 | @@ -1043,7 +1043,7 @@ |
|---|
| 6 | function wp_widget_rss($args, $widget_args = 1) { |
|---|
| 7 | extract($args, EXTR_SKIP); |
|---|
| 8 | if ( is_numeric($widget_args) ) |
|---|
| 9 | - $widget_args = array( 'number' => $widegt_args ); |
|---|
| 10 | + $widget_args = array( 'number' => $widget_args ); |
|---|
| 11 | $widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) ); |
|---|
| 12 | extract($widget_args, EXTR_SKIP); |
|---|
| 13 | |
|---|