FEEDZY RSS Feeds Lite - Version 3.4.3

Version Description

  • 2020-08-26
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 FEEDZY RSS Feeds Lite
Version 3.4.3
Comparing to
See all releases

Code changes from version 3.4.2 to 3.4.3

CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
 
2
- ### v3.4.2 - 2020-08-12
3
  **Changes:**
4
-
 
 
5
  ### v3.4.2 - 2020-08-12
6
  **Changes:**
7
  * [Fix] Compatibility with WP 5.5
1
 
2
+ ### v3.4.3 - 2020-08-26
3
  **Changes:**
4
+ * [Fix] HTML tags being trimmed on save of the import job
5
+ * [Fix] Issue with nonce not being checked correctly
6
+
7
  ### v3.4.2 - 2020-08-12
8
  **Changes:**
9
  * [Fix] Compatibility with WP 5.5
css/feedzy-rss-feeds.css CHANGED
@@ -2,7 +2,7 @@
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
- * Version: 3.4.2
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
+ * Version: 3.4.3
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
feedzy-rss-feed.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Feedzy RSS Feeds Lite
16
  * Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
17
  * Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
18
- * Version: 3.4.2
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
15
  * Plugin Name: Feedzy RSS Feeds Lite
16
  * Plugin URI: https://themeisle.com/plugins/feedzy-rss-feeds-lite/
17
  * Description: A small and lightweight RSS aggregator plugin. Fast and very easy to use, it allows you to aggregate multiple RSS feeds into your WordPress site through fully customizable shortcodes & widgets.
