RSSImport - Version 4.5.1

Version Description

Download this release

Release Info

Developer took77
Plugin Icon wp plugin RSSImport
Version 4.5.1
Comparing to
See all releases

Code changes from version 4.5.0 to 4.5.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. rssimport.php +27 -27
readme.txt CHANGED
@@ -7,7 +7,7 @@ Donate link: https://bueltge.de/wunschliste/
7
  Tags: rss, post, content, post, feed
8
  Requires at least: 1.5
9
  Tested up to: 4.9
10
- Stable tag: 4.5.0
11
 
12
  Display feeds on your blog, using PHP in your templates or Shortcode in your posts and pages.
13
 
@@ -143,6 +143,9 @@ or
143
  1. Widget support
144
 
145
  == Changelog ==
 
 
 
146
  = v4.5.0 (2017-12-01) =
147
  * Added new parameter random_sort
148
 
7
  Tags: rss, post, content, post, feed
8
  Requires at least: 1.5
9
  Tested up to: 4.9
10
+ Stable tag: 4.5.1
11
 
12
  Display feeds on your blog, using PHP in your templates or Shortcode in your posts and pages.
13
 
143
  1. Widget support
144
 
145
  == Changelog ==
146
+ = v4.5.1 (2017-12-14) =
147
+ * Fix escaping in widget admin form
148
+
149
  = v4.5.0 (2017-12-01) =
150
  * Added new parameter random_sort
151
 
rssimport.php CHANGED
@@ -2127,45 +2127,45 @@ if ( class_exists( 'WP_Widget' ) ) {
2127
  )
2128
  );
2129
 
2130
- $title = strip_tags( $instance[ 'title' ] );
2131
- $titlelink = esc_url( $instance[ 'titlelink' ] );
2132
  $display = (int) $instance[ 'display' ];
2133
- $feedurl = $instance[ 'feedurl' ];
2134
- $before_desc = $instance[ 'before_desc' ];
2135
  $displaydescriptions = (int) $instance[ 'displaydescriptions' ];
2136
  $after_desc = format_to_edit( $instance[ 'after_desc' ] );
2137
  $html = (int) $instance[ 'html' ];
2138
  $truncatedescchar = (int) $instance[ 'truncatedescchar' ];
2139
  $truncatedescstring = (int) $instance[ 'truncatedescstring' ];
2140
- $truncatetitlechar = $instance[ 'truncatetitlechar' ];
2141
- $truncatetitlestring = $instance[ 'truncatetitlestring' ];
2142
- $before_date = $instance[ 'before_date' ];
2143
  $date = (int) $instance[ 'date' ];
2144
- $after_date = $instance[ 'after_date' ];
2145
- $date_format = $instance[ 'date_format' ];
2146
- $before_creator = $instance[ 'before_creator' ];
2147
  $creator = (int) $instance[ 'creator' ];
2148
- $after_creator = $instance[ 'after_creator' ];
2149
- $start_items = $instance[ 'start_items' ];
2150
- $end_items = $instance[ 'end_items' ];
2151
- $start_item = $instance[ 'start_item' ];
2152
- $end_item = $instance[ 'end_item' ];
2153
- $target = $instance[ 'target' ];
2154
- $rel = $instance[ 'rel' ];
2155
  $desc4title = (int) $instance[ 'desc4title' ];
2156
  $charsetscan = (int) $instance[ 'charsetscan' ];
2157
  $debug = (int) $instance[ 'debug' ];
2158
- $before_noitems = $instance[ 'before_noitems' ];
2159
- $noitems = $instance[ 'noitems' ];
2160
- $after_noitems = $instance[ 'after_noitems' ];
2161
- $before_error = $instance[ 'before_error' ];
2162
- $error = $instance[ 'error' ];
2163
- $after_error = $instance[ 'after_error' ];
2164
  $paging = (int) $instance[ 'paging' ];
