FEEDZY RSS Feeds Lite - Version 3.0.5

Version Description

  • 06/01/2017 =
  • Fixed issue with google news feed
Download this release

Release Info

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

Code changes from version 3.0.4 to 3.0.5

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
2
- Fixed issue with google news feeds
3
 
4
 
5
 
6
- Release 3.0.4
1
 
2
+
3
+
4
+
5
+
6
 
7
 
8
 
 
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.0.4
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
@@ -346,9 +346,10 @@ i.mce-i-feedzy-icon {
346
  }
347
 
348
  /* Columns */
349
- .feedzy-rss .feedzy-rss-col-1{
350
  width: 96%;
351
  }
 
352
  /* SCHIMBAT DIN ID in CLASA */
353
  .feedzy-rss .feedzy-rss-col-2,
354
  .feedzy-rss .feedzy-rss-col-3,
2
  * feedzy-rss-feeds.css
3
  * Feedzy RSS Feed
4
  * Copyright: (c) 2016 Themeisle, themeisle.com
5
+ * Version: 3.0.5
6
  * Plugin Name: FEEDZY RSS Feeds
7
  * Plugin URI: http://themeisle.com/plugins/feedzy-rss-feeds/
8
  * Author: Themeisle
346
  }
347
 
348
  /* Columns */
349
+ .feedzy-rss .feedzy-rss-col-1 {
350
  width: 96%;
351
  }
352
+
353
  /* SCHIMBAT DIN ID in CLASA */
354
  .feedzy-rss .feedzy-rss-col-2,
355
  .feedzy-rss .feedzy-rss-col-3,
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: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
18
- * Version: 3.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-lite/
17
  * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
18
+ * Version: 3.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
@@ -698,7 +698,8 @@ abstract class Feedzy_Rss_Feeds_Admin_Abstract {
698
  // TODO report error when is an error loading the feed
699
  if ( is_wp_error( $feed ) ) { return '';
700
  }
701
-
 
702
  $feed -> enable_cache( true );
703
  $feed -> enable_order_by_date( true );
704
  $feed -> set_cache_class( 'WP_Feed_Cache' );
698
  // TODO report error when is an error loading the feed
699
  if ( is_wp_error( $feed ) ) { return '';
700
  }
701
+ $feed->set_sanitize_class( 'SimplePie_Sanitize' );
702
+ $feed->sanitize = new SimplePie_Sanitize();
703
  $feed -> enable_cache( true );
704
  $feed -> enable_order_by_date( true );
705
  $feed -> set_cache_class( 'WP_Feed_Cache' );
includes/admin/feedzy-wp-widget.php CHANGED
@@ -233,10 +233,8 @@ class feedzy_wp_widget extends WP_Widget {
233
  'keywords_title' => $instance['keywords_title'],
234
  );
235
  $feedzy_widget_shortcode_attributes = apply_filters( 'feedzy_widget_shortcode_attributes_filter', $feedzy_widget_shortcode_attributes, $args, $instance );
236
- // Call the shortcode function
237
- $plugin_admin = new Feedzy_Rss_Feeds_Admin( Feedzy_Rss_Feeds::get_plugin_name(), Feedzy_Rss_Feeds::get_version() );
238
 
239
- echo $plugin_admin->feedzy_rss( $feedzy_widget_shortcode_attributes );
240
  echo $args['after_widget'];
241
 
242
  }
233
  'keywords_title' => $instance['keywords_title'],
234
  );
235
  $feedzy_widget_shortcode_attributes = apply_filters( 'feedzy_widget_shortcode_attributes_filter', $feedzy_widget_shortcode_attributes, $args, $instance );
 
 
236
 
237
+ echo feedzy_rss( $feedzy_widget_shortcode_attributes );
238
  echo $args['after_widget'];
239
 
240
  }
includes/feedzy-rss-feeds.php CHANGED
@@ -78,6 +78,20 @@ class Feedzy_Rss_Feeds {
78
  */
79
  protected $admin;
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  /**
82
  * Define the core functionality of the plugin.
83
  *
@@ -90,26 +104,13 @@ class Feedzy_Rss_Feeds {
90
  */
91
  public function init() {
92
  self::$plugin_name = 'feedzy-rss-feeds';
93
- self::$version = '3.0.3';
94
  self::$instance->load_dependencies();
95
  self::$instance->set_locale();
96
  self::$instance->define_admin_hooks();
97
 
98
  }
99
 
100
- /**
101
- * Init the main singleton instance class.
102
- *
103
- * @return Feedzy_Rss_Feeds Return the instance class
104
- */
105
- public static function instance() {
106
- if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Feedzy_Rss_Feeds ) ) {
107
- self::$instance = new Feedzy_Rss_Feeds;
108
- self::$instance->init();
109
- }
110
-
111
- return self::$instance;
112
- }
113
  /**
114
  * Load the required dependencies for this plugin.
115
  *
@@ -127,12 +128,34 @@ class Feedzy_Rss_Feeds {
127
  * @access private
128
  */
