FEEDZY RSS Feeds Lite - Version 4.0.5

Version Description

Download this release

Release Info

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

Code changes from version 4.0.4 to 4.0.5

CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  ##### [Version 4.0.4](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.3...v4.0.4) (2022-10-04)
2
 
3
  * Fix cache time overwrite with filter
1
+ ##### [Version 4.0.5](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.4...v4.0.5) (2022-10-26)
2
+
3
+ * Fix possible cache expiration filter change.
4
+ * Fix compatibilities with keyword filtering on full content and Elementor context.
5
+
6
  ##### [Version 4.0.4](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.3...v4.0.4) (2022-10-04)
7
 
8
  * Fix cache time overwrite with filter
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: 4.0.4
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: 4.0.5
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/
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: 4.0.4
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/
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: 4.0.5
19
  * Author: Themeisle
20
  * Author URI: http://themeisle.com
21
  * License: GPL-2.0+
includes/abstract/feedzy-rss-feeds-admin-abstract.php CHANGED
@@ -303,8 +303,8 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
303
  return true;
304
  }
305
 
306
- $inc_on = ! empty( $sc['keywords_inc_on'] ) ? $sc['keywords_inc_on'] : '';
307
- $exc_on = ! empty( $sc['keywords_exc_on'] ) ? $sc['keywords_exc_on'] : '';
308
 
309
  if ( isset( $sc['keywords_inc'] ) && ! empty( $sc['keywords_inc'] ) ) {
310
  $keywords = $sc['keywords_inc'];
@@ -777,15 +777,17 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
777
  if ( false === apply_filters( 'feedzy_disable_db_cache', false, $feed_url ) ) {
778
  SimplePie_Cache::register( 'wp_transient', 'WP_Feed_Cache_Transient' );
779
  $feed->set_cache_location( 'wp_transient' );
 
 
 
 
 
 
 
 
 
 
780
  $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', $cache_time, $feed_url ) );
781
- add_filter(
782
- 'wp_feed_cache_transient_lifetime',
783
- function( $time ) use ( $cache_time ) {
784
- return $cache_time;
785
- },
786
- 10,
787
- 1
788
- );
789
  } else {
790
  require_once ABSPATH . 'wp-admin/includes/file.php';
791
  WP_Filesystem();
303
  return true;
304
  }
305
 
306
+ $inc_on = ! empty( $sc['keywords_inc_on'] ) ? $sc['keywords_inc_on'] : 'title';
307
+ $exc_on = ! empty( $sc['keywords_exc_on'] ) ? $sc['keywords_exc_on'] : 'title';
308
 
309
  if ( isset( $sc['keywords_inc'] ) && ! empty( $sc['keywords_inc'] ) ) {
310
  $keywords = $sc['keywords_inc'];
777
  if ( false === apply_filters( 'feedzy_disable_db_cache', false, $feed_url ) ) {
778
  SimplePie_Cache::register( 'wp_transient', 'WP_Feed_Cache_Transient' );
779
  $feed->set_cache_location( 'wp_transient' );
780
+ if ( ! has_filter( 'wp_feed_cache_transient_lifetime' ) ) {
781
+ add_filter(
782
+ 'wp_feed_cache_transient_lifetime',
783
+ function( $time ) use ( $cache_time ) {
784
+ return $cache_time;
785
+ },
786
+ 10,
787
+ 1
788
+ );
789
+ }
790
  $feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', $cache_time, $feed_url ) );
 
 
 
 
 
 
 
 
791
  } else {
792
  require_once ABSPATH . 'wp-admin/includes/file.php';
793
  WP_Filesystem();
includes/elementor/widgets/register-widget.php CHANGED
@@ -156,10 +156,9 @@ class Feedzy_Register_Widget extends Elementor\Widget_Base {
156
  'type' => Controls_Manager::SELECT,
157
  'default' => 'title',
158
  'options' => array(
159
- 'title' => __( 'Title', 'feedzy-rss-feeds' ),
160
- 'description' => __( 'Description', 'feedzy-rss-feeds' ),
161
- 'author' => __( 'Author', 'feedzy-rss-feeds' ),
162
- 'full-content' => __( 'Full Content', 'feedzy-rss-feeds' ),
163
  ),
164
  'classes' => $this->upsell_class(),
165
  )
@@ -181,10 +180,9 @@ class Feedzy_Register_Widget extends Elementor\Widget_Base {
181
  'type' => Controls_Manager::SELECT,
182
  'default' => 'title',
183
  'options' => array(
184
- 'title' => __( 'Title', 'feedzy-rss-feeds' ),
185
- 'description' => __( 'Description', 'feedzy-rss-feeds' ),
186
- 'author' => __( 'Author', 'feedzy-rss-feeds' ),
187
- 'full-content' => __( 'Full Content', 'feedzy-rss-feeds' ),
188
  ),
189
  'separator' => 'before',
190
  'classes' => $this->upsell_class(),
156
  'type' => Controls_Manager::SELECT,
157
  'default' => 'title',
158
  'options' => array(
159
+ 'title' => __( 'Title', 'feedzy-rss-feeds' ),
160
+ 'description' => __( 'Description', 'feedzy-rss-feeds' ),
161
+ 'author' => __( 'Author', 'feedzy-rss-feeds' ),
 
162
  ),
163
  'classes' => $this->upsell_class(),
164
  )
180
  'type' => Controls_Manager::SELECT,
181
  'default' => 'title',
182
  'options' => array(
183
+ 'title' => __( 'Title', 'feedzy-rss-feeds' ),
184
+ 'description' => __( 'Description', 'feedzy-rss-feeds' ),
185
+ 'author' => __( 'Author', 'feedzy-rss-feeds' ),
 
186
  ),
187
  'separator' => 'before',
188
  'classes' => $this->upsell_class(),
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 = '4.0.4';
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 = '4.0.5';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
includes/views/js/import-metabox-edit.js CHANGED
@@ -463,7 +463,8 @@
463
  } )
464
  .on( 'removeTag', function( e, tagData ) {
465
  var target = $( e.target );
466
- if ( tagData.index <= 0 ) {
 
467
  target.parents( '.tag-list' ).addClass( 'hidden' );
468
  }
469
  } );
463
  } )
