WP RSS Aggregator - Version 4.18.2

Version Description

(2021-04-26) = Changed - Audio players no longer preload the audio file. Audio is now loaded only the play button is clicked.

Fixed - Pagination would sometimes cause the page to scroll upwards. - Images were wrongly determined to be from Facebook and were being renamed incorrectly. - Invalid cron schedules no longer cause a fatal error. - The shortcode icon in the classic editor would sometimes not be shown.

Download this release

Release Info

Developer Mekku
Plugin Icon 128x128 WP RSS Aggregator
Version 4.18.2
Comparing to
See all releases

Code changes from version 4.18.1 to 4.18.2

CHANGELOG.md ADDED
@@ -0,0 +1,1279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Change log
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/).
6
+
7
+ ## [4.18.2] - 2021-04-26
8
+ ### Changed
9
+ * Audio players no longer preload the audio file. Audio is now loaded only the play button is clicked.
10
+
11
+ ### Fixed
12
+ * Pagination would sometimes cause the page to scroll upwards.
13
+ * Images were wrongly determined to be from Facebook and were being renamed incorrectly.
14
+ * Invalid cron schedules no longer cause a fatal error.
15
+ * The shortcode icon in the classic editor would sometimes not be shown.
16
+
17
+ ## [4.18.1] - 2021-03-15
18
+ ### Added
19
+ * New filters to change the time limits during image downloads.
20
+
21
+ ### Changed
22
+ * Using a single store URL for addon license verification.
23
+ * Increased the PHP execution time limits for image downloads.
24
+
25
+ ### Fixed
26
+ * Licenses for the Templates addon could not be verified.
27
+
28
+ ## [4.18] - 2021-03-08
29
+ ### Added
30
+ * The total import time is now recorded in the debug log.
31
+
32
+ ### Changed
33
+ * Omitting dev files from the plugin, reducing its size.
34
+ * Redesigned the "More Features" page.
35
+ * Feed items link to the original article when shown without a template and in RSS feeds.
36
+ * Allocating more PHP execution time for image downloads.
37
+
38
+ ### Fixed
39
+ * Images with HTML entities in the URL resulted in broken images and missing featured images.
40
+ * The code that checks when a feed is saved no longer runs unnecessarily.
41
+ * Fixed styling issues with the "Save" button in the Templates edit page.
42
+ * The max title length option in the "Default" template was being applied in the "Feed Items" page.
43
+
44
+ ## [4.17.10] - 2020-12-01
45
+ ### Fixed
46
+ * After updating the Templates add-on from v0.2, the add-on would be deactivated.
47
+
48
+ ## [4.17.9] - 2020-11-25
49
+ ### Changed
50
+ * Auto image detection is now able to find the feed channel image.
51
+ * SimplePie auto-discovery is turned off when the "Force feed" option is enabled.
52
+ * The Feed Source post type is no longer public.
53
+ * Meta box styling has been updated to match WordPress 5.3's updated styles.
54
+
55
+ ### Fixed
56
+ * Removed referer header from feed requests, fixed importing for some feeds.
57
+ * Feeds that contain items without titles no longer only import just the first item.
58
+ * Cron jobs are properly added/removed when the plugin is activated/deactivated, respectively.
59
+ * Problems with the default template no longer trigger a fatal error.
60
+
61
+ ## [4.17.8] - 2020-10-06
62
+ ### Changed
63
+ * Disabled SimplePie's HTML sanitization.
64
+ * Updated jQuery code to be compatible with the upcoming update in WordPress.
65
+ * Images without an extension can now be imported.
66
+ * The image importing function now allows the image URL and local path to be changed via filters.
67
+ * Changed how item importing is logged in the debugging log. The log now shows what hooks can reject an item.
68
+
69
+ ### Fixed
70
+ * WooCommerce Product type dropdown and accompanying options disappear while WP RSS Aggregator is active.
71
+ * Addressed notices about `register_rest_route` being called incorrectly.
72
+ * The "Validate feed" link did not work.
73
+ * Sites on a multi-site network would see an error about a function not existing.
74
+ * Errors would not be properly rendered for non-fatal notices and warnings.
75
+
76
+ ## [4.17.7] - 2020-08-12
77
+ ### Added
78
+ * New HTML classes for pagination buttons.
79
+
80
+ ### Fixed
81
+ * The featured image when using the Feed to Post add-on was not being saved.
82
+
83
+ ### Changed
84
+ * FeedBurner feeds no longer need to have "format=xml" at the end of the URL.
85
+
86
+ ## [4.17.6] - 2020-07-29
87
+ ### Added
88
+ * A link in the New/Edit Feed Source page on how to find an RSS feed.
89
+
90
+ ### Changed
91
+ * The "Force feed" option turns off SSL verification.
92
+ * Improved wording on the Help page.
93
+ * Dates in templates can now be translated.
94
+ * The link to the article on how to find an RSS feed now links to an article from the plugin's knowledge base.
95
+ * The "Unique Titles" feed option can now be set to default to the global setting.
96
+
97
+ ### Fixed
98
+ * Rewrite rules would always get flushed when plugins tamper with them, such as Polylang Pro.
99
+ * The "Delete All Imported Items" reset option was deleting all posts on the site.
100
+ * Image options would not show up when using Feed to Post to import Feed Items.
101
+
102
+ ### Removed
103
+ * A `gettext` filter that changes the text for saving feeds, for performance reasons.
104
+
105
+ ## [4.17.5] - 2020-04-22
106
+ ### Changed
107
+ * Now showing a case study of a site using the Pro Plan in the on-boarding wizard.
108
+ * Licenses are now managed by the main site. Child sites do not have access to the licenses page.
109
+
110
+ ### Fixed
111
+ * The custom feed did not include items imported as posts or other post types.
112
+
113
+ ### Removed
114
+ * Temporarily disabled the "What's New" page.
115
+ * Removed the integration with Lorem on the "Help & Support" page.
116
+ * Removed the integration with Lorem on the "More Features" page.
117
+
118
+ ## [4.17.4] - 2020-03-16
119
+ ### Changed
120
+ * The default template is now created based on type, not slug.
121
+
122
+ ### Fixed
123
+ * Templates could not be saved if the request contained extra form data.
124
+ * The default template would be copied multiple times if a post on the site had the "default" slug.
125
+ * Feed item title did not escape HTML entities correctly.
126
+ * Source name and link were sometimes incorrect in the custom feed.
127
+ * Undefined index during error handling.
128
+ * Better error messages when an error occurs.
129
+
130
+ ## [4.17.3] - 2020-01-23
131
+ ### Changed
132
+ * Updated code to fix deprecation warnings on PHP version 7.4 and later.
133
+ * Updated the Twig library to version `1.41.0` to fix deprecation warnings on PHP version 7.4 and later.
134
+ * Updated the default translation files to contain up-to-date text.
135
+
136
+ ### Fixed
137
+ * Removed a false-positive error from the log.
138
+ * Localization in Twig templates did not work.
139
+ * When revisions are enabled, an error would prevent feed sources from being saved.
140
+ * Translations were being loaded from an invalid path.
141
+ * The default featured image in the New/Edit Feed Source page did not preview after saving the feed source.
142
+ * Missing space between the link `a` tag and the `href` attribute on PHP 7.4
143
+
144
+ ### Removed
145
+ * Removed warning when trying to blacklist a non-imported post.
146
+
147
+ ## [4.17.2] - 2019-12-19
148
+ ### Added
149
+ * The error handler now includes the file and line where the error occurred.
150
+
151
+ ### Changed
152
+ * The obsolete "Link Source" option is now only shown when the Excerpts & Thumbnails add-on is active.
153
+
154
+ ### Fixed
155
+ * The new "feeds" shortcode parameter only showed feed items for the first 10 feed sources.
156
+
157
+ ## [4.17.1] - 2019-12-12
158
+ ### Fixed
159
+ * The new slug option was appearing on the edit pages for posts of all types.
160
+
161
+ ## [4.17] - 2019-12-11
162
+ ### Added
163
+ * New "Tools" that replaces the "Blacklist", "Import/Export" and "Debugging" pages.
164
+ * New option to control whether items with future dates are scheduled or published with truncated dates.
165
+ * New "feeds" shortcode parameter to select feed sources by their slug names.
166
+ * New "1 week" update interval option to update feeds once every week.
167
+ * The "Edit Feed Source" page now allows the slug to be edited.
168
+ * The "Edit Feed Source" page now shows shortcode snippets.
169
+
170
+ ### Changed
171
+ * RSS feeds that are invalid due to leading whitespace are now trimmed and may now be imported.
172
+ * Images that have the same URL are now downloaded to the media library only once.
173
+ * Updated some styles to match the new WordPress 5.3 aesthetic.
174
+ * Optimized template saving to be more performant and less error prone.
175
+ * Improved error messages in REST API responses.
176
+ * Removed some log messages.
177
+ * Fatal errors are now always logged.
178
+ * Optimized cron-related functionality.
179
+ * The plugin will no longer register cron schedules that already exist.
180
+ * License-related notices are now only shown to users who have access to the Licenses settings page.
181
+
182
+ ### Fixed
183
+ * The "Import Source" option did not work.
184
+ * Templates now link imported posts to the local post instead of to the original article.
185
+ * Images with HTML entities in the URL could not be downloaded.
186
+ * Feed items without a PolyLang translation did not show up in templates.
187
+ * PHP notices were triggered when trying to download invalid images.
188
+ * The feed item count in the "Feed Sources" page would show zero when certain add-ons are installed.
189
+ * Removed a warning shown in templates about `reset()` expecting an array.
190
+ * Thumbnails imported by Excerpts & Thumbnails were not shown in templates.
191
+ * Some databases would report the following error during logging: "Column 'date' cannot be null".
192
+ * Unserializing the options for the system info triggered PHP notices.
193
+
194
+ ### Removed
195
+ * A WordPress 5.1 function was being used to check for ready cron jobs, now replaced with a custom function.
196
+
197
+ ## [4.16] - 2019-10-31
198
+ ### Changed
199
+ * Overhauled the data set system with a more robust entity system.
200
+ * Various database optimizations for better performance.
201
+
202
+ ### Fixed
203
+ * Incompatibility with other plugins that use similar import/export mechanisms.
204
+ * Incompatibility with PolyLang, causing the block and shortcode to show no feed items.
205
+ * Timeout and infinite loop when saving a feed source.
206
+
207
+ ## [4.15.2] - 2019-10-03
208
+ ### Added
209
+ * Links and integrations with Lorem for custom developer work.
210
+
211
+ ### Changed
212
+ * The default logging type is now "debug".
213
+ * Feeds are now sorted alphabetically by default.
214
+
215
+ ### Fixed
216
+ * Multisite installations only allowed the main site to have activated licenses.
217
+ * License notices now only appear on the main site if the site is a multisite network.
218
+ * Blacklist items would occassionally be saved without a permalink.
219
+ * Older versions of add-ons triggered errors when trying to log messages with the default log type.
220
+ * Fixed checkbox legacy display options not saving correctly.
221
+ * A saved empty useragent string in the settings caused the internal default to not be used.
222
+ * The certificate path option was not defaulting correctly.
223
+ * Media thumbnail images were not being detected properly.
224
+ * An invalid feed would trigger false positive errors on fetch.
225
+
226
+ ## [4.15.1] - 2019-08-14
227
+ ### Added
228
+ * New link to the custom feed in the "Custom Feed" settings page.
229
+
230
+ ### Changed
231
+ * Updated the logging system to no longer cause VaultPress to trigger false positive warnings.
232
+ * The date format in the custom feed now uses the "RFC3339 Extended" format.
233
+
234
+ ### Fixed
235
+ * Items with the same title were not being imported even when "Unique titles only" was turned off.
236
+ * Items with future dates where marked as "scheduled" by WordPress.
237
+ * The custom feed's "Content-Type" header was set for RSS 2.0 instead of Atom.
238
+ * Imported images were not being deleted from the media library when the imported item is deleted.
239
+ * PHP notice for "undefined index enclosure" when a feed cannot be fetched.
240
+ * Deprecation notice on PHP 7.2 or later for "each" function.
241
+ * Warnings when the `wprss_log` function is used incorrectly.
242
+ * PHP notice for "property of non-object" when using YoastSEO.
243
+ * After using the Templates add-on, images would continue to be imported after the add-on was deactivated.
244
+
245
+ ## [4.15] - 2019-07-16
246
+ ### Added
247
+ * New error handling for catchable PHP7 `Throwable` errors.
248
+ * New option to enable feed caching for better performance.
249
+ * New option to import source name and URL for each item individually.
250
+ * The custom feed now includes source info for every item.
251
+
252
+ ### Changed
253
+ * Improved some exception messages to better indicate the cause of certain problems.
254
+ * Re-organized settings into multiple tabs.
255
+ * Added the current site URL to the custom feed URL option's label.
256
+
257
+ ### Fixed
258
+ * Feed sources had image importing wrongly enabled by default.
259
+ * Downloading the debug log triggered an error.
260
+ * The custom feed self URL ignored the settings and was incorrect.
261
+ * Items in the custom feed had a missing `rel` attribute for their `<link>` element.
262
+ * Fixed placement of WordPress notices on the Templates List and Edit page.
263
+ * Fixed WordPress notices disappearing after moving between Templates list and edit page.
264
+
265
+ ## [4.14] - 2019-07-09
266
+ ### Added
267
+ * YouTube channel URLs are now supported.
268
+ * Items imported from YouTube are detected and their embed links are saved.
269
+ * Embedded YouTube videos can now be shown in a lightbox.
270
+ * New option to enable or disable the plugin's logging.
271
+ * New option to set the log age, in days, for daily truncation.
272
+ * Image URLs are detected and saved in feed item meta, to be used by templates that can show images.
273
+ * Feed item excerpts are now imported, to be used by templates that can show excerpts.
274
+ * Activating or pausing feed sources from the Feed Sources page is now asynchronous.
275
+ * Deleting feed items from the Feed Sources page is now asynchronous.
276
+ * New plugin-wide error handling to prevent site locks, with the option to deactivate the plugin and its addons.
277
+ * Feed sources that are missing their respective cron are detected and fixed while on the Feed Sources page.
278
+ * Added tooltips to various links and controls in the feed source list page.
279
+ * Import errors are now asynchronously added to the error icon in the feed sources list page.
280
+
281
+ ### Changed
282
+ * Previewing a template no longer requires saving the template.
283
+ * Redesigned the feed sources page to be more compact and informative at a glance.
284
+ * The imported item count in the feed sources page is now a link to that feed's imported items.
285
+ * Improved the responsive styling of the feed sources list table.
286
+ * The custom feed now uses the Atom 1.0 standard.
287
+ * Improved the detection of cron scheduling failures, prevent feeds from appearing to be stuck.
288
+ * Converted log section in the debugging page to use the new module system.
289
+ * Some options were renamed to be consistent across various plugin pages.
290
+ * Improved the wording, description and tooltip of the "Import order" option.
291
+ * Added better error handling during image file creation when using the GD extension.
292
+ * Rewrote the unique item title checking logic to be faster and more accurate.
293
+ * Now suppressing "non-numeric value encountered" warnings from SimplePie.
294
+ * Increased the time by which the plugin detects stuck feeds to 2 minutes.
295
+ * The addon licensing registration system has been partially converted to the new module system.
296
+
297
+ ### Fixed
298
+ * The default template could not be saved with a particular combination of settings.
299
+ * The age limit setting was incorrectly being copied to feed sources.
300
+ * Fixed links in templates not opening in new tabs under certain conditions.
301
+ * Non image files are no longer wrongly downloaded, cached and treated as images.
302
+ * The unique titles option caused a PHP warning when enabled.
303
+ * Fixed use of previously cached version scripts and styles for the Templates page.
304
+ * Fixed pagination not working correctly when no item limit is set.
305
+ * Fixed the "Set links as no follow" option not having any effect.
306
+ * An empty limit for the number of items in a template silently defaults to 5 items.
307
+ * The name of the user was being shown as the author for feed items that had no author.
308
+ * Fixed the "property on non-object" error on the Licensing settings page for new addons.
309
+ * On some sites, multiple default templates are constantly being created.
310
+ * The default template is auto-created is corrupted data. An update procedure will now fix this data.
311
+
312
+ ### Removed
313
+ * Removed old secure reset code.
314
+ * The "View items" row action link in the Feed Sources page has been removed.
315
+ * Removed the "Edit" bulk action from the feed sources list page.
316
+
317
+ ## [4.13.2] - 2019-05-14
318
+ ### Added
319
+ * A custom Twig extension for WordPress-based i18n.
320
+
321
+ ### Changed
322
+ * Now correctly requiring WordPress version 4.8 or later.
323
+ * Improved the JS architecture to allow addons to extend the UI.
324
+ * The deactivation poll will now be shown only 50% of the time, randomly.
325
+
326
+ ### Fixed
327
+ * The time ago format for the list template was not respecting the WordPress timezone setting.
328
+ * HTML in log messages were breaking the Debugging page.
329
+ * The feed items were not being explicitly sorted, which could lead to unsorted items.
330
+
331
+ ## Removed
332
+ * Removed the polyfill for the `gettext()` function.
333
+
334
+ ## [4.13.1] - 2019-04-30
335
+ ### Changed
336
+ * Disabled Twig cache due to tmp permission issues and false-positive suspicious file reporting by hosts.
337
+ * The list template's pagination option is now set to disabled by default, matching previous versions.
338
+
339
+ ### Fixed
340
+ * Re-added missing HTML classes in the list template that had broken user custom CSS styles.
341
+ * Added a polyfill for the `gettext()` function for sites that don't have the PHP `gettext` extension enabled.
342
+ * Re-added a function that was removed in v4.13, and marked it as deprecated.
343
+ * Fixed feed item dates not using the site's timezone.
344
+ * Fixed styles for the legacy rendering system used by the Excerpts & Thumbnails addon.
345
+
346
+ ## [4.13] - 2019-04-24
347
+ ### Added
348
+ * Introduced feed templates.
349
+ * Introduced a WP RSS Aggregator Gutenberg block.
350
+ * Brand new debug log and logging system that stores logs in the database.
351
+ * Items can now be added to the Blacklist manually.
352
+
353
+ ### Changed
354
+ * Refactored a lot of legacy code over to the new modular system.
355
+ * General display settings have been moved to the "Default" template type.
356
+ * Reorganized the general plugin settings. Advanced options are now under an advanced settings section.
357
+ * Removed the "Add New" menu item from the RSS Aggregator menu.
358
+ * The feed sources page now updates every 1 second.
359
+ * Updated the TinyMCE dialog options for inserting a shortcode on a page or post (Classic Editor).
360
+ * Updated administrator and editor role capabilities, fixing various permission bugs.
361
+ * Updated a lot of setting descriptions and tooltips.
362
+ * The help support beacon is now enabled by default.
363
+
364
+ ### Fixed
365
+ * Import errors no longer "freeze" feed sources in an infinite importing state.
366
+ * Some import errors would not be logged due to script timeout or execution errors.
367
+ * Feed to Post was not able to show feed items in the shortcode.
368
+ * Deprecation notices on PHP 7.3.
369
+ * The "Force feed" option was not properly being applied to feed sources.
370
+ * A bug that caused perfectly good RSS feeds to trigger gzip errors.
371
+ * The "Delete permanently & blacklist" row action was appearing for non-feed-item post types.
372
+
373
+ ### Removed
374
+ * The notice that asks users to leave a review was removed due to various bugs.
375
+
376
+ ## [4.12.3] - 2019-04-01
377
+ ### Fixed
378
+ * Fixed an issue with Feed to Post not being able to show feed items in the shortcode.
379
+ * Fixed deprecation notices on PHP 7.3.
380
+
381
+ ## [4.12.2] - 2019-03-26
382
+ ### Fixed
383
+ * Fixed an admin capability bug that disallowed admin users from fetching feed items.
384
+
385
+ ## [4.12.1] - 2019-02-27
386
+ ### Added
387
+ * Added a modal with an optional poll when the plugin is deactivated.
388
+
389
+ ### Changed
390
+ * Improved the core plugin's on-boarding process for brand new users.
391
+ * The timeout for the truncating posts hook has been extended.
392
+
393
+ ### Fixed
394
+ * Fixed the "Sorted" error appearing constantly in the debug log.
395
+ * Fixed PHP warnings appearing on WordPress multisite.
396
+ * Fixed PHP notice appearing on Feed Items page.
397
+ * Fixed strict standards notice appearing on settings import.
398
+
399
+ ## [4.12] - 2019-01-29
400
+ ### Added
401
+ * The plugin now checks if its running on PHP 5.3.9, and deactivates itself when not.
402
+ * Added message informing users that v4.13 will drop support for PHP 5.3.
403
+ * Added an introduction page for new plugin users.
404
+
405
+ ### Changed
406
+ * Changed protocol for all links to HTTPS wherever necessary or applicable.
407
+
408
+ ### Removed
409
+ * Disabled the welcome page on activation and updates.
410
+
411
+ ## [4.11.4] - 2018-12-11
412
+ ### Added
413
+ * Added handling of lifetime licenses.
414
+
415
+ ### Changed
416
+ * License renewal link and expiry are not shown if they are not applicable.
417
+
418
+ ## [4.11.3] - 2018-05-23
419
+ ### Changed
420
+ * Updated Help & Support page.
421
+
422
+ ## [4.11.2] - 2017-09-18
423
+ ### Added
424
+ * Added 2 new general settings for item import order and per-import limit.
425
+
426
+ ### Changed
427
+ * Cosmetic and documentation improvements.
428
+
429
+ ## [4.11.1] - 2017-03-07
430
+ ### Fixed
431
+ * Fixed bug that caused minor publishing controls to be hidden on unrelated Edit screens.
432
+
433
+ ## [4.11] - 2017-03-06
434
+ ### Changed
435
+ * Enhanced Licenses page so as to make the [Enter] key toggle license activation.
436
+ * Enhanced architecture by using a DI container.
437
+ * Enhanced admin notifications by refactoring them to use the same mechanism.
438
+ * Enhanced admin notifications by making all of them dismissible.
439
+
440
+ ### Fixed
441
+ * Fixed bug with lifetime licenses showing expiry notices.
442
+ * Fixed bug with being able to submit form on Licenses page.
443
+ * Fixed bug with empty saved license key causing PHP notice, and not triggering reminder notification.
444
+ * Fixed bug with saved but inactive licenses not triggering reminder notification.
445
+ * Fixed bug with minified assets not being served by default.
446
+ * Fixed bug with cached admin assets being served even after update.
447
+ * Fixed bug with admin notifications displayed on unrelated pages not being dismissible.
448
+
449
+ ## [4.10] - 2016-12-29
450
+ ### Added
451
+ * Added a per-feed-source "Link Source" option.
452
+ * Added a per-feed-source "Feed Request User Agent" option.
453
+ * Now using Composer!
454
+ * Now using Phing!
455
+ * Added RegEx HTML Encodifier.
456
+ * Added integration with Diagnostics plugin, and tests.
457
+ * Added "Leave a Review" notification.
458
+
459
+ ### Changed
460
+ * The "Add New" button no longer appears for feed items.
461
+ * Logs are now created in `wp-content/log/wprss`, and are named more descriptively.
462
+
463
+ ### Fixed
464
+ * Fixed bug with feed error output breaking tooltips on "Feed Sources" page.
465
+ * Fixed bug with nonces on the "Feed Sources" page that broke some source actions.
466
+ * Fixed problem with image cache filenames being too long.
467
+ * Fixed problem with permalink URLs sometimes being URL-encoded.
468
+ * Fixed problem with large logs causing OOM errors and breaking Debugging page.
469
+ * Fixed conflict with function `unparse_url()`.
470
+ * Fixed bug with `_getDataOrConst()` not retrieving single value.
471
+ * Fixed future incompatibility with `class-feed.php` for WP 4.7+.
472
+ * Fixed conflicts with many JS scripts by only adding JS on our admin pages.
473
+ * Fixed conflicts with some classes by loading only valid root namespace components.
474
+ * Fixed PHP warning related to retrieving unique titles.
475
+
476
+ ## [4.9.1] - 2016-08-01
477
+ ### Changed
478
+ * Changed copyright and other info in plugin header.
479
+
480
+ ## [4.9] - 2016-06-14
481
+ ### Changed
482
+ * Enhanced: Visual improvements.
483
+
484
+ ### Fixed
485
+ * Fixed bug: Potential security vulnerability related to triggering feed update.
486
+ * Fixed bug: Error output on Feed Sources list is trimmed and cannot break the page layout.
487
+ * Fixed bug: Certain notices could not be dismissed.
488
+ * Fixed bug: Word trimming didn't always trim correctly with HTML.
489
+
490
+ ## [4.8.2] - 2016-02-22
491
+ ### Changed
492
+ * Enhanced: Users can now override useragent sent with feed requests.
493
+ * Enhanced: Improvements to plugin updating system.
494
+ * Enhanced: Readme updated.
495
+ * Enhanced: "Open link behaviour" option's internal handling has been improved.
496
+
497
+ ### Fixed
498
+ * Fixed bug: Interface methods used to conflict, causing fatal error on activation.
499
+ * Fixed bug: Empty feed response used to cause misleading error message in log.
500
+
501
+ ## [4.8.1] - 2016-02-02
502
+ ### Changed
503
+ * Enhanced: Visual improvements.
504
+ * Enhanced: Included new Object Oriented code.
505
+
506
+ ### Fixed
507
+ * Fixed bug: Some exceptions used to cause fatal errors.
508
+ * Fixed bug: Requests made by image caching used to always have an infinite timeout.
509
+ * Fixed bug: Licensing algorithm used to use constants of inactive plugins, causing fatal error.
510
+
511
+ ## [4.8] - 2015-12-30
512
+ ### Changed
513
+ * Enhanced: Major licensing system improvements.
514
+
515
+ ### Fixed
516
+ * Fixed bug: Licensing notices will now be displayed again.
517
+
518
+ ## [4.7.8] - 2015-11-18
519
+ ### Changed
520
+ * Enhanced: Added autoloading and refactored licensing.
521
+ * Enhanced: Added button to download error log.
522
+ * Enhanced: Cosmetic changes and fixes.
523
+
524
+ ### Fixed
525
+ * Fixed bug: Sticky posts no longer get deleted when truncating, unless imported from a feed source.
526
+
527
+ ## [4.7.7] - 2015-10-19
528
+ ### Changed
529
+ * Enhanced: Optimized checking for plugin updates.
530
+
531
+ ## [4.7.6] - 2015-10-07
532
+ ### Changed
533
+ * Enhanced: Feeds that fail to validate due to whitespace at the beginning are now supported by the plugin.
534
+
535
+ ### Fixed
536
+ * Fixed bug: Undefined variables in the System Info section in the Debugging page.
537
+ * Fixed bug: Add-on license expiration notices could not be dismissed.
538
+
539
+ ## [4.7.5] - 2015-09-02
540
+ ### Changed
541
+ * Enhanced: Licensing errors will be output to debug log.
542
+ * Enhanced: Improved compatibility with plugins that allow AJAX searching in the backend.
543
+
544
+ ### Fixed
545
+ * Fixed bug: error related to undefined `ajaxurl` JS variable gone from frontend.
546
+
547
+ ### Removed
548
+ * Usage tracking now disabled.
549
+
550
+ ## [4.7.4] - 2015-08-20
551
+ ### Changed
552
+ * Requirement: WordPress 4.0 or greater now required.
553
+
554
+ ### Fixed
555
+ * Fixed bug in image caching
556
+ * Fixed bug in admin interface due to incorrectly translated IDs
557
+
558
+ ## [4.7.3] - 2015-08-04
559
+ ### Added
560
+ * Core now implements an image cache logic.
561
+ * Russian translation added.
562
+ * Google Alerts permalinks are now normalized.
563
+
564
+ ### Changed
565
+ * Enhanced: Add-ons on the "Add-ons" page now have an installed-but-inactive status.
566
+
567
+ ### Fixed
568
+ * Fixed bug: Inline help (tooltips) translations now work.
569
+ * Fixed bug: Link to the Feed to Post add-on on the welcome page is no longer broken.
570
+
571
+ ## [4.7.2] - 2015-06-30
572
+ ### Changed
573
+ * Enhanced: Copyright updated.
574
+
575
+ ### Fixed
576
+ * Fixed bug: Word trimming no longer adds extra closing tags at the end.
577
+ * Fixed bug: Presence of `idna_convert` class no longer causes infinite redirects on some servers.
578
+ * Fixed bug: Warning of unterminated comment no longer thrown in PHP 5.5.
579
+ * Fixed bug: Added default value for "Unique Titles" option.
580
+ * Fixed bug: Having a the port number specified with the database host no longer causes issues with the `mysqli` adapter in System Info on some servers.
581
+ * Fixed bug: Nested options of inline help controller no longer cause a fatal error.
582
+ * Fixed bug: Notices will no longer be displayed during rendering of feed items due to absence of required default values.
583
+
584
+ ## [4.7.1] - 2015-04-23
585
+ ### Fixed
586
+ * Fixed bug: No warning will be thrown when fetching feeds.
587
+
588
+ ## [4.7] - 2015-04-21
589
+ ### Added
590
+ * Optionally import only items with titles that don't already exist.
591
+ * Added support for multibyte strings in some places.
592
+
593
+ ### Changed
594
+ * Enhanced: Accessing feeds over HTTPS is now possible.
595
+ * Enhanced: Increased JS compatibility with other plugins.
596
+ * Enhanced: Increased UI support for mobile devices.
597
+
598
+ ### Fixed
599
+ * Fixed bug: Having no mysqli extension no longer causes an error to appear in the debug info.
600
+ * Fixed bug: Saving an empty license key no longer results in a warning.
601
+
602
+ ## [4.6.13] - 2015-03-20
603
+ ### Fixed
604
+ * Fixed bug: The "Force feed" option wasn't being correctly used.
605
+
606
+ ## [4.6.12] - 2015-03-09
607
+ ### Fixed
608
+ * Fixed bug: The "Force feed" option was being removed by the Feed to Post add-on.
609
+
610
+ ## [4.6.11] - 2015-03-04
611
+ ### Changed
612
+ * Enhanced: The Help page now includes a support form if a premium add-on is detected.
613
+ * Enhanced: Updated some translations for admin options.
614
+
615
+ ### Fixed
616
+ * Fixed bug: Help tooltips are now optimized for iPad screens.
617
+ * Fixed bug: Errors on the licensing page when a license code has not yet been entered.
618
+
619
+ ## [4.6.10] - 2015-02-10
620
+ ### Added
621
+ * Markdown library added. Changelog now read from readme.
622
+
623
+ ### Changed
624
+ * Enhanced: AJAX license activation.
625
+ * Enhanced: License form more reliable.
626
+ * Enhanced: license-related UI improvements
627
+
628
+ ### Fixed
629
+ * Fixed bug: Saving license keys not longer triggers error in some cases.
630
+
631
+ ## [4.6.9] - 2015-01-21
632
+ ### Changed
633
+ * Enhanced: Admin user will now be warned about invalid or expiring licenses.
634
+ * Enhanced: Admin notices logic centralized in this plugin.
635
+
636
+ ### Fixed
637
+ * Fixed: Multiple small-scale security vulnerabilities.
638
+ * Fixed: Ampersand in feed URL no longer causes the product of generated feeds to be invalidated by W3C Validator.
639
+
640
+ ## [4.6.8] - 2015-01-07
641
+ ### Changed
642
+ * Enhanced: Added more logging during feed importing.
643
+ * Enhanced: Irrelevent metaboxes added by other plugins are now removed from the Add/Edit Feed Source page.
644
+
645
+ ### Fixed
646
+ * Fixed bug: Valid feed URLS were being invalidated.
647
+ * Fixed bug: The Blacklist feature was being hidden when the Feed to Post add-on was enabled.
648
+ * Fixed bug: Patched a vulnerability where any user on the site can issue a feed fetch.
649
+ * Fixed bug: The "Activate" and "Pause" actions are not shown in the bulk actions dropdown in WordPress v4.1.
650
+
651
+ ## [4.6.7] - 2014-12-17
652
+ ### Changed
653
+ * Enhanced: Some minor interface updates.
654
+ * Enhanced: Added filters for use by the premium add-ons.
655
+
656
+ ## [4.6.6] - 2014-12-06
657
+ ### Added
658
+ * Added output layouts for feed sources and feed items.
659
+ * Added time limit extending to prevent script from exhausting its execution time limit while importing.
660
+
661
+ ### Changed
662
+ * Enhanced: Updated EDD updater class to version 1.5.
663
+
664
+ ### Fixed
665
+ * Fixed bug: The "Delete and Re-import" button was deleting items but not re-importing.
666
+ * Fixed bug: Non-object errors when a feed source is deleted while importing.
667
+
668
+ ## [4.6.5] - 2014-11-17
669
+ ### Changed
670
+ * Enhanced: Improved the logging.
671
+ * Enhanced: Improved the licensing fields.
672
+ * Enhanced: Updated the EDD updater class to the latest version.
673
+
674
+ ### Fixed
675
+ * Fixed bug: Small random error when viewing the licenses page.
676
+
677
+ ## [4.6.4] - 2014-11-10
678
+ ### Changed
679
+ * Enhanced: Added filters to the custom feed.
680
+ * Enhanced: Updated some styles to improve the user interface.
681
+
682
+ ### Fixed
683
+ * Fixed bug: The "Remove selected from Blacklist" button had no nonce associated with it.
684
+ * Fixed bug: The Blacklist menu entry was not always being shown.
685
+
686
+ ## [4.6.3] - 2014-11-3
687
+ ### Changed
688
+ * Enhanced: Re-added the "Add New" link in the plugin's menu.
689
+ * Enhanced: Improved error logging.
690
+ * Enhanced: Bulk actions in the Feed Sources page are now also included in the bottom dropdown menu.
691
+
692
+ ### Fixed
693
+ * Fixed bug: Add-on updater was prone to conflicts. Now enclosed in an action.
694
+ * Fixed bug: The Full Text RSS Feeds add-on was not showing as active in the "Add-ons" page.
695
+ * Fixed bug: Broken links in the "Add-ons" page, to add-on pages on our site.
696
+
697
+ ## [4.6.2] - 2014-10-15
698
+ ### Added
699
+ * Added a new filter to modify the text shown before author names.
700
+ * Added better debug logging.
701
+
702
+ ### Changed
703
+ * Enhanced: Improved plugin responsiveness.
704
+ * Enhanced: Updated some help text in tooltips with better explainations and added clarity.
705
+ * Enhanced: Optimized some old SQL queries.
706
+
707
+ ### Changed
708
+ * Fixed bug: Licenses were not showing as active, even though they were activated.
709
+
710
+ ## [4.6.1] - 2014-10-06
711
+ ### Changed
712
+ * Enhanced: Improved internationalization in the plugin, for better translations.
713
+
714
+ ### Fixed
715
+ * Fixed bug: If the feed source age limit was left empty, the global setting was used instead of ignoring the limit.
716
+
717
+ ## [4.6] - 2014-09-22
718
+ ### Changed
719
+ * Enhanced: Improved the user interface, with better responsiveness and tooltips.
720
+ * Enhanced: Removes the ID column. The ID is now shown fixed in row actions.
721
+ * Enhanced: Feed Preview indicates if feed items have no dates.
722
+
723
+ ### Fixed
724
+ * Fixed bug: If a feed item has no date, the date and time it was imported is used.
725
+
726
+ ## [4.5.3] - 2014-09-15
727
+ ### Changed
728
+ * Added filter to allow adding RSS feeds to the head of your site's pages for CPTs.
729
+
730
+ ### Changed
731
+ * Enhanced: Columns in the feed sources table are now sortable.
732
+ * Enhanced: Removed the ID column in the feed sources table. The ID has been moved as a row action.
733
+ * Enhanced: Improved various interface elements.
734
+ * Enhanced: Better responsiveness for smaller screen.
735
+
736
+ ### Fixed
737
+ * Fixed bug: The importing spinning icon would get stuck and spin for a very long time.
738
+ * Fixed bug: Removed an old description meta field.
739
+ * Fixed bug: Plugin was not removing all scheduled cron jobs when deactivated.
740
+
741
+ ## [4.5.2] - 2014-09-09
742
+ ### Changed
743
+ * Enhanced: Optimized plugin for WordPress 4.0.
744
+ * Enhanced: Improved template and added filters for add-on hooking.
745
+
746
+ ### Fixed
747
+ * Fixed bug: Editor toolbar visible over the WP RSS shortcode dialog.
748
+
749
+ ## [4.5.1] - 2014-08-26
750
+ ### Fixed
751
+ * Fixed bug: Last import feed item count stays at zero.
752
+ * Fixed bug: Datetime::setTimestamp error when using PHP 5.2 or earlier.
753
+ * Fixed bug: The display limit was not working.
754
+ * Fixed bug: Minor bug in licensing.
755
+
756
+ ## [4.5] - 2014-08-25
757
+ ### Added
758
+ * New Feature: Bulk importer allows you to create multiple feed sources at once.
759
+
760
+ ### Changed
761
+ * Enhanced: Improved OPML importer with added hooks.
762
+ * Enhanced: Centralized add-on licensing, fixing multiple bugs.
763
+
764
+ ### Fixed
765
+ * Fixed bug: Undefined `feed_limit` errors when using the shortcode.
766
+
767
+ ## [4.4.4] - 2014-08-19
768
+ ### Fixed
769
+ * Fixed bug: Errors when using older PHP versions 5.3 or lower.
770
+
771
+ ## [4.4.3] - 2014-08-19
772
+ ### Fixed
773
+ * Fixed bug: Errors when using older PHP versions 5.3 or lower.
774
+
775
+ ## [4.4.2] - 2014-08-19
776
+ ### Fixed
777
+ * Fixed bug: Errors when using older PHP versions 5.3 or lower.
778
+
779
+ ## [4.4.1] - 2014-08-18
780
+ ### Changed
781
+ * Enhanced: Various improvements to the plugin interface and texts.
782
+ * Enhanced: Moved the restore default settings button farther down the Debugging page, to avoid confusion with the delete button.
783
+
784
+ ### Fixed
785
+ * Fixed bug: Feed item dates were not being adjusted to the timezone when using a GMT offset.
786
+ * Fixed bug: Feed item dates are now adjusted according to daylight savings time.
787
+
788
+ ## [4.4] - 2014-08-11
789
+ ### Added
790
+ * Blacklist - delete items and blacklist them to never import them again.
791
+
792
+ ### Changed
793
+ * Enhanced: Added a button in the Debugging page to reset the plugin settings to default.
794
+ * Enhanced: WordPress Yoast SEO metaboxes and custom columns will no longer appear.
795
+
796
+ ## [4.3.1] - 2014-08-08
797
+ ### Changed
798
+ * Enhanced: Better wording on settings page.
799
+
800
+ ### Fixed
801
+ * Fixed bug: The Links Behaviour option in the settings was not working.
802
+ * Fixed bug: The wrong feed items were being shown for some sources when using the "View Items" row action.
803
+
804
+ ## [4.3] - 2014-08-04
805
+ ### Added
806
+ * New Feature: Feed items now also import authors.
807
+
808
+ ### Changed
809
+ * Enhanced: Custom feed is now in RSS 2.0 format.
810
+ * Enhanced: Improved the display template for feed items.
811
+
812
+ ### Fixed
813
+ * Fixed bug: Custom feed was not working in Firefox.
814
+ * Fixed bug: Some feed items were showing items from another feed source.
815
+ * Fixed bug: The feed limit in the global settings was not working.
816
+
817
+ ## [4.2.3] - 2014-07-29
818
+ ### Changed
819
+ * Enhanced: Added an option to choose between the current pagination type, and numbered pagination.
820
+ * Enhanced: The Feed Preview now also shows the total number of items in the feed.
821
+
822
+ ### Fixed
823
+ * Fixed bug: A PHP warning error was being shown in the System Info.
824
+ * Fixed bug: Language files were not always being referenced correctly.
825
+ * Fixed bug: Manually fetching a feed fails if the feed is scheduled to update in the next 10 minutes.
826
+ * Fixed bug: Bing RSS feeds were importing duplicates on every update.
827
+
828
+ ## [4.2.2] - 2014-07-23
829
+ ### Changed
830
+ * Enhanced: Facebook page feeds are now changed into RSS 2.0 feeds, rather than Atom 1.0 feeds.
831
+ * Enhanced: Improved live updating performace on the Feed Sources page.
832
+
833
+ ## [4.2.1] - 2014-07-17
834
+ ### Changed
835
+ * Enhanced: Feed Sources page is now more responsive.
836
+
837
+ ## [4.2] - 2014-07-17
838
+ ### Added
839
+ * Can now view each feed source's imported feed items separate from other feed sources' feed items.
840
+
841
+ ### Changed
842
+ * Enhanced: Major visual update to the Feed Sources page with new live updates.
843
+ * Enhanced: The custom feed now includes the feed source.
844
+
845
+ ### Fixed
846
+ * Fixed bug: Google News feeds were importing duplicate items on every update.
847
+ * Fixed bug: Multiple minor bug fixes with old filters.
848
+
849
+ ## [4.1.6] - 2014-06-28
850
+ ### Fixed
851
+ * Fixed bug: Results returned by wprss_get_feed_items_for_source() will no longer be affected by filters.
852
+ * Fixed bug: Charset issue in titles
853
+
854
+ ## [4.1.5] - 2014-06-19
855
+ ### Changed
856
+ * Enhanced: The Feed Sources table now indicates which feed sources encountered errors during the last import.
857
+
858
+ ### Fixed
859
+ * Fixed bug: Feed titles were not being decoded for HTML entities.
860
+
861
+ ## [4.1.4] - 2014-05-16
862
+ ### Changed
863
+ * Enhanced: Minor improvements to feed importing and handling.
864
+
865
+ ### Fixed
866
+ * Fixed bug: HTML entities were not being decoded in feed item titles.
867
+
868
+ ## [4.1.3] - 2014-04-28
869
+ ### Changed
870
+ * Enhanced: Added a force feed option, for valid RSS feeds with incorrect header content types.
871
+
872
+ ### Fixed
873
+ * Fixed bug: HTML entities in feed item titles are now being decoded.
874
+
875
+ ## [4.1.2] - 2014-04-22
876
+ ### Changed
877
+ * Enhanced: Improved the custom feed, by allowing a custom title.
878
+ * Enhanced: Improved shortcode, by adding the "pagination" parameter.
879
+ * Enhanced: Modified a filter to fix some bugs in the add-ons.
880
+
881
+ ## [4.1.1] - 2014-04-09
882
+ ### Changed
883
+ * Enhanced: Tracking notices only appear for admin users.
884
+
885
+ ### Fixed
886
+ * Fixed bug: Auto Feed Discovery was not working.
887
+
888
+ ## [4.1] - 2014-04-03
889
+ ### Added
890
+ * New Feature: Feed items can now link to enclosure links in the feed.
891
+
892
+ ### Changed
893
+ * Enhanced: Added a filter to allow add-ons to modify feed item queries.
894
+
895
+ ## [4.0.9] - 2014-03-27
896
+ ### Changed
897
+ * Enhanced: Added a filter to modify the feeds template.
898
+
899
+ ### Fixed
900
+ * Fixed bug: Nested lists in feeds template.
901
+
902
+ ## [4.0.8] - 2014-03-20
903
+ ### Fixed
904
+ * Fixed bug: Using the shortcode makes the comments section always open.
905
+
906
+ ## [4.0.7] - 2014-03-08
907
+ ### Fixed
908
+ * Fixed bug: The plugin prevented uploading of header images.
909
+
910
+ ## [4.0.6] - 2014-03-05
911
+ ### Fixed
912
+ * Fixed bug: Hook change in last version suspected reason for some installations having non-updated feed items.
913
+
914
+ ## [4.0.5] - 2014-03-03
915
+ ### Added
916
+ * New Feature: Time ago added as an option.
917
+
918
+ ### Changed
919
+ * Enhanced: The plugin now allows the use of RSS and Atom feeds that do not specify the correct MIME type.
920
+ * Enhanced: Better performance due to better hook usage.
921
+
922
+ ### Fixed
923
+ * Fixed bug: Facebook page feed URL conversion was not being triggered for new feed sources.
924
+ * Fixed bug: Styles fix for pagination.
925
+ * Fixed bug: Removed empty spaces in logging.
926
+
927
+ ## [4.0.4] - 2014-02-17
928
+ ### Changed
929
+ * Enhanced: Added Activate/Pause bulk actions in the Feed Sources page.
930
+ * Enhanced: Feed Sources page table has been re-designed.
931
+ * Enhanced: Logging is now site dependant on multisite.
932
+
933
+ ### Fixed
934
+ * Fixed bug: Undefined display settings where appearing on the front end.
935
+
936
+ ## [4.0.3] - 2014-02-12
937
+ ### Fixed
938
+ * Fixed bug: The general setting for deleting feed items by age was not working.
939
+
940
+ ## [4.0.2] - 2014-02-10
941
+ ### Changed
942
+ * Enhanced: Added a filter to change the html tags allowed in feed item content.
943
+
944
+ ## [4.0.1] - 2014-02-08
945
+ ### Changed
946
+ * Fixed bug: Empty array of feed items bug caused importing problems.
947
+
948
+ ## [4.0] - 2014-02-04
949
+ ### Changed
950
+ * Enhanced: Improved some internal queries, for better performance.
951
+
952
+ ### Fixed
953
+ * Fixed bug: Feed limits were not working properly.
954
+
955
+ ## [3.9.9] - 2014-02-03
956
+ ### Changed
957
+ * Enhanced: The custom feed can now be extended by add-ons.
958
+
959
+ ## [3.9.8] - 2014-01-20
960
+ ### Fixed
961
+ * Fixed bug: Removed excessive logging from Debugging Error Log.
962
+
963
+ ## [3.9.7] - 2014-01-17
964
+ ### Fixed
965
+ * Fixed bug: Bug in admin-debugging.php causing trouble with admin login
966
+
967
+ ## [3.9.6] - 2014-01-17
968
+ ### Changed
969
+ * Enhanced: Added error logging.
970
+
971
+ ## [3.9.5] - 2014-01-02
972
+ ### Changed
973
+ * Enhanced: Added a feed validator link in the New/Edit Feed Sources page.
974
+ * Enhanced: The Next Update column also shows the time remaining for next update, for feed source on the global update interval.
975
+ * Enhanced: The custom feed has been improved, and is now identical to the feeds displayed with the shortcode.
976
+ * Enhanced: License notifications only appear on the main site when using WordPress multisite.
977
+ * Enhanced: Updated Colorbox script to 1.4.33
978
+
979
+ ### Fixed
980
+ * Fixed bug: The Imported Items column was always showing zero.
981
+ * Fixed bug: Feed items not being imported with limit set to zero. Should be unlimited.
982
+ * Fixed bug: Fat header in Feed Sources page
983
+
984
+ ## [3.9.4] - 2013-12-24
985
+ ### Changed
986
+ * Enhanced: Added a column in the Feed Sources page that shows the number of feed items imported for each feed source.
987
+
988
+ ### Fixed
989
+ * Fixed bug: Leaving the delete old feed items empty did not ignore the delete.
990
+
991
+ ## [3.9.3] - 2013-12-23
992
+ ### Fixed
993
+ * Fixed bug: Fixed tracking pointer appearing on saving settings.
994
+
995
+ ## [3.9.2] - 2013-12-21
996
+ ### Fixed
997
+ * Fixed bug: Incorrect file include call.
998
+
999
+ ## [3.9.1] - 2013-12-12
1000
+ ### Changed
1001
+ * Enhanced: Improved date and time handling for imported feed items.
1002
+
1003
+ ### Fixed
1004
+ * Fixed bug: Incorrect values being shown in the Feed Processing metabox.
1005
+ * Fixed bug: Feed limits set to zero were causing feeds to not be imported.
1006
+
1007
+ ## [3.9] - 2013-12-12
1008
+ ### Added
1009
+ * New Feature: Feed sources can have their own update interval.
1010
+ * New Feature: The time remaining until the next update has been added to the Feed Source table.
1011
+
1012
+ ## [3.8] - 2013-12-05
1013
+ ### Added
1014
+ * New Feature: Feed items can be limited and deleted by their age.
1015
+
1016
+ ### Changed
1017
+ * Enhanced: Added utility functions for shorter filters.
1018
+
1019
+ ### Fixed
1020
+ * Fixed bug: License codes were being erased when add-ons were deactivated.
1021
+ * Fixed bug: Some feed sources could not be set to active from the table controls.
1022
+ * Fixed bug: str_pos errors appear when custom feed url is left empty.
1023
+ * Fixed bug: Some options were producing undefined index errors.
1024
+
1025
+ ## [3.7] - 2013-11-28
1026
+ ### Added
1027
+ * New Feature: State system - Feed sources can be activated/paused.
1028
+ * New Feature: State system - Feed sources can be set to activate or pause themselves at a specific date and time.
1029
+
1030
+ ### Changed
1031
+ * Enhanced: Added compatibility with nested outline elements in OPML files.
1032
+ * Enhanced: Admin menu icon image will change into a Dashicon, when WordPress is updated to 3.8 (Decemeber 2013).
1033
+
1034
+ ### Fixed
1035
+ * Fixed bug: Custom Post types were breaking when the plugin is activated.
1036
+
1037
+ ## [3.6.1] - 2013-11-17
1038
+ ### Fixed
1039
+ * Fixed bug: Missing 2nd argument for wprss_shorten_title()
1040
+
1041
+ ## [3.6] - 2013-11-16
1042
+ ### Added
1043
+ * New Feature: Can set the maximum length for titles. Long titles get trimmed.
1044
+
1045
+ ### Fixed
1046
+ * Fixed bug: Fixed errors with undefined indexes for unchecked checkboxes in the settings page.
1047
+ * Fixed bug: Pagination on front static page was not working.
1048
+
1049
+ ## [3.5.2] - 2013-11-11
1050
+ ### Fixed
1051
+ * Fixed bug: Invalid feed source url was producing an Undefined method notice.
1052
+ * Fixed bug: Custom feed was producing a 404 page.
1053
+ * Fixed bug: Presstrends code firing on admin_init, opt-in implementation coming soon
1054
+
1055
+ ## [3.5.1] - 2013-11-09
1056
+ ### Changed
1057
+ * Enhanced: Increased compatibility with RSS sources.
1058
+
1059
+ ### Fixed
1060
+ * Fixed bug: Pagination not working on home page
1061
+
1062
+ ## [3.5] - 2013-11-6
1063
+ ### Added
1064
+ * New Feature: Can delete feed items for a particular source
1065
+
1066
+ ### Changed
1067
+ * Enhanced: the 'Fetch feed items' row action for feed sources resets itself after 3.5 seconds.
1068
+ * Enhanced: The feed image is saved for each url.
1069
+
1070
+ ### Fixed
1071
+ * Fixed bug: Link to source now links to correct url. Previously linked to site's feed.
1072
+
1073
+ ## [3.4.6] - 2013-11-1
1074
+ ### Changed
1075
+ * Enhanced: Added more hooks to debugging page for the Feed to Post add-on.
1076
+
1077
+ ### Fixed
1078
+ * Fixed bug: Uninitialized loop index
1079
+
1080
+ ## [3.4.5] - 2013-10-30
1081
+ ### Fixed
1082
+ * Bug Fix: Feed items were not being imported while the WPML plugin was active.
1083
+
1084
+ ## [3.4.4] - 2013-10-26
1085
+ ### Added
1086
+ * New feature: Pagination
1087
+ * New feature: First implementation of editor button for easy shortcode creation
1088
+
1089
+ ### Changed
1090
+ * Enhanced: Feed items and sources don't show up in link manager
1091
+ * Enhanced: Included Presstrends code for plugin usage monitoring
1092
+
1093
+ ## [3.4.3] - 2013-10-20
1094
+ ### Added
1095
+ * Added suppress_filters in feed-display.php to prevent a user reported error
1096
+
1097
+ ### Fixed
1098
+ * Removed anonymous functions for backwards PHP compatibility
1099
+ * Missing <li> in certain feed displays
1100
+
1101
+ ## [3.4.2] - 2013-9-19
1102
+ ### Changed
1103
+ * Enhanced: Added some hooks for Feed to Post compatibility
1104
+ * Enhanced: Moved date settings to a more appropriate location
1105
+
1106
+ ## [3.4.1] - 2013-9-16
1107
+ ### Fixed
1108
+ * Fixed Bug: Minor issue with options page - PHP notice
1109
+
1110
+ ## [3.4] - 2013-9-15
1111
+ ### Added
1112
+ * New Feature: Saving/Updating a feed source triggers an update for that source's feed items.
1113
+ * New Feature: Option to change Youtube, Vimeo and Dailymotion feed item URLs to embedded video players URLs
1114
+ * New Feature: Facebook Pages URLs are automatically detected and changed into Atom Feed URLs using FB's Graph
1115
+
1116
+ ### Changed
1117
+ * Enhanced: Updated jQuery Colorbox library to 1.4.29
1118
+
1119
+ ### Fixed
1120
+ * Fixed Bug: Some settings did not have a default value set, and were throwing an 'Undefined Index' error
1121
+ * Fixed Bug: Admin notices do not disappear immediately when dismissed.
1122
+
1123
+ ## [3.3.3] - 2013-09-08
1124
+ ### Fixed
1125
+ * Fixed bug: Better function handling on uninstall, should remove uninstall issues
1126
+
1127
+ ## [3.3.2] - 2013-09-07
1128
+ ### Added
1129
+ * New feature: Added exclude parameter to shortcode
1130
+
1131
+ ### Changed
1132
+ * Enhanced: Added metabox links to documentation and add-ons
1133
+
1134
+ ### Fixed
1135
+ * Fixed bug: Custom feed linking to post on user site rather than original source
1136
+ * Fixed bug: Custom post types issues when activitating the plugin
1137
+
1138
+ ## [3.3.1] - 2013-08-09
1139
+ ### Fixed
1140
+ * Fixed Bug: Roles and Capabilities file had not been included
1141
+ * Fixed Bug: Error on install, function not found
1142
+
1143
+ ## [3.3] - 2013-08-08
1144
+ ### Added
1145
+ * New feature: OPML importer
1146
+ * New feature: Feed item limits for individual Feed Sources
1147
+ * New feature: Custom feed URL
1148
+ * New feature: Feed limit on custom feed
1149
+ * New feature: New 'Fetch feed items' action for each Feed Source in listing display
1150
+ * New feature: Option to enable link to source
1151
+
1152
+ ### Changed
1153
+ * Enhanced: Date strings now change according to locale being used (i.e. compatible with WPML)
1154
+ * Enhanced: Capabilities implemented
1155
+ * Enhanced: Feed Sources row action 'View' removed
1156
+
1157
+ ### Fixed
1158
+ * Fixed Bug: Proxy feed URLs resulting in the permalink: example.com/url
1159
+
1160
+ ## [3.2] - 2013-07-06
1161
+ ### Fixed
1162
+ * New feature: Parameter to limit number of feeds displayed
1163
+ * New feature: Paramter to limit feeds displayed to particular sources (via ID)
1164
+
1165
+ ### Changed
1166
+ * Enhanced: Better feed import handling to handle large number of feed sources
1167
+
1168
+ ## [3.1.1] - 2013-06-06
1169
+ ### Fixed
1170
+ * Fixed bug: Incompatibility with some other plugins due to function missing namespace
1171
+
1172
+ ## [3.1] - 2013-06-06
1173
+ ### Added
1174
+ * New feature: Option to set the number of feed items imported from every feed (default 5)
1175
+ * New feature: Import and Export aggregator settings and feed sources
1176
+ * New feature: Debugging page allowing manual feed refresh and feed reset
1177
+
1178
+ ### Changed
1179
+ * Enhanced: Faster handling of restoring sources from trash when feed limit is 0
1180
+
1181
+ ### Fixed
1182
+ * Fixed bug: Limiter on number of overall feeds stored not working
1183
+ * Fixed bug: Incompatibility issue with Foobox plugin fixed
1184
+ * Fixed bug: Duplicate feeds sometimes imported
1185
+
1186
+ ## [3.0] - 2013-03-16
1187
+ ### Added
1188
+ * New feature: Option to select cron frequency
1189
+ * New feature: Code extensibility added to be compatible with add-ons
1190
+ * New feature: Option to set a limit to the number of feeds stored (previously 50, hard coded)
1191
+ * New feature: Option to define the format of the date shown below each feed item
1192
+ * New feature: Option to show or hide source of feed item
1193
+ * New feature: Option to show or hide publish date of feed item
1194
+ * New feature: Option to set text preceding publish date
1195
+ * New feature: Option to set text preceding source of feed item
1196
+ * New feature: Option to link title or not
1197
+ * New feature: Limit of 5 items imported for each source instead of 10
1198
+
1199
+ ### Changed
1200
+ * Requires: WordPress 3.3
1201
+ * Enhanced: Performance improvement when publishing * New feeds in admin
1202
+ * Enhanced: Query tuning for better performance
1203
+ * Enhanced: Major code rewrite, refactoring and inclusion of hooks
1204
+ * Enhanced: Updated Colorbox to v1.4.1
1205
+ * Enhanced: Better security implementations
1206
+ * Enhanced: Better feed preview display
1207
+
1208
+ ### Fixed
1209
+ * Fixed bug: Deletion of items upon source deletion not working properly
1210
+
1211
+ ## [2.2.3] - 2012-11-01
1212
+ ### Fixed
1213
+ * Tab navigation preventing typing in input boxes
1214
+ * Feeds showing up in internal linking pop up
1215
+
1216
+ ## [2.2.2] - 2012-10-30
1217
+ ### Changed
1218
+ * Feeds showing up in site search results
1219
+ * Enhanced: Better tab button navigation when adding a new feed
1220
+ * Enhanced: Better guidance when a feed URL is invalid
1221
+
1222
+ ## [2.2.1] - 2012-10-17
1223
+ ### Fixed
1224
+ * Fixed bug: wprss_feed_source_order assumes everyone is an admin
1225
+
1226
+ ## [2.2] - 2012-10-01
1227
+ ### Added
1228
+ * Italian translation added
1229
+
1230
+ ### Changed
1231
+ * Feed source order changed to alphabetical
1232
+
1233
+ ### Fixed
1234
+ * Fixed bug - repeated entries when having a non-valid feed source
1235
+ * Fixed bug - all imported feeds deleted upon trashing a single feed source
1236
+
1237
+ ## [2.1] - 2012-09-27* Now localised for translations
1238
+ * Fixed bug with date string
1239
+ * Fixed $link_before and $link_after, now working
1240
+ * Added backwards compatibility for wp_rss_aggregator() function
1241
+
1242
+ ## [2.0] - 2012-09-21
1243
+ ### Added
1244
+ * Limit of 15 items max imported for each source
1245
+ * Added install and upgrade functions
1246
+ * Added DB version setting
1247
+ * Feeds now fetched via Cron
1248
+ * Cron job to delete old feed items, keeps max of 50 items in DB
1249
+ * Ability to limit total number of feeds displayed
1250
+ * Feed source list sortable ascending or descending by name
1251
+
1252
+ ### Changed
1253
+ * Now requires WordPress 3.2
1254
+ * Bulk of code rewritten and refactored
1255
+ * Updated colorbox to v1.3.20.1
1256
+ * Feed sources now stored as Custom Post Types
1257
+
1258
+ ### Removed
1259
+ * Removed days subsections in feed display
1260
+
1261
+ ### Fixed
1262
+ * Fixed issue of page content displaying incorrectly after feeds
1263
+
1264
+ ## [1.1] - 2012-08-13
1265
+ ### Added
1266
+ * Added top level menu
1267
+ * Added settings section
1268
+ * Ability to open in lightbox, new window or default browser behaviour
1269
+ * Ability to set links as follow or no follow
1270
+
1271
+ ### Changed
1272
+ * Now requires WordPress 3.0
1273
+ * More flexible fetching of images directory
1274
+ * Code refactoring
1275
+ * Changes in file and folder structure
1276
+ * Using constants for oftenly used locations
1277
+
1278
+ ## [1.0] - 2012-01-06
1279
+ * Initial release.
css/build/pagination.min.css CHANGED
@@ -1 +1 @@
1
- .wpra-loading{animation:pulse 1s infinite ease-in-out;pointer-events:none}@keyframes pulse{0%{opacity:.25}50%{opacity:.6}to{opacity:.25}}
1
+ .wpra-loading{animation:pulse 1s infinite ease-in-out;pointer-events:none}.nav-links a{cursor:pointer}@keyframes pulse{0%{opacity:.25}50%{opacity:.6}to{opacity:.25}}
includes/admin-editor.php CHANGED
@@ -1,75 +1,70 @@
1
  <?php
