Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1707,9 +1707,12 @@ function wp_widget_rss_control($widget_args) {
|
||||
* @param array $inputs Override default display options.
|
||||
*/
|
||||
function wp_widget_rss_form( $args, $inputs = null ) {
|
||||
|
||||
$default_inputs = array( 'url' => true, 'title' => true, 'items' => true, 'show_summary' => true, 'show_author' => true, 'show_date' => true );
|
||||
$inputs = wp_parse_args( $inputs, $default_inputs );
|
||||
extract( $args );
|
||||
extract( $inputs, EXTR_SKIP);
|
||||
|
||||
$number = attribute_escape( $number );
|
||||
$title = attribute_escape( $title );
|
||||
$url = attribute_escape( $url );
|
||||
|
||||
Reference in New Issue
Block a user