FEEDZY RSS Feeds Lite - Version 3.6.2

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon 128x128 FEEDZY RSS Feeds Lite
Version 3.6.2
Comparing to
See all releases

Code changes from version 3.6.1 to 3.6.2

CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  ##### [Version 3.6.1](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.0...v3.6.1) (2021-04-21)
2
 
3
  * fix possible conflict with early use of wp_verify_nonce
1
+ ##### [Version 3.6.2](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.1...v3.6.2) (2021-04-23)
2
+
3
+ * Fix feed validation when DC is missing.
4
+ * Fix custom fields import broken markup.
5
+
6
  ##### [Version 3.6.1](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.0...v3.6.1) (2021-04-21)
7
 
8
  * fix possible conflict with early use of wp_verify_nonce
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.6.1
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.6.2
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.6.1
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.6.2
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
includes/abstract/feedzy-rss-feeds-admin-abstract.php CHANGED
@@ -900,11 +900,18 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
900
  return false;
901
  }
902
 
903
- $feed_child = array_keys( $feed->get_item()->data['child'] );
904
- $feed_child = array_filter( $feed_child );
905
- if ( ! in_array( SIMPLEPIE_NAMESPACE_DC_10, $feed_child, true ) && ! in_array( SIMPLEPIE_NAMESPACE_DC_11, $feed_child, true ) ) {
906
- update_post_meta( $post->ID, '__transient_feedzy_invalid_dc_namespace', array( $url ) );
907
- return false;
 
 
 
 
 
 
 
908
  }
909
  return true;
910
  }
900
  return false;
901
  }
902
 
903
+ $feed_content = wp_remote_retrieve_body( wp_remote_get( $url ) );
904
+ if ( ! is_wp_error( $feed_content ) ) {
905
+ $xmlelement = new SimpleXMLElement( $feed_content );
906
+ $namespaces = $xmlelement->getNamespaces( true );
907
+ if ( array_key_exists( 'dc', $namespaces ) ) {
908
+ $feed_child = array_keys( $feed->get_item()->data['child'] );
909
+ $feed_child = array_filter( $feed_child );
910
+ if ( ! in_array( SIMPLEPIE_NAMESPACE_DC_10, $feed_child, true ) && ! in_array( SIMPLEPIE_NAMESPACE_DC_11, $feed_child, true ) ) {
911
+ update_post_meta( $post->ID, '__transient_feedzy_invalid_dc_namespace', array( $url ) );
912
+ return false;
913
+ }
914
+ }
915
  }
916
  return true;
917
  }
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.6.1';
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.6.2';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
includes/views/import-metabox-edit.php CHANGED
@@ -412,6 +412,6 @@
412
  </script>
413
 
414
  <script id="new_field_tpl" type="text/template">
415
- <?php echo wp_kses_post( apply_filters( 'feedzy_custom_field_template', '' ) ); ?>
416
  </script>
417
 
412
  </script>
413
 
414
  <script id="new_field_tpl" type="text/template">
415
+ <?php echo wp_kses( apply_filters( 'feedzy_custom_field_template', '' ), apply_filters( 'feedzy_wp_kses_allowed_html', array() ) ); ?>
416
  </script>
417
 
readme.txt CHANGED
@@ -462,6 +462,14 @@ You have to check first if your feed is valid. Please test it here: https://vali
462
 
463
  == Changelog ==
464
 
 
 
 
 
 
 
 
 
465
  ##### [Version 3.6.1](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.0...v3.6.1) (2021-04-21)
466
 
467
  * fix possible conflict with early use of wp_verify_nonce
462
 
463
  == Changelog ==
464
 
465
+ ##### [Version 3.6.2](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.1...v3.6.2) (2021-04-23)
466
+
467
+ * Fix feed validation when DC is missing.
468
+ * Fix custom fields import broken markup.
469
+
470
+
471
+
472
+
473
  ##### [Version 3.6.1](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v3.6.0...v3.6.1) (2021-04-21)
474
 
475
  * fix possible conflict with early use of wp_verify_nonce
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit656a900d138f8c730a76e2020070e4bc::getLoader();
vendor/composer/InstalledVersions.php CHANGED
@@ -25,24 +25,24 @@ class InstalledVersions
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
- 'pretty_version' => 'v3.6.1',
29
- 'version' => '3.6.1.0',
30
  'aliases' =>
31
  array (
32
  ),
33
- 'reference' => '95dbcc0512afc37f2abf37e1e568dc31d444d294',
34
  'name' => 'codeinwp/feedzy-rss-feeds',
35
  ),
36
  'versions' =>
