Default args to array. Props fitztrev. fixes #5866

git-svn-id: http://svn.automattic.com/wordpress/trunk@6861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-15 20:42:53 +00:00
parent 42a8efec5e
commit 4cd65bf8d0
1 changed files with 1 additions and 1 deletions

View File

@ -1043,7 +1043,7 @@ function wp_widget_rss($args, $widget_args = 1) {
echo $after_widget;
}
function wp_widget_rss_output( $rss, $args = null ) {
function wp_widget_rss_output( $rss, $args = array() ) {
if ( is_string( $rss ) ) {
require_once(ABSPATH . WPINC . '/rss.php');
if ( !$rss = fetch_rss($rss) )