18
+ * Version: 3.4.3
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
includes/admin/feedzy-rss-feeds-admin.php CHANGED
@@ -268,7 +268,7 @@ class Feedzy_Rss_Feeds_Admin extends Feedzy_Rss_Feeds_Admin_Abstract {
268
  public function save_feedzy_post_type_meta( $post_id, $post ) {
269
  if (
270
  empty( $_POST ) ||
271
- ( isset( $_POST['feedzy_category_meta_noncename'] ) && ! wp_verify_nonce( $_POST['feedzy_category_meta_noncename'], FEEDZY_BASEFILE ) ) ||
272
  ! current_user_can( 'edit_post', $post_id )
273
  ) {
274
  return $post_id;
268
  public function save_feedzy_post_type_meta( $post_id, $post ) {
269
  if (
270
  empty( $_POST ) ||
271
+ ! wp_verify_nonce( $_POST['feedzy_category_meta_noncename'], FEEDZY_BASEFILE ) ||
272
  ! current_user_can( 'edit_post', $post_id )
273
  ) {
274
  return $post_id;
includes/admin/feedzy-rss-feeds-import.php CHANGED
@@ -140,7 +140,7 @@ class Feedzy_Rss_Feeds_Import {
140
  'feedzy',
141
  array(
142
  'ajax' => array(
143
- 'security' => wp_create_nonce( FEEDZY_NAME ),
144
  ),
145
  )
146
  );
@@ -308,7 +308,7 @@ class Feedzy_Rss_Feeds_Import {
308
  $post_status = $post->post_status;
309
  $nonce = wp_create_nonce( FEEDZY_BASEFILE );
310
  $output = '
311
- <input type="hidden" name="feedzy_import_noncename" id="feedzy_category_meta_noncename" value="' . $nonce . '" />
312
  ';
313
  include FEEDZY_ABSPATH . '/includes/views/import-metabox-edit.php';
314
  echo $output;
@@ -340,7 +340,7 @@ class Feedzy_Rss_Feeds_Import {
340
  if (
341
  empty( $_POST ) ||
342
  get_post_type( $post_id ) !== 'feedzy_imports' ||
343
- ( isset( $_POST['feedzy_import_noncename'] ) && ! wp_verify_nonce( $_POST['feedzy_import_noncename'], FEEDZY_BASEFILE ) ) ||
344
  ! current_user_can( 'edit_post', $post_id )
345
  ) {
346
  return $post_id;
@@ -364,9 +364,9 @@ class Feedzy_Rss_Feeds_Import {
364
  foreach ( $data_meta as $key => $value ) {
365
  $value = is_array( $value ) ? implode( ',', $value ) : implode( ',', (array) $value );
366
  if ( get_post_meta( $post_id, $key, false ) ) {
367
- update_post_meta( $post_id, $key, sanitize_text_field( $value ) );
368
  } else {
369
- add_post_meta( $post_id, $key, sanitize_text_field( $value ) );
370
  }
371
  if ( ! $value ) {
372
  delete_post_meta( $post_id, $key );
@@ -663,7 +663,7 @@ class Feedzy_Rss_Feeds_Import {
663
  * @access public
664
  */
665
  public function ajax() {
666
- check_ajax_referer( FEEDZY_NAME, 'security' );
667
 
668
  switch ( $_POST['_action'] ) {
669
  case 'import_status':
@@ -691,6 +691,7 @@ class Feedzy_Rss_Feeds_Import {
691
  global $wpdb;
692
  $id = $_POST['id'];
693
  $status = $_POST['status'];
 
694
  $publish = 'draft';
695
  if ( $status === 'true' ) {
696
  $publish = 'publish';
140
  'feedzy',
141
  array(
142
  'ajax' => array(
143
+ 'security' => wp_create_nonce( FEEDZY_BASEFILE ),
144
  ),
145
  )
146
  );
308
  $post_status = $post->post_status;
309
  $nonce = wp_create_nonce( FEEDZY_BASEFILE );
310
  $output = '
311
+ <input type="hidden" name="feedzy_category_meta_noncename" id="feedzy_category_meta_noncename" value="' . $nonce . '" />
312
  ';
313
  include FEEDZY_ABSPATH . '/includes/views/import-metabox-edit.php';
314
  echo $output;
340
  if (
341
  empty( $_POST ) ||
342
  get_post_type( $post_id ) !== 'feedzy_imports' ||
343
+ ( ! defined( 'TI_UNIT_TESTING' ) && ! wp_verify_nonce( $_POST['feedzy_category_meta_noncename'], FEEDZY_BASEFILE ) ) ||
344
  ! current_user_can( 'edit_post', $post_id )
345
  ) {
346
  return $post_id;
364
  foreach ( $data_meta as $key => $value ) {
365
  $value = is_array( $value ) ? implode( ',', $value ) : implode( ',', (array) $value );
366
  if ( get_post_meta( $post_id, $key, false ) ) {
367
+ update_post_meta( $post_id, $key, wp_kses( $value, wp_kses_allowed_html( 'post' ) ) );
368
  } else {
369
+ add_post_meta( $post_id, $key, wp_kses( $value, wp_kses_allowed_html( 'post' ) ) );
370
  }
371
  if ( ! $value ) {
372
  delete_post_meta( $post_id, $key );
663
  * @access public
664
  */
665
  public function ajax() {
666
+ check_ajax_referer( FEEDZY_BASEFILE, 'security' );
667
 
668
  switch ( $_POST['_action'] ) {
669
  case 'import_status':
691
  global $wpdb;
692
  $id = $_POST['id'];
693
  $status = $_POST['status'];
694
+ $_POST['feedzy_category_meta_noncename'] = $_POST['security'];
695
  $publish = 'draft';
696
  if ( $status === 'true' ) {
697
  $publish = 'publish';
includes/feedzy-rss-feeds.php CHANGED
@@ -104,7 +104,7 @@ class Feedzy_Rss_Feeds {
104
  */
105
  public function init() {
106
  self::$plugin_name = 'feedzy-rss-feeds';
107
- self::$version = '3.4.2';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
104
  */
105
  public function init() {
106
  self::$plugin_name = 'feedzy-rss-feeds';
107
+ self::$version = '3.4.3';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
readme.md CHANGED
@@ -461,6 +461,12 @@ You have to check first if your feed is valid. Please test it here: https://vali
461
 
462
 
463
  == Changelog ==
 
 
 
 
 
 
464
  ### 3.4.2 - 2020-08-12 ###
465
 
466
  * - [Fix] Compatibility with WP 5.5
461
 
462
 
463
  == Changelog ==
464
+ ### 3.4.3 - 2020-08-26 ###
465
+
466
+ * [Fix] HTML tags being trimmed on save of the import job
467
+ * [Fix] Issue with nonce not being checked correctly
468
+
469
+
470
  ### 3.4.2 - 2020-08-12 ###
471
 
472
  * - [Fix] Compatibility with WP 5.5
readme.txt CHANGED
@@ -461,6 +461,12 @@ You have to check first if your feed is valid. Please test it here: https://vali
461
 
462
 
463
  == Changelog ==
 
 
 
 
 
 
464
  = 3.4.2 - 2020-08-12 =
465
 
466
  * - [Fix] Compatibility with WP 5.5
461
 
462
 
463
  == Changelog ==
464
+ = 3.4.3 - 2020-08-26 =
465
+
466
+ * [Fix] HTML tags being trimmed on save of the import job
467
+ * [Fix] Issue with nonce not being checked correctly
468
+
469
+
470
  = 3.4.2 - 2020-08-12 =
471
 
472
  * - [Fix] Compatibility with WP 5.5
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"feedzy-rss-feed.php":"0bba4c8f86dc07f8c980eb77a09a7844","index.php":"71c0755260138a4b7b2182c3c61179f6","uninstall.php":"cdb21f8648e005cbb9c73481d1750186"}
1
+ {"feedzy-rss-feed.php":"5179c1de2880c3ac87bb30a1ce26307b","index.php":"71c0755260138a4b7b2182c3c61179f6","uninstall.php":"cdb21f8648e005cbb9c73481d1750186"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit27d7cef882b95754cf5c8cd833e05014::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInitba70d63a60f3044bb6bb7d4c5c7e9599::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitd0e413725483a6c1189ceadcfb8e99f3::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit3b96848ea3f80711478c2a5c404164c8
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire3b96848ea3f80711478c2a5c404164c8($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire3b96848ea3f80711478c2a5c404164c8($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit27d7cef882b95754cf5c8cd833e05014
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit27d7cef882b95754cf5c8cd833e05014', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit27d7cef882b95754cf5c8cd833e05014', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire27d7cef882b95754cf5c8cd833e05014($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire27d7cef882b95754cf5c8cd833e05014($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInitba70d63a60f3044bb6bb7d4c5c7e9599 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitba70d63a60f3044bb6bb7d4c5c7e9599 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitba70d63a60f3044bb6bb7d4c5c7e9599', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitba70d63a60f3044bb6bb7d4c5c7e9599', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInitd0e413725483a6c1189ceadcfb8e99f3 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd0e413725483a6c1189ceadcfb8e99f3', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd0e413725483a6c1189ceadcfb8e99f3', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);