2
- /**
3
- * This file contains code related to the custom button added to Wordpress' TinyMCE editor.
4
- *
5
- * @since 3.5
6
- */
7
-
8
-
9
-
10
- add_action( 'admin_init', 'wprss_add_editor_button' );
11
- /**
12
- * Adds the WPRSS button to WordPress' editor
13
- *
14
- * @since 3.5
15
- */
16
- function wprss_add_editor_button() {
17
- if ( ! current_user_can( 'edit_posts' ) && !current_user_can( 'edit_pages' ) )
18
- return;
19
- if ( get_user_option( 'rich_editing' ) == 'true') {
20
- add_filter( 'mce_external_plugins', 'wprss_register_tinymce_plugin' );
21
- add_filter( 'mce_buttons', 'wprss_register_tinymce_button' );
22
- }
23
- }
24
-
25
-
26
- /**
27
- * Adds a separator and the wprss button to the buttons array.
28
- *
29
- * @since 3.5
30
- */
31
- function wprss_register_tinymce_button( $buttons ) {
32
- array_push( $buttons, "|", "wprss" );
33
- return $buttons;
34
- }
35
-
36
-
37
- /**
38
- * Adds the button action JS file to TinyMCE's plugin list
39
- *
40
- * @todo add filter to skip showing the editor button
41
- * @since 3.5
42
- */
43
- function wprss_register_tinymce_plugin($plugin_array) {
44
- // add filter here
45
- $plugin_array['wprss'] = WPRSS_JS . 'editor.js';
46
- return $plugin_array;
47
- }
48
-
49
-
50
- add_filter( 'tiny_mce_version', 'wprss_tinymce_version');
51
- /**
52
- * Intercepts TinyMCE's version check and increments its version by 3.
53
- *
54
- * This is a hack used to work around TinyMCE's caching, that might prevent the
55
- * new wprss button from appearing on the editor.
56
- *
57
- * @since 3.5
58
- */
59
- function wprss_tinymce_version($ver) {
60
- $ver += 3;
61
- return $ver;
62
- }
63
-
64
-
65
-
66
-
67
-
68
 
