From ac098980860a01705db7089bd2f03a3adaab7050 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 15 Feb 2008 20:42:53 +0000 Subject: [PATCH] Default args to array. Props fitztrev. fixes #5866 git-svn-id: https://develop.svn.wordpress.org/trunk@6861 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 16e5047645..24718073ff 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -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) )