Typo fix from robertdimarco. fixes #7297 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@8341 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-07-15 16:21:26 +00:00
parent 7d69c333f9
commit 71c6b81617
1 changed files with 1 additions and 1 deletions

View File

@ -1043,7 +1043,7 @@ function wp_widget_recent_comments_register() {
function wp_widget_rss($args, $widget_args = 1) {
extract($args, EXTR_SKIP);
if ( is_numeric($widget_args) )
$widget_args = array( 'number' => $widegt_args );
$widget_args = array( 'number' => $widget_args );
$widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) );
extract($widget_args, EXTR_SKIP);