464
  .on( 'removeTag', function( e, tagData ) {
465
  var target = $( e.target );
466
+ var emptyTags = target.parents( '.tag-list' ).find( '.tagify--empty' ).length;
467
+ if ( emptyTags ) {
468
  target.parents( '.tag-list' ).addClass( 'hidden' );
469
  }
470
  } );
readme.txt CHANGED
@@ -464,6 +464,14 @@ You have to check first if your feed is valid. Please test it here: https://vali
464
 
465
  == Changelog ==
466
 
 
 
 
 
 
 
 
 
467
  ##### [Version 4.0.4](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.3...v4.0.4) (2022-10-04)
468
 
469
  * Fix cache time overwrite with filter
464
 
465
  == Changelog ==
466
 
467
+ ##### [Version 4.0.5](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.4...v4.0.5) (2022-10-26)
468
+
469
+ * Fix possible cache expiration filter change.
470
+ * Fix compatibilities with keyword filtering on full content and Elementor context.
471
+
472
+
473
+
474
+
475
  ##### [Version 4.0.4](https://github.com/Codeinwp/feedzy-rss-feeds/compare/v4.0.3...v4.0.4) (2022-10-04)
476
 
477
  * Fix cache time overwrite with filter
vendor/autoload.php CHANGED
@@ -3,10 +3,23 @@
3
  // autoload.php @generated by Composer
4
 
5
  if (PHP_VERSION_ID < 50600) {
6
- echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
7
- exit(1);
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50::getLoader();
3
  // autoload.php @generated by Composer
4
 
5
  if (PHP_VERSION_ID < 50600) {
6
+ if (!headers_sent()) {
7
+ header('HTTP/1.1 500 Internal Server Error');
8
+ }
9
+ $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10
+ if (!ini_get('display_errors')) {
11
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12
+ fwrite(STDERR, $err);
13
+ } elseif (!headers_sent()) {
14
+ echo $err;
15
+ }
16
+ }
17
+ trigger_error(
18
+ $err,
19
+ E_USER_ERROR
20
+ );
21
  }
22
 
23
  require_once __DIR__ . '/composer/autoload_real.php';
24
 
