Notice fixes from filosofo and Viper007Bond. see #7509

git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-04 03:22:24 +00:00
parent 1ac8dd147f
commit dab986a9b0
17 changed files with 45 additions and 30 deletions

View File

@@ -1551,6 +1551,8 @@ function wp_widget_rss_output( $rss, $args = array() ) {
return;
}
$default_args = array( 'show_author' => 0, 'show_date' => 0, 'show_summary' => 0 );
$args = wp_parse_args( $args, $default_args );
extract( $args, EXTR_SKIP );
$items = (int) $items;