2165
- $prev_paging_link = $instance[ 'prev_paging_link' ];
2166
- $next_paging_link = $instance[ 'next_paging_link' ];
2167
- $prev_paging_title = $instance[ 'prev_paging_title' ];
2168
- $next_paging_title = $instance[ 'next_paging_title' ];
2169
  $use_simplepie = (int) $instance[ 'use_simplepie' ];
2170
  $view = (int) $instance[ 'view' ];
2171
  $random_sort = (int) $instance[ 'random_sort' ];
2127
  )
2128
  );
2129
 
2130
+ $title = format_to_edit( strip_tags( $instance[ 'title' ] ) );
2131
+ $titlelink = format_to_edit( esc_url( $instance[ 'titlelink' ] ) );
2132
  $display = (int) $instance[ 'display' ];
2133
+ $feedurl = format_to_edit( $instance[ 'feedurl' ] );
2134
+ $before_desc = format_to_edit( $instance[ 'before_desc' ] );
2135
  $displaydescriptions = (int) $instance[ 'displaydescriptions' ];
2136
  $after_desc = format_to_edit( $instance[ 'after_desc' ] );
2137
  $html = (int) $instance[ 'html' ];
2138
  $truncatedescchar = (int) $instance[ 'truncatedescchar' ];
2139
  $truncatedescstring = (int) $instance[ 'truncatedescstring' ];
2140
+ $truncatetitlechar = format_to_edit( $instance[ 'truncatetitlechar' ] );
2141
+ $truncatetitlestring = format_to_edit( $instance[ 'truncatetitlestring' ] );
2142
+ $before_date = format_to_edit( $instance[ 'before_date' ] );
2143
  $date = (int) $instance[ 'date' ];
2144
+ $after_date = format_to_edit( $instance[ 'after_date' ] );
2145
+ $date_format = format_to_edit( $instance[ 'date_format' ] );
2146
+ $before_creator = format_to_edit( $instance[ 'before_creator' ] );
2147
  $creator = (int) $instance[ 'creator' ];
2148
+ $after_creator = format_to_edit( $instance[ 'after_creator' ] );
2149
+ $start_items = format_to_edit( $instance[ 'start_items' ] );
2150
+ $end_items = format_to_edit( $instance[ 'end_items' ] );
2151
+ $start_item = format_to_edit( $instance[ 'start_item' ] );
2152
+ $end_item = format_to_edit( $instance[ 'end_item' ] );
2153
+ $target = format_to_edit( $instance[ 'target' ] );
2154
+ $rel = format_to_edit( $instance[ 'rel' ] );
2155
  $desc4title = (int) $instance[ 'desc4title' ];
2156
  $charsetscan = (int) $instance[ 'charsetscan' ];
2157
  $debug = (int) $instance[ 'debug' ];
2158
+ $before_noitems = format_to_edit( $instance[ 'before_noitems' ] );
2159
+ $noitems = format_to_edit( $instance[ 'noitems' ] );
2160
+ $after_noitems = format_to_edit( $instance[ 'after_noitems' ] );
2161
+ $before_error = format_to_edit( $instance[ 'before_error' ] );
2162
+ $error = format_to_edit( $instance[ 'error' ] );
2163
+ $after_error = format_to_edit( $instance[ 'after_error' ] );
2164
  $paging = (int) $instance[ 'paging' ];
2165
+ $prev_paging_link = format_to_edit( $instance[ 'prev_paging_link' ] );
2166
+ $next_paging_link = format_to_edit( $instance[ 'next_paging_link' ] );
2167
+ $prev_paging_title = format_to_edit( $instance[ 'prev_paging_title' ] );
2168
+ $next_paging_title = format_to_edit( $instance[ 'next_paging_title' ] );
2169
  $use_simplepie = (int) $instance[ 'use_simplepie' ];
2170
  $view = (int) $instance[ 'view' ];
2171
  $random_sort = (int) $instance[ 'random_sort' ];