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:
parent
42a8efec5e
commit
4cd65bf8d0
|
@ -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) )
|
||||
|
|
Loading…
Reference in New Issue