Changeset 25298 for trunk/src/wp-includes/default-widgets.php
- Timestamp:
- 09/07/2013 06:16:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-widgets.php
r25049 r25298 930 930 $inputs = wp_parse_args( $inputs, $default_inputs ); 931 931 extract( $args ); 932 extract( $inputs, EXTR_SKIP );932 extract( $inputs, EXTR_SKIP ); 933 933 934 934 $number = esc_attr( $number ); … … 1001 1001 if ( $items < 1 || 20 < $items ) 1002 1002 $items = 10; 1003 $url = esc_url_raw( strip_tags( $widget_rss['url'] ));1004 $title = trim(strip_tags( $widget_rss['title'] ));1005 $show_summary = isset( $widget_rss['show_summary']) ? (int) $widget_rss['show_summary'] : 0;1006 $show_author = isset( $widget_rss['show_author']) ? (int) $widget_rss['show_author'] :0;1007 $show_date = isset( $widget_rss['show_date']) ? (int) $widget_rss['show_date'] : 0;1003 $url = esc_url_raw( strip_tags( $widget_rss['url'] ) ); 1004 $title = isset( $widget_rss['title'] ) ? trim( strip_tags( $widget_rss['title'] ) ) : ''; 1005 $show_summary = isset( $widget_rss['show_summary'] ) ? (int) $widget_rss['show_summary'] : 0; 1006 $show_author = isset( $widget_rss['show_author'] ) ? (int) $widget_rss['show_author'] :0; 1007 $show_date = isset( $widget_rss['show_date'] ) ? (int) $widget_rss['show_date'] : 0; 1008 1008 1009 1009 if ( $check_feed ) {
Note: See TracChangeset
for help on using the changeset viewer.