25
+ return ComposerAutoloaderInit2edfb23f01c21303ceeb8e5a71f5a4b4::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50
6
  {
7
  private static $loader;
8
 
@@ -22,18 +22,18 @@ class ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
- spl_autoload_unregister(array('ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
- call_user_func(\Composer\Autoload\ComposerStaticInitb451ae382a5ffe3fc06178e765e06d50::getInitializer($loader));
31
 
32
  $loader->register(true);
33
 
34
- $includeFiles = \Composer\Autoload\ComposerStaticInitb451ae382a5ffe3fc06178e765e06d50::$files;
35
  foreach ($includeFiles as $fileIdentifier => $file) {
36
- composerRequireb451ae382a5ffe3fc06178e765e06d50($fileIdentifier, $file);
37
  }
38
 
39
  return $loader;
@@ -45,7 +45,7 @@ class ComposerAutoloaderInitb451ae382a5ffe3fc06178e765e06d50
45
  * @param string $file
46
  * @return void
47
  */
48
- function composerRequireb451ae382a5ffe3fc06178e765e06d50($fileIdentifier, $file)
49
  {
50
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
51
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit2edfb23f01c21303ceeb8e5a71f5a4b4
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit2edfb23f01c21303ceeb8e5a71f5a4b4', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit2edfb23f01c21303ceeb8e5a71f5a4b4', 'loadClassLoader'));
28
 
29
  require __DIR__ . '/autoload_static.php';
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit2edfb23f01c21303ceeb8e5a71f5a4b4::getInitializer($loader));
31
 
32
  $loader->register(true);
33
 
34
+ $includeFiles = \Composer\Autoload\ComposerStaticInit2edfb23f01c21303ceeb8e5a71f5a4b4::$files;
35
  foreach ($includeFiles as $fileIdentifier => $file) {
36
+ composerRequire2edfb23f01c21303ceeb8e5a71f5a4b4($fileIdentifier, $file);
37
  }
38
 
39
  return $loader;
45
  * @param string $file
46
  * @return void
47
  */
48
+ function composerRequire2edfb23f01c21303ceeb8e5a71f5a4b4($fileIdentifier, $file)
49
  {
50
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
51
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb451ae382a5ffe3fc06178e765e06d50
8
  {
9
  public static $files = array (
10
  '3df8ee254224091c21b9aebb792d2f8b' => __DIR__ . '/..' . '/codeinwp/themeisle-sdk/load.php',
@@ -17,7 +17,7 @@ class ComposerStaticInitb451ae382a5ffe3fc06178e765e06d50
17
  public static function getInitializer(ClassLoader $loader)
18
  {
19
  return \Closure::bind(function () use ($loader) {
20
- $loader->classMap = ComposerStaticInitb451ae382a5ffe3fc06178e765e06d50::$classMap;
21
 
22
  }, null, ClassLoader::class);
23
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit2edfb23f01c21303ceeb8e5a71f5a4b4
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 = ComposerStaticInit2edfb23f01c21303ceeb8e5a71f5a4b4::$classMap;
21
 
22
  }, null, ClassLoader::class);
23
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/feedzy-rss-feeds',
4
- 'pretty_version' => 'v4.0.4',
5
- 'version' => '4.0.4.0',
6
- 'reference' => '73cee518ca78605c09dc29c4caa0fe6e4b0566d7',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -11,9 +11,9 @@
11
  ),
12
  'versions' => array(
13
  'codeinwp/feedzy-rss-feeds' => array(
14
- 'pretty_version' => 'v4.0.4',
15
- 'version' => '4.0.4.0',
16
- 'reference' => '73cee518ca78605c09dc29c4caa0fe6e4b0566d7',
17
  'type' => 'wordpress-plugin',
18
  'install_path' => __DIR__ . '/../../',
19
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'codeinwp/feedzy-rss-feeds',
4
+ 'pretty_version' => 'v4.0.5',
5
+ 'version' => '4.0.5.0',
6
+ 'reference' => 'f4ea1f03fa98b1f1b1a096d30b8e02b64c70077d',
7
  'type' => 'wordpress-plugin',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
11
  ),
12
  'versions' => array(
13
  'codeinwp/feedzy-rss-feeds' => array(
14
+ 'pretty_version' => 'v4.0.5',
15
+ 'version' => '4.0.5.0',
16
+ 'reference' => 'f4ea1f03fa98b1f1b1a096d30b8e02b64c70077d',
17
  'type' => 'wordpress-plugin',
18
  'install_path' => __DIR__ . '/../../',
19
  'aliases' => array(),