WP RSS Aggregator - Version 4.17.1

Version Description

(2019-12-12) =

Fixed - The new slug option was appearing on the edit pages for posts of all types.

Download this release

Release Info

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

Code changes from version 4.17 to 4.17.1

CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
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.17] - 2019-12-11
8
  ### Added
9
  * New "Tools" that replaces the "Blacklist", "Import/Export" and "Debugging" pages.
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.17.1] - 2019-12-12
8
+ ### Fixed
9
+ * The new slug option was appearing on the edit pages for posts of all types.
10
+
11
  ## [4.17] - 2019-12-11
12
  ### Added
13
  * New "Tools" that replaces the "Blacklist", "Import/Export" and "Debugging" pages.
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: RSS import, RSS aggregator, feed import, content curation, feed to post
5
  Requires at least: 4.0 or higher
6
  Tested up to: 5.3
7
  Requires PHP: 5.4
8
- Stable tag: 4.17
9
  License: GPLv3
10
 
11
  WP RSS Aggregator is the original & most popular WordPress solution for importing RSS feeds, auto-blogging, content curation & aggregation.
@@ -259,6 +259,11 @@ Our complete Knowledge Base with FAQs can be found [here](https://kb.wprssaggreg
259
 
260
  == Changelog ==
261
 
 
 
 
 
 
262
  = 4.17 (2019-12-11) =
263
 
264
  **Added**
5
  Requires at least: 4.0 or higher
6
  Tested up to: 5.3
7
  Requires PHP: 5.4
8
+ Stable tag: 4.17.1
9
  License: GPLv3
10
 
11
  WP RSS Aggregator is the original & most popular WordPress solution for importing RSS feeds, auto-blogging, content curation & aggregation.
259
 
260
  == Changelog ==
261
 
262
+ = 4.17.1 (2019-12-12) =
263
+
264
+ **Fixed**
265
+ - The new slug option was appearing on the edit pages for posts of all types.
266
+
267
  = 4.17 (2019-12-11) =
268
 
269
  **Added**
src/Entities/Properties/WpPostPermalinkProperty.php CHANGED
@@ -8,12 +8,12 @@ use RebelCode\Entities\Api\PropertyInterface;
8
  /**
9
  * A property for WordPress post permalinks. Read-only.
10
  *
11
- * @since [*next-version*]
12
  */
13
  class WpPostPermalinkProperty implements PropertyInterface
14
  {
15
  /**
16
- * @since [*next-version*]
17
  *
18
  * @var PropertyInterface
19
  */
@@ -22,7 +22,7 @@ class WpPostPermalinkProperty implements PropertyInterface
22
  /**
23
  * Constructor.
24
  *
25
- * @since [*next-version*]
26
  *
27
  * @param PropertyInterface $idProp The property for the WP Post instance or ID.
28
  */
@@ -34,7 +34,7 @@ class WpPostPermalinkProperty implements PropertyInterface
34
  /**
35
  * @inheritdoc
36
  *
37
- * @since [*next-version*]
38
  */
39
  public function getValue(EntityInterface $entity)
40
  {
@@ -44,7 +44,7 @@ class WpPostPermalinkProperty implements PropertyInterface
44
  /**
45
  * @inheritdoc
46
  *
47
- * @since [*next-version*]
48
  */
49
  public function setValue(EntityInterface $entity, $value)
50
  {
8
  /**
9
  * A property for WordPress post permalinks. Read-only.
10
  *
11
+ * @since 4.17
12
  */
13
  class WpPostPermalinkProperty implements PropertyInterface
14
  {
15
  /**
16
+ * @since 4.17
17
  *
18
  * @var PropertyInterface
19
  */
22
  /**
23
  * Constructor.
24
  *
25
+ * @since 4.17
26
  *
27
  * @param PropertyInterface $idProp The property for the WP Post instance or ID.
28
  */
34
  /**
35
  * @inheritdoc
36
  *
37
+ * @since 4.17
38
  */
39
  public function getValue(EntityInterface $entity)
40
  {
44
  /**
45
  * @inheritdoc
46
  *
47
+ * @since 4.17
48
  */
49
  public function setValue(EntityInterface $entity, $value)
50
  {
src/Entities/Properties/WpraItemSourceProperty.php CHANGED
@@ -15,26 +15,26 @@ use RebelCode\Entities\Api\PropertyInterface;
15
  * no value for the property, the feed source property is used instead. All set operations will be handled using the
16
  * feed item property.
17
  *
18
- * @since [*next-version*]
19
  */
20
  class WpraItemSourceProperty implements PropertyInterface
21
  {
22
  /**
23
- * @since [*next-version*]
24
  *
25
  * @var PropertyInterface
26
  */
27
  protected $itemProp;
28
 
29
  /**
30
- * @since [*next-version*]
31
  *
32
  * @var PropertyInterface
33
  */
34
  protected $sourceProp;
35
 
36
  /**
37
- * @since [*next-version*]
38
  *
39
  * @var string
40
  */
@@ -43,7 +43,7 @@ class WpraItemSourceProperty implements PropertyInterface
43
  /**
44
  * Constructor.
45
  *
46
- * @since [*next-version*]
47
  *
48
  * @param PropertyInterface $itemProp The feed item property.
49
  * @param PropertyInterface $sourceProp The feed source property.
@@ -62,7 +62,7 @@ class WpraItemSourceProperty implements PropertyInterface
62
  /**
63
  * @inheritdoc
64
  *
65
- * @since [*next-version*]
66
  */
67
  public function getValue(EntityInterface $item)
68
  {
@@ -85,7 +85,7 @@ class WpraItemSourceProperty implements PropertyInterface
85
  /**
86
  * @inheritdoc
87
  *
88
- * @since [*next-version*]
89
  */
90
  public function setValue(EntityInterface $entity, $value)
91
  {
15
  * no value for the property, the feed source property is used instead. All set operations will be handled using the
16
  * feed item property.
17
  *
18
+ * @since 4.17
19
  */
20
  class WpraItemSourceProperty implements PropertyInterface
21
  {
22
  /**
23
+ * @since 4.17
24
  *
25
  * @var PropertyInterface
26
  */
27
  protected $itemProp;
28
 
29
  /**
30
+ * @since 4.17
31
  *
32
  * @var PropertyInterface
33
  */
34
  protected $sourceProp;
35
 
36
  /**
37
+ * @since 4.17
38
  *
39
  * @var string
40
  */
43
  /**
44
  * Constructor.
45
  *
46
+ * @since 4.17
47
  *
48
  * @param PropertyInterface $itemProp The feed item property.
49
  * @param PropertyInterface $sourceProp The feed source property.
62
  /**
63
  * @inheritdoc
64
  *
65
+ * @since 4.17
66
  */
67
  public function getValue(EntityInterface $item)
68
  {
85
  /**
86
  * @inheritdoc
87
  *
88
+ * @since 4.17
89
  */
90
  public function setValue(EntityInterface $entity, $value)
91
  {
src/Handlers/RenderMetaBoxTemplateHandler.php CHANGED
@@ -33,29 +33,45 @@ class RenderMetaBoxTemplateHandler
33
  */
34
  protected $entityKey;
35
 
 
 
 
 
 
 
 
36
  /**
37
  * Constructor.
38
  *
39
- * @since [*next-version*]
40
  *
41
  * @param TemplateInterface $template
42
  * @param CollectionInterface $collection
43
  * @param string $entityKey
44
  */
45
- public function __construct(TemplateInterface $template, CollectionInterface $collection, $entityKey = 'entity')
46
- {
 
 
 
 
47
  $this->template = $template;
48
  $this->collection = $collection;
49
  $this->entityKey = $entityKey;
 
50
  }
51
 
52
  /**
53
  * @inheritdoc
54
  *
55
- * @since [*next-version*]
56
  */
57
  public function __invoke($post, $args = [])
58
  {
 
 
 
 
59
  $entity = isset($this->collection[$post->ID])
60
  ? $this->collection[$post->ID]
61
  : [];
33
  */
34
  protected $entityKey;
35
 
36
+ /**
37
+ * @since 4.17.1
38
+ *
39
+ * @var string[]|null
40
+ */
41
+ protected $postTypes;
42
+
43
  /**
44
  * Constructor.
45
  *
46
+ * @since 4.17
47
  *
48
  * @param TemplateInterface $template
49
  * @param CollectionInterface $collection
50
  * @param string $entityKey
51
  */
52
+ public function __construct(
53
+ TemplateInterface $template,
54
+ CollectionInterface $collection,
55
+ $postTypes = [],
56
+ $entityKey = 'entity'
57
+ ) {
58
  $this->template = $template;
59
  $this->collection = $collection;
60
  $this->entityKey = $entityKey;
61
+ $this->postTypes = $postTypes;
62
  }
63
 
64
  /**
65
  * @inheritdoc
66
  *
67
+ * @since 4.17
68
  */
69
  public function __invoke($post, $args = [])
70
  {
71
+ if (!empty($this->postTypes) && !in_array($post->post_type, $this->postTypes)) {
72
+ return;
73
+ }
74
+
75
  $entity = isset($this->collection[$post->ID])
76
  ? $this->collection[$post->ID]
77
  : [];
src/Modules/BlacklistToolModule.php CHANGED
@@ -11,14 +11,14 @@ use RebelCode\Wpra\Core\Ui\BlacklistTable;
11
  /**
12
  * The module that adds the "Blacklist" tool to WP RSS Aggregator.
13
  *
14
- * @since [*next-version*]
15
  */
16
  class BlacklistToolModule implements ModuleInterface
17
  {
18
  /**
19
  * @inheritdoc
20
  *
21
- * @since [*next-version*]
22
  */
23
  public function getFactories()
24
  {
@@ -26,7 +26,7 @@ class BlacklistToolModule implements ModuleInterface
26
  /*
27
  * Information about the "Blacklist" tool.
28
  *
29
- * @since [*next-version*]
30
  */
31
  'wpra/admin/tools/blacklist/info' => function (ContainerInterface $c) {
32
  return [
@@ -39,7 +39,7 @@ class BlacklistToolModule implements ModuleInterface
39
  /*
40
  * The context to add to the "Tools" page.
41
  *
42
- * @since [*next-version*]
43
  */
44
  'wpra/admin/tools/blacklist/page/context' => function (ContainerInterface $c) {
45
  ob_start();
@@ -55,7 +55,7 @@ class BlacklistToolModule implements ModuleInterface
55
  /*
56
  * The list table to show on the "Blacklist" tool page.
57
  *
58
- * @since [*next-version*]
59
  */
60
  'wpra/admin/tools/blacklist/page/list_table' => function (ContainerInterface $c) {
61
  return new BlacklistTable($c->get('wpra/admin/tools/blacklist/collection'));
@@ -63,7 +63,7 @@ class BlacklistToolModule implements ModuleInterface
63
  /*
64
  * The notice to show when a URL is being added to the blacklist with an empty URL.
65
  *
66
- * @since [*next-version*]
67
  */
68
  'wpra/admin/tools/blacklist/empty_url_notice' => function () {
69
  return sprintf(
@@ -74,7 +74,7 @@ class BlacklistToolModule implements ModuleInterface
74
  /*
75
  * The notice to show when a URL has been added to the blacklist.
76
  *
77
- * @since [*next-version*]
78
  */
79
  'wpra/admin/tools/blacklist/added_notice' => function () {
80
  return sprintf(
@@ -85,7 +85,7 @@ class BlacklistToolModule implements ModuleInterface
85
  /*
86
  * The handler that listens to requests for adding URLs to the blacklist.
87
  *
88
- * @since [*next-version*]
89
  */
90
  'wpra/admin/tools/blacklist/add_handler' => function (ContainerInterface $c) {
91
  return function () use ($c) {
@@ -125,7 +125,7 @@ class BlacklistToolModule implements ModuleInterface
125
  /*
126
  * The handler that listens to blacklist deletion requests.
127
  *
128
- * @since [*next-version*]
129
  */
130
  'wpra/admin/tools/blacklist/delete_handler' => function (ContainerInterface $c) {
131
  return function () use ($c) {
@@ -145,7 +145,7 @@ class BlacklistToolModule implements ModuleInterface
145
  /*
146
  * The handlerthat listens to bulk blacklist deletion requests.
147
  *
148
- * @since [*next-version*]
149
  */
150
  'wpra/admin/tools/blacklist/bulk_delete_handler' => function (ContainerInterface $c) {
151
  return function () use ($c) {
@@ -170,7 +170,7 @@ class BlacklistToolModule implements ModuleInterface
170
  /*
171
  * Alias for the blacklist entity collection, if it exists.
172
  *
173
- * @since [*next-version*]
174
  */
175
  'wpra/admin/tools/blacklist/collection' => function (ContainerInterface $c) {
176
  return $c->has('wpra/feeds/blacklist/collection')
@@ -183,7 +183,7 @@ class BlacklistToolModule implements ModuleInterface
183
  /**
184
  * @inheritdoc
185
  *
186
- * @since [*next-version*]
187
  */
188
  public function getExtensions()
189
  {
@@ -191,7 +191,7 @@ class BlacklistToolModule implements ModuleInterface
191
  /*
192
  * Registers the "Blacklist" tool.
193
  *
194
- * @since [*next-version*]
195
  */
196
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
197
  return $tools + ['blacklist' => $c->get('wpra/admin/tools/blacklist/info')];
@@ -199,7 +199,7 @@ class BlacklistToolModule implements ModuleInterface
199
  /*
200
  * Adds the context for the "Blacklist" tool on the "Tools" page.
201
  *
202
- * @since [*next-version*]
203
  */
204
  'wpra/admin/tools/page/context' => function (ContainerInterface $c, $ctx) {
205
  return $ctx + ['blacklist' => $c->get('wpra/admin/tools/blacklist/page/context')];
@@ -210,7 +210,7 @@ class BlacklistToolModule implements ModuleInterface
210
  /**
211
  * @inheritdoc
212
  *
213
- * @since [*next-version*]
214
  */
215
  public function run(ContainerInterface $c)
216
  {
11
  /**
12
  * The module that adds the "Blacklist" tool to WP RSS Aggregator.
13
  *
14
+ * @since 4.17
15
  */
16
  class BlacklistToolModule implements ModuleInterface
17
  {
18
  /**
19
  * @inheritdoc
20
  *
21
+ * @since 4.17
22
  */
23
  public function getFactories()
24
  {
26
  /*
27
  * Information about the "Blacklist" tool.
28
  *
29
+ * @since 4.17
30
  */
31
  'wpra/admin/tools/blacklist/info' => function (ContainerInterface $c) {
32
  return [
39
  /*
40
  * The context to add to the "Tools" page.
41
  *
42
+ * @since 4.17
43
  */
44
  'wpra/admin/tools/blacklist/page/context' => function (ContainerInterface $c) {
45
  ob_start();
55
  /*
56
  * The list table to show on the "Blacklist" tool page.
57
  *
58
+ * @since 4.17
59
  */
60
  'wpra/admin/tools/blacklist/page/list_table' => function (ContainerInterface $c) {
61
  return new BlacklistTable($c->get('wpra/admin/tools/blacklist/collection'));
63
  /*
64
  * The notice to show when a URL is being added to the blacklist with an empty URL.
65
  *
66
+ * @since 4.17
67
  */
68
  'wpra/admin/tools/blacklist/empty_url_notice' => function () {
69
  return sprintf(
74
  /*
75
  * The notice to show when a URL has been added to the blacklist.
76
  *
77
+ * @since 4.17
78
  */
79
  'wpra/admin/tools/blacklist/added_notice' => function () {
80
  return sprintf(
85
  /*
86
  * The handler that listens to requests for adding URLs to the blacklist.
87
  *
88
+ * @since 4.17
89
  */
90
  'wpra/admin/tools/blacklist/add_handler' => function (ContainerInterface $c) {
91
  return function () use ($c) {
125
  /*
126
  * The handler that listens to blacklist deletion requests.
127
  *
128
+ * @since 4.17
129
  */
130
  'wpra/admin/tools/blacklist/delete_handler' => function (ContainerInterface $c) {
131
  return function () use ($c) {
145
  /*
146
  * The handlerthat listens to bulk blacklist deletion requests.
147
  *
148
+ * @since 4.17
149
  */
150
  'wpra/admin/tools/blacklist/bulk_delete_handler' => function (ContainerInterface $c) {
151
  return function () use ($c) {
170
  /*
171
  * Alias for the blacklist entity collection, if it exists.
172
  *
173
+ * @since 4.17
174
  */
175
  'wpra/admin/tools/blacklist/collection' => function (ContainerInterface $c) {
176
  return $c->has('wpra/feeds/blacklist/collection')
183
  /**
184
  * @inheritdoc
185
  *
186
+ * @since 4.17
187
  */
188
  public function getExtensions()
189
  {
191
  /*
192
  * Registers the "Blacklist" tool.
193
  *
194
+ * @since 4.17
195
  */
196
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
197
  return $tools + ['blacklist' => $c->get('wpra/admin/tools/blacklist/info')];
199
  /*
200
  * Adds the context for the "Blacklist" tool on the "Tools" page.
201
  *
202
+ * @since 4.17
203
  */
204
  'wpra/admin/tools/page/context' => function (ContainerInterface $c, $ctx) {
205
  return $ctx + ['blacklist' => $c->get('wpra/admin/tools/blacklist/page/context')];
210
  /**
211
  * @inheritdoc
212
  *
213
+ * @since 4.17
214
  */
215
  public function run(ContainerInterface $c)
216
  {
src/Modules/FeedSourcesModule.php CHANGED
@@ -307,24 +307,26 @@ class FeedSourcesModule implements ModuleInterface
307
  /*
308
  * The handler that renders the source info meta box on the edit page.
309
  *
310
- * @since [*next-version*]
311
  */
312
  'wpra/feeds/sources/meta_boxes/save/renderer' => function (ContainerInterface $c) {
313
  return new RenderMetaBoxTemplateHandler(
314
  $c->get('wpra/twig/collection')['admin/feeds/save-meta-box.twig'],
315
  $c->get('wpra/feeds/sources/collection'),
 
316
  'feed'
317
  );
318
  },
319
  /*
320
  * The handler that renders the shortcode on the edit page.
321
  *
322
- * @since [*next-version*]
323
  */
324
  'wpra/feeds/sources/meta_boxes/shortcode/renderer' => function (ContainerInterface $c) {
325
  return new RenderMetaBoxTemplateHandler(
326
  $c->get('wpra/twig/collection')['admin/feeds/shortcode.twig'],
327
  $c->get('wpra/feeds/sources/collection'),
 
328
  'feed'
329
  );
330
  },
307
  /*
308
  * The handler that renders the source info meta box on the edit page.
309
  *
310
+ * @since 4.17
311
  */
312
  'wpra/feeds/sources/meta_boxes/save/renderer' => function (ContainerInterface $c) {
313
  return new RenderMetaBoxTemplateHandler(
314
  $c->get('wpra/twig/collection')['admin/feeds/save-meta-box.twig'],
315
  $c->get('wpra/feeds/sources/collection'),
316
+ ['wprss_feed'],
317
  'feed'
318
  );
319
  },
320
  /*
321
  * The handler that renders the shortcode on the edit page.
322
  *
323
+ * @since 4.17
324
  */
325
  'wpra/feeds/sources/meta_boxes/shortcode/renderer' => function (ContainerInterface $c) {
326
  return new RenderMetaBoxTemplateHandler(
327
  $c->get('wpra/twig/collection')['admin/feeds/shortcode.twig'],
328
  $c->get('wpra/feeds/sources/collection'),
329
+ ['wprss_feed'],
330
  'feed'
331
  );
332
  },
src/Modules/ImportExportToolsModule.php CHANGED
@@ -8,14 +8,14 @@ use RebelCode\Wpra\Core\Templates\NullTemplate;
8
  /**
9
  * The module that adds the "Import" and "Export" tools to WP RSS Aggregator.
10
  *
11
- * @since [*next-version*]
12
  */
13
  class ImportExportToolsModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
- * @since [*next-version*]
19
  */
20
  public function getFactories()
21
  {
@@ -23,7 +23,7 @@ class ImportExportToolsModule implements ModuleInterface
23
  /*
24
  * Information about the "Export" tool.
25
  *
26
- * @since [*next-version*]
27
  */
28
  'wpra/admin/tools/export/info' => function (ContainerInterface $c) {
29
  return [
@@ -36,7 +36,7 @@ class ImportExportToolsModule implements ModuleInterface
36
  /*
37
  * Information about the "Import" tool.
38
  *
39
- * @since [*next-version*]
40
  */
41
  'wpra/admin/tools/import/info' => function (ContainerInterface $c) {
42
  return [
@@ -49,7 +49,7 @@ class ImportExportToolsModule implements ModuleInterface
49
  /*
50
  * The handler that listens to the export request and creates the export file.
51
  *
52
- * @since [*next-version*]
53
  */
54
  'wpra/admin/tools/export/handler' => function (ContainerInterface $c) {
55
  return function () {
@@ -84,7 +84,7 @@ class ImportExportToolsModule implements ModuleInterface
84
  /*
85
  * The handler that listens to import upload requests and imports settings from the uploaded file.
86
  *
87
- * @since [*next-version*]
88
  */
89
  'wpra/admin/tools/import/handler' => function (ContainerInterface $c) {
90
  return function () {
@@ -144,7 +144,7 @@ class ImportExportToolsModule implements ModuleInterface
144
  /**
145
  * @inheritdoc
146
  *
147
- * @since [*next-version*]
148
  */
149
  public function getExtensions()
150
  {
@@ -152,7 +152,7 @@ class ImportExportToolsModule implements ModuleInterface
152
  /*
153
  * Registers the "Export" and "Import" tools.
154
  *
155
- * @since [*next-version*]
156
  */
157
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
158
  return $tools + [
@@ -166,7 +166,7 @@ class ImportExportToolsModule implements ModuleInterface
166
  /**
167
  * @inheritdoc
168
  *
169
- * @since [*next-version*]
170
  */
171
  public function run(ContainerInterface $c)
172
  {
8
  /**
9
  * The module that adds the "Import" and "Export" tools to WP RSS Aggregator.
10
  *
11
+ * @since 4.17
12
  */
13
  class ImportExportToolsModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
+ * @since 4.17
19
  */
20
  public function getFactories()
21
  {
23
  /*
24
  * Information about the "Export" tool.
25
  *
26
+ * @since 4.17
27
  */
28
  'wpra/admin/tools/export/info' => function (ContainerInterface $c) {
29
  return [
36
  /*
37
  * Information about the "Import" tool.
38
  *
39
+ * @since 4.17
40
  */
41
  'wpra/admin/tools/import/info' => function (ContainerInterface $c) {
42
  return [
49
  /*
50
  * The handler that listens to the export request and creates the export file.
51
  *
52
+ * @since 4.17
53
  */
54
  'wpra/admin/tools/export/handler' => function (ContainerInterface $c) {
55
  return function () {
84
  /*
85
  * The handler that listens to import upload requests and imports settings from the uploaded file.
86
  *
87
+ * @since 4.17
88
  */
89
  'wpra/admin/tools/import/handler' => function (ContainerInterface $c) {
90
  return function () {
144
  /**
145
  * @inheritdoc
146
  *
147
+ * @since 4.17
148
  */
149
  public function getExtensions()
150
  {
152
  /*
153
  * Registers the "Export" and "Import" tools.
154
  *
155
+ * @since 4.17
156
  */
157
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
158
  return $tools + [
166
  /**
167
  * @inheritdoc
168
  *
169
+ * @since 4.17
170
  */
171
  public function run(ContainerInterface $c)
172
  {
src/Modules/ResetToolModule.php CHANGED
@@ -8,14 +8,14 @@ use RebelCode\Wpra\Core\Templates\NullTemplate;
8
  /**
9
  * The module that adds the "Reset" tool to WP RSS Aggregator.
10
  *
11
- * @since [*next-version*]
12
  */
13
  class ResetToolModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
- * @since [*next-version*]
19
  */
20
  public function getFactories()
21
  {
@@ -23,7 +23,7 @@ class ResetToolModule implements ModuleInterface
23
  /*
24
  * Information about the "Reset" tool.
25
  *
26
- * @since [*next-version*]
27
  */
28
  'wpra/admin/tools/reset/info' => function (ContainerInterface $c) {
29
  return [
@@ -36,7 +36,7 @@ class ResetToolModule implements ModuleInterface
36
  /*
37
  * The handler that listens to items delete requests and deletes the imported items.
38
  *
39
- * @since [*next-version*]
40
  */
41
  'wpra/admin/tools/reset/items_handler' => function (ContainerInterface $c) {
42
  return function () use ($c) {
@@ -57,7 +57,7 @@ class ResetToolModule implements ModuleInterface
57
  /*
58
  * The handler that listens to settings reset requests and resets the settings.
59
  *
60
- * @since [*next-version*]
61
  */
62
  'wpra/admin/tools/reset/settings_handler' => function (ContainerInterface $c) {
63
  return function () use ($c) {
@@ -82,7 +82,7 @@ class ResetToolModule implements ModuleInterface
82
  /*
83
  * The notice to show when the items are being deleted.
84
  *
85
- * @since [*next-version*]
86
  */
87
  'wpra/admin/tools/reset/items_notice' => function () {
88
  return sprintf(
@@ -93,7 +93,7 @@ class ResetToolModule implements ModuleInterface
93
  /*
94
  * The notice to show when the settings have been reset.
95
  *
96
- * @since [*next-version*]
97
  */
98
  'wpra/admin/tools/reset/settings_notice' => function () {
99
  return sprintf(
@@ -121,7 +121,7 @@ class ResetToolModule implements ModuleInterface
121
  /**
122
  * @inheritdoc
123
  *
124
- * @since [*next-version*]
125
  */
126
  public function getExtensions()
127
  {
@@ -129,7 +129,7 @@ class ResetToolModule implements ModuleInterface
129
  /*
130
  * Registers the "Reset" tool.
131
  *
132
- * @since [*next-version*]
133
  */
134
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
135
  return $tools + ['reset' => $c->get('wpra/admin/tools/reset/info')];
@@ -140,7 +140,7 @@ class ResetToolModule implements ModuleInterface
140
  /**
141
  * @inheritdoc
142
  *
143
- * @since [*next-version*]
144
  */
145
  public function run(ContainerInterface $c)
146
  {
8
  /**
9
  * The module that adds the "Reset" tool to WP RSS Aggregator.
10
  *
11
+ * @since 4.17
12
  */
13
  class ResetToolModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
+ * @since 4.17
19
  */
20
  public function getFactories()
21
  {
23
  /*
24
  * Information about the "Reset" tool.
25
  *
26
+ * @since 4.17
27
  */
28
  'wpra/admin/tools/reset/info' => function (ContainerInterface $c) {
29
  return [
36
  /*
37
  * The handler that listens to items delete requests and deletes the imported items.
38
  *
39
+ * @since 4.17
40
  */
41
  'wpra/admin/tools/reset/items_handler' => function (ContainerInterface $c) {
42
  return function () use ($c) {
57
  /*
58
  * The handler that listens to settings reset requests and resets the settings.
59
  *
60
+ * @since 4.17
61
  */
62
  'wpra/admin/tools/reset/settings_handler' => function (ContainerInterface $c) {
63
  return function () use ($c) {
82
  /*
83
  * The notice to show when the items are being deleted.
84
  *
85
+ * @since 4.17
86
  */
87
  'wpra/admin/tools/reset/items_notice' => function () {
88
  return sprintf(
93
  /*
94
  * The notice to show when the settings have been reset.
95
  *
96
+ * @since 4.17
97
  */
98
  'wpra/admin/tools/reset/settings_notice' => function () {
99
  return sprintf(
121
  /**
122
  * @inheritdoc
123
  *
124
+ * @since 4.17
125
  */
126
  public function getExtensions()
127
  {
129
  /*
130
  * Registers the "Reset" tool.
131
  *
132
+ * @since 4.17
133
  */
134
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
135
  return $tools + ['reset' => $c->get('wpra/admin/tools/reset/info')];
140
  /**
141
  * @inheritdoc
142
  *
143
+ * @since 4.17
144
  */
145
  public function run(ContainerInterface $c)
146
  {
src/Modules/SysInfoToolModule.php CHANGED
@@ -8,14 +8,14 @@ use RebelCode\Wpra\Core\Templates\NullTemplate;
8
  /**
9
  * The module that adds the "System Info" tool to WP RSS Aggregator.
10
  *
11
- * @since [*next-version*]
12
  */
13
  class SysInfoToolModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
- * @since [*next-version*]
19
  */
20
  public function getFactories()
21
  {
@@ -23,7 +23,7 @@ class SysInfoToolModule implements ModuleInterface
23
  /*
24
  * Information about the "System Info" tool.
25
  *
26
- * @since [*next-version*]
27
  */
28
  'wpra/admin/tools/sys_info/info' => function (ContainerInterface $c) {
29
  return [
@@ -36,7 +36,7 @@ class SysInfoToolModule implements ModuleInterface
36
  /*
37
  * The handler that listens to the system info download request.
38
  *
39
- * @since [*next-version*]
40
  */
41
  'wpra/admin/tools/sys_info/dl_handler' => function (ContainerInterface $c) {
42
  return function () {
@@ -61,7 +61,7 @@ class SysInfoToolModule implements ModuleInterface
61
  /**
62
  * @inheritdoc
63
  *
64
- * @since [*next-version*]
65
  */
66
  public function getExtensions()
67
  {
@@ -69,7 +69,7 @@ class SysInfoToolModule implements ModuleInterface
69
  /*
70
  * Registers the "System Info" tool.
71
  *
72
- * @since [*next-version*]
73
  */
74
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
75
  return $tools + ['sys_info' => $c->get('wpra/admin/tools/sys_info/info')];
@@ -77,7 +77,7 @@ class SysInfoToolModule implements ModuleInterface
77
  /*
78
  * Adds the system information to the render context on the "Tools" page.
79
  *
80
- * @since [*next-version*]
81
  */
82
  'wpra/admin/tools/page/context' => function (ContainerInterface $c, $ctx) {
83
  return $ctx + ['sys_info' => wpra_get_sys_info()];
@@ -88,7 +88,7 @@ class SysInfoToolModule implements ModuleInterface
88
  /**
89
  * @inheritdoc
90
  *
91
- * @since [*next-version*]
92
  */
93
  public function run(ContainerInterface $c)
94
  {
8
  /**
9
  * The module that adds the "System Info" tool to WP RSS Aggregator.
10
  *
11
+ * @since 4.17
12
  */
13
  class SysInfoToolModule implements ModuleInterface
14
  {
15
  /**
16
  * @inheritdoc
17
  *
18
+ * @since 4.17
19
  */
20
  public function getFactories()
21
  {
23
  /*
24
  * Information about the "System Info" tool.
25
  *
26
+ * @since 4.17
27
  */
28
  'wpra/admin/tools/sys_info/info' => function (ContainerInterface $c) {
29
  return [
36
  /*
37
  * The handler that listens to the system info download request.
38
  *
39
+ * @since 4.17
40
  */
41
  'wpra/admin/tools/sys_info/dl_handler' => function (ContainerInterface $c) {
42
  return function () {
61
  /**
62
  * @inheritdoc
63
  *
64
+ * @since 4.17
65
  */
66
  public function getExtensions()
67
  {
69
  /*
70
  * Registers the "System Info" tool.
71
  *
72
+ * @since 4.17
73
  */
74
  'wpra/admin/tools' => function (ContainerInterface $c, $tools) {
75
  return $tools + ['sys_info' => $c->get('wpra/admin/tools/sys_info/info')];
77
  /*
78
  * Adds the system information to the render context on the "Tools" page.
79
  *
80
+ * @since 4.17
81
  */
82
  'wpra/admin/tools/page/context' => function (ContainerInterface $c, $ctx) {
83
  return $ctx + ['sys_info' => wpra_get_sys_info()];
88
  /**
89
  * @inheritdoc
90
  *
91
+ * @since 4.17
92
  */
93
  public function run(ContainerInterface $c)
94
  {
templates/admin/feeds/shortcode.twig CHANGED
@@ -1,4 +1,4 @@
1
- {% if not feed.slug == "" %}
2
  <div>
3
  <p class="wpra-feed-shortcodes">
4
  <strong>{% trans "Shortcode:" %}</strong>
1
+ {% if feed.slug|length > 0 %}
2
  <div>
3
  <p class="wpra-feed-shortcodes">
4
  <strong>{% trans "Shortcode:" %}</strong>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit796829dbff036dfa1f01a56da70a551a::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitc370d92a64f00baf5b2602bffa845945::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitc370d92a64f00baf5b2602bffa845945
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitc370d92a64f00baf5b2602bffa845945::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequirec370d92a64f00baf5b2602bffa845945($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequirec370d92a64f00baf5b2602bffa845945($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit796829dbff036dfa1f01a56da70a551a
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit796829dbff036dfa1f01a56da70a551a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit796829dbff036dfa1f01a56da70a551a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit796829dbff036dfa1f01a56da70a551a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit796829dbff036dfa1f01a56da70a551a::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire796829dbff036dfa1f01a56da70a551a($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire796829dbff036dfa1f01a56da70a551a($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitc370d92a64f00baf5b2602bffa845945
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
@@ -1077,10 +1077,10 @@ class ComposerStaticInitc370d92a64f00baf5b2602bffa845945
1077
  public static function getInitializer(ClassLoader $loader)
1078
  {
1079
  return \Closure::bind(function () use ($loader) {
1080
- $loader->prefixLengthsPsr4 = ComposerStaticInitc370d92a64f00baf5b2602bffa845945::$prefixLengthsPsr4;
1081
- $loader->prefixDirsPsr4 = ComposerStaticInitc370d92a64f00baf5b2602bffa845945::$prefixDirsPsr4;
1082
- $loader->prefixesPsr0 = ComposerStaticInitc370d92a64f00baf5b2602bffa845945::$prefixesPsr0;
1083
- $loader->classMap = ComposerStaticInitc370d92a64f00baf5b2602bffa845945::$classMap;
1084
 
1085
  }, null, ClassLoader::class);
1086
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit796829dbff036dfa1f01a56da70a551a
8
  {
9
  public static $files = array (
10
  '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
1077
  public static function getInitializer(ClassLoader $loader)
1078
  {
1079
  return \Closure::bind(function () use ($loader) {
1080
+ $loader->prefixLengthsPsr4 = ComposerStaticInit796829dbff036dfa1f01a56da70a551a::$prefixLengthsPsr4;
1081
+ $loader->prefixDirsPsr4 = ComposerStaticInit796829dbff036dfa1f01a56da70a551a::$prefixDirsPsr4;
1082
+ $loader->prefixesPsr0 = ComposerStaticInit796829dbff036dfa1f01a56da70a551a::$prefixesPsr0;
1083
+ $loader->classMap = ComposerStaticInit796829dbff036dfa1f01a56da70a551a::$classMap;
1084
 
1085
  }, null, ClassLoader::class);
1086
  }
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.17
8
  * Author: RebelCode
9
  * Author URI: https://www.wprssaggregator.com
10
  * Text Domain: wprss
@@ -77,7 +77,7 @@ use RebelCode\Wpra\Core\Plugin;
77
 
78
  // Set the version number of the plugin.
79
  if( !defined( 'WPRSS_VERSION' ) )
80
- define( 'WPRSS_VERSION', '4.17' );
81
 
82
  if( !defined( 'WPRSS_WP_MIN_VERSION' ) )
83
  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.17.1
8
  * Author: RebelCode
9
  * Author URI: https://www.wprssaggregator.com
10
  * Text Domain: wprss
77
 
78
  // Set the version number of the plugin.
79
  if( !defined( 'WPRSS_VERSION' ) )
80
+ define( 'WPRSS_VERSION', '4.17.1' );
81
 
82
  if( !defined( 'WPRSS_WP_MIN_VERSION' ) )
83
  define( 'WPRSS_WP_MIN_VERSION', '4.8' );