129
  private function load_dependencies() {
130
-
131
  include_once FEEDZY_ABSPATH . '/includes/feedzy-rss-feeds-feed-tweaks.php';
132
- self::$instance->loader = new Feedzy_Rss_Feeds_Loader();
133
  self::$instance->upgrader = new Feedzy_Rss_Feeds_Upgrader();
134
- self::$instance->admin = new Feedzy_Rss_Feeds_Admin( self::$instance->get_plugin_name(), self::$instance->get_version() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
 
 
 
 
 
 
 
 
 
 
136
  }
137
 
138
  /**
@@ -181,29 +204,6 @@ class Feedzy_Rss_Feeds {
181
  self::$instance->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
182
  }
183
 
184
- /**
185
- * The name of the plugin used to uniquely identify it within the context of
186
- * WordPress and to define internationalization functionality.
187
- *
188
- * @since 3.0.0
189
- * @access public
190
- * @return string The name of the plugin.
191
- */
192
- public static function get_plugin_name() {
193
- return self::$plugin_name;
194
- }
195
-
196
- /**
197
- * Retrieve the version number of the plugin.
198
- *
199
- * @since 3.0.0
200
- * @access public
201
- * @return string The version number of the plugin.
202
- */
203
- public static function get_version() {
204
- return self::$version;
205
- }
206
-
207
  /**
208
  * Run the loader to execute all of the hooks with WordPress.
209
  *
78
  */
79
  protected $admin;
80
 
81
+ /**
82
+ * Init the main singleton instance class.
83
+ *
84
+ * @return Feedzy_Rss_Feeds Return the instance class
85
+ */
86
+ public static function instance() {
87
+ if ( ! isset( self::$instance ) && ! ( self::$instance instanceof Feedzy_Rss_Feeds ) ) {
88
+ self::$instance = new Feedzy_Rss_Feeds;
89
+ self::$instance->init();
90
+ }
91
+
92
+ return self::$instance;
93
+ }
94
+
95
  /**
96
  * Define the core functionality of the plugin.
97
  *
104
  */
105
  public function init() {
106
  self::$plugin_name = 'feedzy-rss-feeds';
107
+ self::$version = '3.0.5';
108
  self::$instance->load_dependencies();
109
  self::$instance->set_locale();
110
  self::$instance->define_admin_hooks();
111
 
112
  }
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  /**
115
  * Load the required dependencies for this plugin.
116
  *
128
  * @access private
129
  */
130
  private function load_dependencies() {
 
131
  include_once FEEDZY_ABSPATH . '/includes/feedzy-rss-feeds-feed-tweaks.php';
132
+ self::$instance->loader = new Feedzy_Rss_Feeds_Loader();
133
  self::$instance->upgrader = new Feedzy_Rss_Feeds_Upgrader();
134
+ self::$instance->admin = new Feedzy_Rss_Feeds_Admin( self::$instance->get_plugin_name(), self::$instance->get_version() );
135
+
136
+ }
137
+
138
+ /**
139
+ * The name of the plugin used to uniquely identify it within the context of
140
+ * WordPress and to define internationalization functionality.
141
+ *
142
+ * @since 3.0.0
143
+ * @access public
144
+ * @return string The name of the plugin.
145
+ */
146
+ public static function get_plugin_name() {
147
+ return self::$plugin_name;
148
+ }
149
 
150
+ /**
151
+ * Retrieve the version number of the plugin.
152
+ *
153
+ * @since 3.0.0
154
+ * @access public
155
+ * @return string The version number of the plugin.
156
+ */
157
+ public static function get_version() {
158
+ return self::$version;
159
  }
160
 
161
  /**
204
  self::$instance->loader->add_action( 'widgets_init', $plugin_widget, 'registerWidget', 10 );
205
  }
206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  /**
208
  * Run the loader to execute all of the hooks with WordPress.
209
  *
languages/feedzy-rss-feeds.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Feedzy RSS Feeds Lite 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
- "POT-Creation-Date: 2017-01-11 11:14:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -280,15 +280,15 @@ msgstr ""
280
  msgid "Style 2"
281
  msgstr ""
282
 
283
- #: includes/admin/feedzy-wp-widget.php:48
284
  msgid "Feedzy RSS Feeds"
285
  msgstr ""
286
 
287
- #: includes/admin/feedzy-wp-widget.php:92
288
  msgid "Widget Title"
289
  msgstr ""
290
 
291
- #: includes/admin/feedzy-wp-widget.php:96
292
  msgid "Intro text"
293
  msgstr ""
294
 
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Feedzy RSS Feeds Lite 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/feedzy-rss-feeds/issues\n"
7
+ "POT-Creation-Date: 2017-01-12 11:03:04+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
280
  msgid "Style 2"
281
  msgstr ""
282
 
283
+ #: includes/admin/feedzy-wp-widget.php:40
284
  msgid "Feedzy RSS Feeds"
285
  msgstr ""
286
 
287
+ #: includes/admin/feedzy-wp-widget.php:83
288
  msgid "Widget Title"
289
  msgstr ""
290
 
291
+ #: includes/admin/feedzy-wp-widget.php:87
292
  msgid "Intro text"
293
  msgstr ""
294
 
readme.txt CHANGED
@@ -184,6 +184,9 @@ http://docs.themeisle.com/article/550-how-to-display-items-in-a-random-order
184
 
185
  == Changelog ==
186
 
 
 
 
187
  = 3.0.4 - 06/01/2017 =
188
  * Fixed thumb='auto' behaviour
189
 
184
 
185
  == Changelog ==
186
 
187
+ = 3.0.5 - 06/01/2017 =
188
+ * Fixed issue with google news feed
189
+
190
  = 3.0.4 - 06/01/2017 =
191
  * Fixed thumb='auto' behaviour
192