37
  array (
38
  'codeinwp/feedzy-rss-feeds' =>
39
  array (
40
- 'pretty_version' => 'v3.6.1',
41
- 'version' => '3.6.1.0',
42
  'aliases' =>
43
  array (
44
  ),
45
- 'reference' => '95dbcc0512afc37f2abf37e1e568dc31d444d294',
46
  ),
47
  'codeinwp/themeisle-sdk' =>
48
  array (
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
+ 'pretty_version' => 'v3.6.2',
29
+ 'version' => '3.6.2.0',
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => '50ae8ce82ba30ccb3b12ca067971e0087d1f2368',
34
  'name' => 'codeinwp/feedzy-rss-feeds',
35
  ),
36
  'versions' =>
37
  array (
38
  'codeinwp/feedzy-rss-feeds' =>
39
  array (
40
+ 'pretty_version' => 'v3.6.2',
41
+ 'version' => '3.6.2.0',
42
  'aliases' =>
43
  array (
44
  ),
45
+ 'reference' => '50ae8ce82ba30ccb3b12ca067971e0087d1f2368',
46
  ),
47
  'codeinwp/themeisle-sdk' =>
48
  array (
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
- spl_autoload_unregister(array('ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitdcb6df0f844d7087fa9bcef46770554f::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitdcb6df0f844d7087fa9bcef46770554f
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitdcb6df0f844d7087fa9bcef46770554f::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequiredcb6df0f844d7087fa9bcef46770554f($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequiredcb6df0f844d7087fa9bcef46770554f($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit656a900d138f8c730a76e2020070e4bc
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit656a900d138f8c730a76e2020070e4bc', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit656a900d138f8c730a76e2020070e4bc', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit656a900d138f8c730a76e2020070e4bc::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit656a900d138f8c730a76e2020070e4bc::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire656a900d138f8c730a76e2020070e4bc($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire656a900d138f8c730a76e2020070e4bc($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitdcb6df0f844d7087fa9bcef46770554f
8
  {
9
  public static $files = array (
10
  '3df8ee254224091c21b9aebb792d2f8b' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
@@ -17,7 +17,7 @@ class ComposerStaticInitdcb6df0f844d7087fa9bcef46770554f
17
  public static function getInitializer(ClassLoader $loader)
18
  {
19
  return \Closure::bind(function () use ($loader) {
20
- $loader->classMap = ComposerStaticInitdcb6df0f844d7087fa9bcef46770554f::$classMap;
21
 
22
  }, null, ClassLoader::class);
23
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit656a900d138f8c730a76e2020070e4bc
8
  {
9
  public static $files = array (
10
  '3df8ee254224091c21b9aebb792d2f8b' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
17
  public static function getInitializer(ClassLoader $loader)
18
  {
19
  return \Closure::bind(function () use ($loader) {
20
+ $loader->classMap = ComposerStaticInit656a900d138f8c730a76e2020070e4bc::$classMap;
21
 
22
  }, null, ClassLoader::class);
23
  }
vendor/composer/installed.php CHANGED
@@ -1,24 +1,24 @@
1
  <?php return array (
2
  'root' =>
3
  array (
4
- 'pretty_version' => 'v3.6.1',
5
- 'version' => '3.6.1.0',
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => '95dbcc0512afc37f2abf37e1e568dc31d444d294',
10
  'name' => 'codeinwp/feedzy-rss-feeds',
11
  ),
12
  'versions' =>
13
  array (
14
  'codeinwp/feedzy-rss-feeds' =>
15
  array (
16
- 'pretty_version' => 'v3.6.1',
17
- 'version' => '3.6.1.0',
18
  'aliases' =>
19
  array (
20
  ),
21
- 'reference' => '95dbcc0512afc37f2abf37e1e568dc31d444d294',
22
  ),
23
  'codeinwp/themeisle-sdk' =>
24
  array (
1
  <?php return array (
2
  'root' =>
3
  array (
4
+ 'pretty_version' => 'v3.6.2',
5
+ 'version' => '3.6.2.0',
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => '50ae8ce82ba30ccb3b12ca067971e0087d1f2368',
10
  'name' => 'codeinwp/feedzy-rss-feeds',
11
  ),
12
  'versions' =>
13
  array (
14
  'codeinwp/feedzy-rss-feeds' =>
15
  array (
16
+ 'pretty_version' => 'v3.6.2',
17
+ 'version' => '3.6.2.0',
18
  'aliases' =>
19
  array (
20
  ),
21
+ 'reference' => '50ae8ce82ba30ccb3b12ca067971e0087d1f2368',
22
  ),
23
  'codeinwp/themeisle-sdk' =>
24
  array (