69
- add_action( 'wp_ajax_wprss_editor_dialog', 'wprss_return_dialog_contents' );
70
- /**
71
- * Renders the TinyMCE button dialog contents.
72
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  function wprss_return_dialog_contents() {
74
  $templates_collection = wpra_get('feeds/templates/collection');
75
  $templates_options = [];
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
+ /**
4
+ * This file contains code related to the custom button added to Wordpress' TinyMCE editor.
5
+ *
6
+ * @since 3.5
7
+ */
8
+
9
+ add_action('admin_init', 'wprss_add_editor_button');
10
+ /**
11
+ * Adds the WPRSS button to WordPress' editor
12
+ *
13
+ * @since 3.5
14
+ */
15
+ function wprss_add_editor_button()
16
+ {
17
+ if (current_user_can('edit_posts') && current_user_can('edit_pages') && get_user_option('rich_editing') == 'true') {
18
+ add_filter('mce_external_plugins', 'wpra_register_tinymce_plugin', 0);
19
+ add_filter('mce_buttons', 'wpra_register_tinymce_button', 0);
20
+ }
21
+ }
22
+
23
+ /**
24
+ * Adds a separator and the wprss button to the buttons array.
25
+ *
26
+ * @since 3.5
27
+ */
28
+ function wpra_register_tinymce_button($buttons)
29
+ {
30
+ $buttons[] = "|";
31
+ $buttons[] = "wprss";
32
+
33
+ return $buttons;
34
+ }
35
+
36
+ /**
37
+ * Adds the button action JS file to TinyMCE's plugin list
38
+ *
39
+ * @since 3.5
40
+ * @todo add filter to skip showing the editor button
41
+ */
42
+ function wpra_register_tinymce_plugin($plugin_array)
43
+ {
44
+ // add filter here
45
+ $plugin_array['wprss'] = WPRSS_JS . 'editor.js';
46
+ return $plugin_array;
47
+ }
48
+
49
+ add_filter('tiny_mce_version', 'wprss_tinymce_version');
50
+ /**
51
+ * Intercepts TinyMCE's version check and increments its version by 3.
52
+ *
53
+ * This is a hack used to work around TinyMCE's caching, that might prevent the
54
+ * new wprss button from appearing on the editor.
55
+ *
56
+ * @since 3.5
57
+ */
58
+ function wprss_tinymce_version($ver)
59
+ {
60
+ $ver += 3;
61
+ return $ver;
62
+ }
63
+
64
+ add_action('wp_ajax_wprss_editor_dialog', 'wprss_return_dialog_contents');
65
+ /**
66
+ * Renders the TinyMCE button dialog contents.
67
+ */
68
  function wprss_return_dialog_contents() {
69
  $templates_collection = wpra_get('feeds/templates/collection');
70
  $templates_options = [];
includes/cron-jobs.php CHANGED
@@ -319,8 +319,12 @@ function wprss_filter_cron_schedules($schedules)
319
  {
320
  // Pluck out the intervals
321
  $intervals = array_map(function ($schedule) {
322
- return $schedule['interval'];
 
 
323
  }, $schedules);
 
 
324
  // Get a map of intervals -> keys for fast interval lookup
325
  $intervalsMap = array_flip($intervals);
326
 
319
  {
320
  // Pluck out the intervals
321
  $intervals = array_map(function ($schedule) {
322
+ return (isset($schedule['interval']) && is_numeric($schedule['interval']))
323
+ ? $schedule['interval']
324
+ : null;
325
  }, $schedules);
326
+ // Remove null values
327
+ $intervals = array_filter($intervals);
328
  // Get a map of intervals -> keys for fast interval lookup
329
  $intervalsMap = array_flip($intervals);
330
 
includes/feed-importing-images.php CHANGED
@@ -793,7 +793,11 @@ function wpra_media_sideload_image($url = null, $post_id = null, $attach = null,
793
  }
794
 
795
  // Fix for Facebook images that come from a PHP endpoint
796
- $baseName = str_replace($baseName, 'safe_image.php', 'fb_image.jpeg');
 
 
 
 
797
 
798
  $file_array['name'] = $baseName;
799
 
793
  }
794
 
795
  // Fix for Facebook images that come from a PHP endpoint
796
+ if (stripos($baseName, 'safe_image.php') !== false) {
797
+ $hash = crc32(trim($img->get_url()));
798
+
799
+ $baseName = str_replace('safe_image.php', $hash . '.jpeg', $baseName);
800
+ }
801
 
802
  $file_array['name'] = $baseName;
803
 
js/editor.js CHANGED
@@ -2,8 +2,7 @@ var WPRSS_TMCE_PLUGIN_ID = 'wprss';
2
  var WPRSS_ED = null;
3
  var wprss_dialog_submit = null;
4
 
5
- jQuery( document ).ready( function($) {
6
-
7
  wprss_dialog_submit = function() {
8
  this.focus();
9
 
@@ -159,4 +158,4 @@ jQuery( document ).ready( function($) {
159
  }
160
  });
161
  tinymce.PluginManager.add( WPRSS_TMCE_PLUGIN_ID, tinymce.plugins.wprss );
162
- });
2
  var WPRSS_ED = null;
3
  var wprss_dialog_submit = null;
4
 
5
+ (function($) {
 
6
  wprss_dialog_submit = function() {
7
  this.focus();
8
 
158
  }
159
  });
160
  tinymce.PluginManager.add( WPRSS_TMCE_PLUGIN_ID, tinymce.plugins.wprss );
161
+ })(jQuery);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: RSS import, RSS aggregator, autoblog, feed to post, news aggregator, rss t
5
  Requires at least: 4.0 or higher
6
  Tested up to: 5.6
7
  Requires PHP: 5.4
8
- Stable tag: 4.18.1
9
  License: GPLv3
10
 
11
  The most powerful and reliable RSS aggregator for WordPress. Build a news aggregator, autoblog and more in minutes with unlimited RSS feeds.
@@ -254,7 +254,17 @@ Our complete Knowledge Base with FAQs can be found [here](https://kb.wprssaggreg
254
 
255
  == Changelog ==
256
 
257
- = 4.18.11 (2021-03-15) =
 
 
 
 
 
 
 
 
 
 
258
  **Added**
259
  - New filters to change the time limits during image downloads.
260
 
5
  Requires at least: 4.0 or higher
6
  Tested up to: 5.6
7
  Requires PHP: 5.4
8
+ Stable tag: 4.18.2
9
  License: GPLv3
10
 
11
  The most powerful and reliable RSS aggregator for WordPress. Build a news aggregator, autoblog and more in minutes with unlimited RSS feeds.
254
 
255
  == Changelog ==
256
 
257
+ = 4.18.2 (2021-04-26) =
258
+ **Changed**
259
+ - Audio players no longer preload the audio file. Audio is now loaded only the play button is clicked.
260
+
261
+ **Fixed**
262
+ - Pagination would sometimes cause the page to scroll upwards.
263
+ - Images were wrongly determined to be from Facebook and were being renamed incorrectly.
264
+ - Invalid cron schedules no longer cause a fatal error.
265
+ - The shortcode icon in the classic editor would sometimes not be shown.
266
+
267
+ = 4.18.1 (2021-03-15) =
268
  **Added**
269
  - New filters to change the time limits during image downloads.
270
 
src/Twig/Extensions/WpraExtension.php CHANGED
@@ -40,6 +40,7 @@ class WpraExtension extends AbstractExtension
40
  {
41
  return [
42
  $this->getWpraFunction(),
 
43
  $this->getWpraLinkAttrsFunction(),
44
  $this->getWpNonceFieldFunction(),
45
  $this->getWpraTooltipFunction(),
@@ -61,6 +62,26 @@ class WpraExtension extends AbstractExtension
61
  return new TwigFunction('wpra', 'wpra_container');
62
  }
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  /**
65
  * Retrieves the wp_nonce_field twig function.
66
  *
40
  {
41
  return [
42
  $this->getWpraFunction(),
43
+ $this->getWpFilterFunction(),
44
  $this->getWpraLinkAttrsFunction(),
45
  $this->getWpNonceFieldFunction(),
46
  $this->getWpraTooltipFunction(),
62
  return new TwigFunction('wpra', 'wpra_container');
63
  }
64
 
65
+ /**
66
+ * Retrieves the wp_filter twig function.
67
+ *
68
+ * @since 4.18.2
69
+ *
70
+ * @return TwigFunction
71
+ */
72
+ protected function getWpFilterFunction()
73
+ {
74
+ return new TwigFunction(
75
+ 'wp_filter',
76
+ function ($name) {
77
+ return apply_filters('wpra/' . $name, '');
78
+ },
79
+ [
80
+ 'is_safe' => ['html'],
81
+ ]
82
+ );
83
+ }
84
+
85
  /**
86
  * Retrieves the wp_nonce_field twig function.
87
  *
templates/feeds/_parts/audio-player.twig CHANGED
@@ -3,7 +3,7 @@
3
 
4
  {% if options.audio_player_enabled and is_audio %}
5
  <div class="wpra-feed-audio">
6
- <audio controls>
7
  <source src="{{ audio_url }}" type="{{ item.enclosure_type }}" />
8
  Your browser does not support HTML5 audio players.
9
  </audio>
3
 
4
  {% if options.audio_player_enabled and is_audio %}
5
  <div class="wpra-feed-audio">
6
+ <audio preload="none" controls>
7
  <source src="{{ audio_url }}" type="{{ item.enclosure_type }}" />
8
  Your browser does not support HTML5 audio players.
9
  </audio>
templates/feeds/list/default-pagination.twig CHANGED
@@ -3,14 +3,14 @@
3
  <div class="nav-links">
4
  {% if isOlderVisible %}
5
  <div class="nav-previous alignleft">
6
- <a href="#" data-wpra-shortcode="shortcode" data-wpra-page="{{ pagination.page + 1 }}">
7
  {% trans "Older posts" %}
8
  </a>
9
  </div>
10
  {% endif %}
11
  {% if isNewerVisible %}
12
  <div class="nav-next {{ isNewerVisible ? 'alignright' : 'alignleft' }}">
13
- <a href="#" data-wpra-shortcode="shortcode" data-wpra-page="{{ pagination.page - 1 }}">
14
  {% trans "Newer posts" %}
15
  </a>
16
  </div>
3
  <div class="nav-links">
4
  {% if isOlderVisible %}
5
  <div class="nav-previous alignleft">
6
+ <a data-wpra-shortcode="shortcode" data-wpra-page="{{ pagination.page + 1 }}">
7
  {% trans "Older posts" %}
8
  </a>
9
  </div>
10
  {% endif %}
11
  {% if isNewerVisible %}
12
  <div class="nav-next {{ isNewerVisible ? 'alignright' : 'alignleft' }}">
13
+ <a data-wpra-shortcode="shortcode" data-wpra-page="{{ pagination.page - 1 }}">
14
  {% trans "Newer posts" %}
15
  </a>
16
  </div>
templates/feeds/list/feed-item.twig CHANGED
@@ -25,6 +25,8 @@
25
  {% set date_class = "time-ago" %}
26
  {% endif %}
27
 
 
 
28
  <div class="wprss-feed-meta">
29
  {% if options.source_enabled %}
30
  <span class="feed-source">
@@ -52,3 +54,5 @@
52
  </div>
53
 
54
  {% include "feeds/_parts/audio-player.twig" %}
 
 
25
  {% set date_class = "time-ago" %}
26
  {% endif %}
27
 
28
+ {{ wp_filter('template/list/before_item') }}
29
+
30
  <div class="wprss-feed-meta">
31
  {% if options.source_enabled %}
32
  <span class="feed-source">
54
  </div>
55
 
56
  {% include "feeds/_parts/audio-player.twig" %}
57
+
58
+ {{ wp_filter('template/list/after_item') }}
templates/feeds/list/numbered-pagination.twig CHANGED
@@ -9,7 +9,7 @@
9
  <div class="nav-links">
10
  {% if isNewerVisible %}
11
  <div class="nav-previous alignleft wpra-feed-prev-page">
12
- <a href="#" data-wpra-page="{{ pagination.page - 1 }}">
13
  {% trans "Previous" %}
14
  </a>
15
  </div>
@@ -24,7 +24,7 @@
24
  </span>
25
  {% else %}
26
  <div class="nav-next alignleft wpra-feed-page">
27
- <a href="#" data-wpra-page="{{ page }}">
28
  {{ page }}
29
  </a>
30
  </div>
@@ -35,7 +35,7 @@
35
  {% endif %}
36
  {% if isOlderVisible %}
37
  <div class="nav-next alignleft wpra-feed-next-pages">
38
- <a href="#" data-wpra-page="{{ pagination.page + 1 }}">
39
  {% trans "Next" %}
40
  </a>
41
  </div>
9
  <div class="nav-links">
10
  {% if isNewerVisible %}
11
  <div class="nav-previous alignleft wpra-feed-prev-page">
12
+ <a data-wpra-page="{{ pagination.page - 1 }}">
13
  {% trans "Previous" %}
14
  </a>
15
  </div>
24
  </span>
25
  {% else %}
26
  <div class="nav-next alignleft wpra-feed-page">
27
+ <a data-wpra-page="{{ page }}">
28
  {{ page }}
29
  </a>
30
  </div>
35
  {% endif %}
36
  {% if isOlderVisible %}
37
  <div class="nav-next alignleft wpra-feed-next-pages">
38
+ <a data-wpra-page="{{ pagination.page + 1 }}">
39
  {% trans "Next" %}
40
  </a>
41
  </div>
vendor/composer/InstalledVersions.php CHANGED
@@ -25,12 +25,12 @@ class InstalledVersions
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
- 'pretty_version' => 'dev-develop',
29
- 'version' => 'dev-develop',
30
  'aliases' =>
31
  array (
32
  ),
33
- 'reference' => 'cf31bfba2b2a87f99a1a66c317374f641cbf6e59',
34
  'name' => 'wprss/core',
35
  ),
36
  'versions' =>
@@ -400,12 +400,12 @@ private static $installed = array (
400
  ),
401
  'wprss/core' =>
402
  array (
403
- 'pretty_version' => 'dev-develop',
404
- 'version' => 'dev-develop',
405
  'aliases' =>
406
  array (
407
  ),
408
- 'reference' => 'cf31bfba2b2a87f99a1a66c317374f641cbf6e59',
409
  ),
410
  ),
411
  );
25
  private static $installed = array (
26
  'root' =>
27
  array (
28
+ 'pretty_version' => 'dev-master',
29
+ 'version' => 'dev-master',
30
  'aliases' =>
31
  array (
32
  ),
33
+ 'reference' => '150f79caeef94535ccaeed23ed7b0bd5411e7cdb',
34
  'name' => 'wprss/core',
35
  ),
36
  'versions' =>
400
  ),
401
  'wprss/core' =>
402
  array (
403
+ 'pretty_version' => 'dev-master',
404
+ 'version' => 'dev-master',
405
  'aliases' =>
406
  array (
407
  ),
408
+ 'reference' => '150f79caeef94535ccaeed23ed7b0bd5411e7cdb',
409
  ),
410
  ),
411
  );
vendor/composer/installed.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php return array (
2
  'root' =>
3
  array (
4
- 'pretty_version' => 'dev-develop',
5
- 'version' => 'dev-develop',
6
  'aliases' =>
7
  array (
8
  ),
9
- 'reference' => 'cf31bfba2b2a87f99a1a66c317374f641cbf6e59',
10
  'name' => 'wprss/core',
11
  ),
12
  'versions' =>
@@ -376,12 +376,12 @@
376
  ),
377
  'wprss/core' =>
378
  array (
379
- 'pretty_version' => 'dev-develop',
380
- 'version' => 'dev-develop',
381
  'aliases' =>
382
  array (
383
  ),
384
- 'reference' => 'cf31bfba2b2a87f99a1a66c317374f641cbf6e59',
385
  ),
386
  ),
387
  );
1
  <?php return array (
2
  'root' =>
3
  array (
4
+ 'pretty_version' => 'dev-master',
5
+ 'version' => 'dev-master',
6
  'aliases' =>
7
  array (
8
  ),
9
+ 'reference' => '150f79caeef94535ccaeed23ed7b0bd5411e7cdb',
10
  'name' => 'wprss/core',
11
  ),
12
  'versions' =>
376
  ),
377
  'wprss/core' =>
378
  array (
379
+ 'pretty_version' => 'dev-master',
380
+ 'version' => 'dev-master',
381
  'aliases' =>
382
  array (
383
  ),
384
+ 'reference' => '150f79caeef94535ccaeed23ed7b0bd5411e7cdb',
385
  ),
386
  ),
387
  );
wp-rss-aggregator.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: WP RSS Aggregator
5
  * Plugin URI: https://www.wprssaggregator.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpraplugin
6
  * Description: Imports and aggregates multiple RSS Feeds.
7
- * Version: 4.18.1
8
  * Author: RebelCode
9
  * Author URI: https://www.wprssaggregator.com
10
  * Text Domain: wprss
@@ -13,7 +13,7 @@
13
  */
14
 
15
  /**
16
- * @copyright Copyright (c) 2012-2019, RebelCode Ltd.
17
  * @link https://www.wprssaggregator.com/
18
  * @license http://www.gnu.org/licenses/gpl.html
19
  *
@@ -76,7 +76,7 @@ use RebelCode\Wpra\Core\Plugin;
76
 
77
  // Set the version number of the plugin.
78
  if( !defined( 'WPRSS_VERSION' ) )
79
- define( 'WPRSS_VERSION', '4.18.1' );
80
 
81
  if( !defined( 'WPRSS_WP_MIN_VERSION' ) )
82
  define( 'WPRSS_WP_MIN_VERSION', '4.8' );
4
  * Plugin Name: WP RSS Aggregator
5
  * Plugin URI: https://www.wprssaggregator.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpraplugin
6
  * Description: Imports and aggregates multiple RSS Feeds.
7
+ * Version: 4.18.2
8
  * Author: RebelCode
9
  * Author URI: https://www.wprssaggregator.com
10
  * Text Domain: wprss
13
  */
14
 
15
  /**
16
+ * @copyright Copyright (c) 2012-2021, RebelCode Ltd.
17
  * @link https://www.wprssaggregator.com/
18
  * @license http://www.gnu.org/licenses/gpl.html
19
  *
76
 
77
  // Set the version number of the plugin.
78
  if( !defined( 'WPRSS_VERSION' ) )
79
+ define( 'WPRSS_VERSION', '4.18.2' );
80
 
81
  if( !defined( 'WPRSS_WP_MIN_VERSION' ) )
82
  define( 'WPRSS_WP_MIN_VERSION', '4.8' );