Version Description
(2014-03-20) = * Fixed bug: Using the shortcode makes the comments section always open.
Download this release
Release Info
Developer | jeangalea |
Plugin | WP RSS Aggregator |
Version | 4.0.8 |
Comparing to | |
See all releases |
Code changes from version 4.0.7 to 4.0.8
- changelog.txt +266 -0
- includes/admin-display.php +3 -1
- includes/admin-welcome.php +1 -1
- includes/feed-display.php +6 -7
- includes/feed-importing.php +1 -0
- includes/libraries/WP_Logging.php +0 -360
- js/admin-addon-ajax.js +4 -4
- js/admin-custom.js +4 -4
- readme.txt +9 -1
- wp-rss-aggregator.php +5 -8
changelog.txt
ADDED
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
4.0.8 (2014-03-20)
|
2 |
+
Enhanced: Fetch feeds row action now registers a cron job.
|
3 |
+
Enhanced: Increased fetch feed timeout to 30 seconds.
|
4 |
+
Fixed bug: Using the shortcode makes the comments section always open.
|
5 |
+
|
6 |
+
4.0.7 (2014-03-08)
|
7 |
+
Fixed bug: The plugin prevented uploading of header images.
|
8 |
+
|
9 |
+
4.0.6 (2014-03-05)
|
10 |
+
Fixed bug: Hook change in last version suspected reason for some installations having non-updated feed items.
|
11 |
+
|
12 |
+
4.0.5 (2014-03-03)
|
13 |
+
New Feature: Time ago added as an option.
|
14 |
+
Enhanced: The plugin now allows the use of RSS and Atom feeds that do not specify the correct MIME type.
|
15 |
+
Enhanced: Better performance due to better hook usage.
|
16 |
+
Fixed bug: Facebook page feed URL conversion was not being triggered for new feed sources.
|
17 |
+
Fixed bug: Styles fix for pagination.
|
18 |
+
Fixed bug: Removed empty spaces in logging.
|
19 |
+
|
20 |
+
4.0.4 (2014-02-22)
|
21 |
+
Enhanced: Added Activate/Pause bulk actions in the Feed Sources page.
|
22 |
+
Enhanced: Feed Sources page table has been re-designed.
|
23 |
+
Enhanced: Logging is now site dependant on multisite.
|
24 |
+
Fixed bug: Undefined display settings where appearing on the front end.
|
25 |
+
|
26 |
+
4.0.3 (2014-02-12)
|
27 |
+
Fixed bug: The general setting for deleting feed items by age was not working.
|
28 |
+
|
29 |
+
4.0.2 (2014-02-10)
|
30 |
+
Enhanced: Added a filter to change the html tags allowed in feed item content.
|
31 |
+
|
32 |
+
4.0.1 (2014-02-08)
|
33 |
+
Fixed bug: Empty array of feed items bug caused importing problems.
|
34 |
+
|
35 |
+
4.0 (2014-02-04)
|
36 |
+
Enhanced: Improved some internal queries, for better performance.
|
37 |
+
Fixed bug: Feed limits were not working properly.
|
38 |
+
|
39 |
+
3.9.9 (2014-02-03)
|
40 |
+
Enhanced: The custom feed can now be extended by add-ons.
|
41 |
+
|
42 |
+
3.9.8 (2014-01-20)
|
43 |
+
Fixed bug: Removed excessive logging from Debugging Error Log.
|
44 |
+
|
45 |
+
3.9.7 (2014-01-17)
|
46 |
+
Fixed bug: Bug in admin-debugging.php causing trouble with admin login
|
47 |
+
|
48 |
+
3.9.6 (2014-01-17)
|
49 |
+
Enhanced: Added error logging.
|
50 |
+
|
51 |
+
3.9.5 (2014-01-02)
|
52 |
+
Enhanced: Added a feed validator link in the New/Edit Feed Sources page.
|
53 |
+
Enhanced: The Next Update column also shows the time remaining for next update, for feed source on the global update interval.
|
54 |
+
Enhanced: The custom feed has been improved, and is now identical to the feeds displayed with the shortcode.
|
55 |
+
Enhanced: License notifications only appear on the main site when using WordPress multisite.
|
56 |
+
Enhanced: Updated Colorbox script to 1.4.33
|
57 |
+
Fixed bug: The Imported Items column was always showing zero.
|
58 |
+
Fixed bug: Feed items not being imported with limit set to zero. Should be unlimited.
|
59 |
+
Fixed bug: Broken display template if titles are not linked and no source and date are displayed.
|
60 |
+
Fixed bug: Fat header in Feed Sources page
|
61 |
+
|
62 |
+
3.9.4 (2013-12-24)
|
63 |
+
Enhanced: Added a column in the Feed Sources page that shows the number of feed items imported for each feed source.
|
64 |
+
Fixed bug: Leaving the delete old feed items empty did not ignore the delete.
|
65 |
+
|
66 |
+
3.9.3 (2013-12-23)
|
67 |
+
Fixed bug: Fixed tracking pointer appearing on saving settings.
|
68 |
+
|
69 |
+
3.9.2 (2013-12-21)
|
70 |
+
Fixed bug: Incorrect file include call.
|
71 |
+
|
72 |
+
3.9.1 (2013-12-21)
|
73 |
+
Enhanced: Improved date and time handling for imported feed items.
|
74 |
+
Fixed bug: Incorrect values being shown in the Feed Processing metabox.
|
75 |
+
Fixed bug: Feed limits set to zero were causing feeds to not be imported.
|
76 |
+
|
77 |
+
3.9 (2013-12-12)
|
78 |
+
New Feature: Feed sources can have their own update interval.
|
79 |
+
New Feature: The time remaining until the next update has been added to the Feed Source table.
|
80 |
+
|
81 |
+
3.8 (2013-12-05)
|
82 |
+
New Feature: Feed items can be limited and deleted by their age.
|
83 |
+
Enhanced: Added utility functions for shorter filters.
|
84 |
+
Fixed bug: License codes were being erased when add-ons were deactivated.
|
85 |
+
Fixed bug: Some feed sources could not be set to active from the table controls.
|
86 |
+
Fixed bug: str_pos errors appear when custom feed url is left empty.
|
87 |
+
Fixed bug: Some options were producing undefined index errors.
|
88 |
+
|
89 |
+
3.7 (2013-11-28)
|
90 |
+
New Feature: State system - Feed sources can be activated/paused.
|
91 |
+
New Feature: State system - Feed sources can be set to activate or pause themselves at a specific date and time.
|
92 |
+
Enhanced: Added compatibility with nested outline elements in OPML files.
|
93 |
+
Enhanced: Admin menu icon image will change into a Dashicon, when WordPress is updated to 3.8 (Decemeber 2013).
|
94 |
+
Fixed bug: Custom Post types were breaking when the plugin is activated.
|
95 |
+
|
96 |
+
3.6.1 (2013-11-17)
|
97 |
+
Fixed bug: Missing 2nd argument for wprss_shorten_title()
|
98 |
+
|
99 |
+
3.6 (2013-11-16)
|
100 |
+
New Feature: Can set the maximum length for titles. Long titles get trimmed.
|
101 |
+
Fixed bug: Fixed errors with undefined indexes for unchecked checkboxes in the settings page.
|
102 |
+
Fixed bug: Pagination on front static page was not working.
|
103 |
+
|
104 |
+
3.5.2 (2013-11-11)
|
105 |
+
Fixed bug: Invalid feed source url was producing an Undefined method notice.
|
106 |
+
Fixed bug: Custom feed was producing a 404 page.
|
107 |
+
Fixed bug: Presstrends code firing on admin_init, opt-in implementation coming soon
|
108 |
+
|
109 |
+
3.5.1 (2013-11-09)
|
110 |
+
Enhanced: Increased compatibility with RSS sources.
|
111 |
+
Fixed bug: Pagination not working on home page
|
112 |
+
|
113 |
+
3.5 (2013-11-6)
|
114 |
+
New Feature: Can delete feed items for a particular source
|
115 |
+
Enhanced: the 'Fetch feed items' row action for feed sources resets itself after 3.5 seconds.
|
116 |
+
Enhanced: The feed image is saved for each url.
|
117 |
+
Fixed bug: Link to source now links to correct url. Previously linked to site's feed.
|
118 |
+
|
119 |
+
3.4.6 (2013-11-1)
|
120 |
+
Enhanced: Added more hooks to debugging page for the Feed to Post add-on.
|
121 |
+
Fixed bug: Uninitialized loop index
|
122 |
+
|
123 |
+
3.4.5 (2013-10-30)
|
124 |
+
Bug Fix: Feed items were not being imported while the WPML plugin was active.
|
125 |
+
|
126 |
+
3.4.4 (2013-10-26)
|
127 |
+
New feature: Pagination
|
128 |
+
New feature: First implementation of editor button for easy shortcode creation
|
129 |
+
Enhanced: Feed items and sources don't show up in link manager
|
130 |
+
Enhanced: Included Presstrends code for plugin usage monitoring
|
131 |
+
|
132 |
+
3.4.3 (2013-10-20)
|
133 |
+
Fixed bug: Removed anonymous functions for backwards PHP compatibility
|
134 |
+
Bug fix: Added suppress_filters in feed-display.php to prevent a user reported error
|
135 |
+
Bug fix: Missing <li> in certain feed displays
|
136 |
+
|
137 |
+
3.4.2 (2013-9-19)
|
138 |
+
Enhanced: Added some hooks for Feed to Post compatibility
|
139 |
+
Enhanced: Moved date settings to a more appropriate location
|
140 |
+
|
141 |
+
3.4.1 (2013-9-16)
|
142 |
+
Fixed Bug: Minor issue with options page - PHP notice
|
143 |
+
|
144 |
+
3.4 (2013-9-15)
|
145 |
+
New Feature: Saving/Updating a feed source triggers an update for that source's feed items.
|
146 |
+
New Feature: Option to change Youtube, Vimeo and Dailymotion feed item URLs to embedded video players URLs
|
147 |
+
New Feature: Facebook Pages URLs are automatically detected and changed into Atom Feed URLs using FB's Graph
|
148 |
+
Enhanced: Updated jQuery Colorbox library to 1.4.29
|
149 |
+
Fixed Bug: Some settings did not have a default value set, and were throwing an 'Undefined Index' error
|
150 |
+
Fixed Bug: Admin notices do not disappear immediately when dismissed.
|
151 |
+
|
152 |
+
3.3.3 (2013-09-08)
|
153 |
+
Fixed bug: Better function handling on uninstall, should remove uninstall issues
|
154 |
+
|
155 |
+
3.3.2 (2013-09-07)
|
156 |
+
New feature: Added exclude parameter to shortcode
|
157 |
+
Enhanced: Added metabox links to documentation and add-ons
|
158 |
+
Fixed bug: Custom feed linking to post on user site rather than original source
|
159 |
+
Fixed bug: Custom post types issues when activitating the plugin
|
160 |
+
|
161 |
+
3.3.1 (2013-08-09)
|
162 |
+
Fixed bug: Roles and Capabilities file had not been included
|
163 |
+
Fixed bug: Error on install, function not found
|
164 |
+
|
165 |
+
3.3 (2013-08-08)
|
166 |
+
New feature: OPML importer
|
167 |
+
New feature: Feed item limits for individual Feed Sources
|
168 |
+
New feature: Custom feed URL
|
169 |
+
New feature: Feed limit on custom feed
|
170 |
+
New feature: New 'Fetch feed items' action for each Feed Source in listing display
|
171 |
+
New feature: Option to enable link to source
|
172 |
+
Enhanced: Date strings now change according to locale being used (i.e. compatible with WPML)
|
173 |
+
Enhanced: Capabilities implemented
|
174 |
+
Enhanced: Feed Sources row action 'View' removed
|
175 |
+
Fixed Bug: Proxy feed URLs resulting in the permalink: example.com/url
|
176 |
+
|
177 |
+
3.2 (2013-07-06)
|
178 |
+
New feature: Parameter to limit number of feeds displayed
|
179 |
+
New feature: Paramter to limit feeds displayed to particular sources (via ID)
|
180 |
+
New feature: Now handles licensing for add-ons
|
181 |
+
Enhanced: Better feed import handling to handle large number of feed sources
|
182 |
+
|
183 |
+
3.1.1 (2013-06-06)
|
184 |
+
Fixed bug: Incompatibility with some other plugins due to function missing namespace
|
185 |
+
|
186 |
+
3.1 (2013-06-06)
|
187 |
+
New feature: Option to set the number of feed items imported from every feed (default 5)
|
188 |
+
New feature: Import and Export aggregator settings and feed sources
|
189 |
+
New feature: Debugging page allowing manual feed refresh and feed reset
|
190 |
+
Enhanced: Faster handling of restoring sources from trash when feed limit is 0
|
191 |
+
Fixed bug: Limiter on number of overall feeds stored not working
|
192 |
+
Fixed bug: Incompatibility issue with Foobox plugin fixed
|
193 |
+
Fixed bug: Duplicate feeds sometimes imported
|
194 |
+
|
195 |
+
3.0 (2013-03-16)
|
196 |
+
New feature: Option to select cron frequency
|
197 |
+
New feature: Code extensibility added to be compatible with add-ons
|
198 |
+
New feature: Option to set a limit to the number of feeds stored (previously 50, hard coded)
|
199 |
+
New feature: Option to define the format of the date shown below each feed item
|
200 |
+
New feature: Option to show or hide source of feed item
|
201 |
+
New feature: Option to show or hide publish date of feed item
|
202 |
+
New feature: Option to set text preceding publish date
|
203 |
+
New feature: Option to set text preceding source of feed item
|
204 |
+
New feature: Option to link title or not
|
205 |
+
New feature: Limit of 5 items imported for each source instead of 10
|
206 |
+
Enhanced: Performance improvement when publishing new feeds in admin
|
207 |
+
Enhanced: Query tuning for better performance
|
208 |
+
Enhanced: Major code rewrite, refactoring and inclusion of hooks
|
209 |
+
Enhanced: Updated Colorbox to v1.4.1
|
210 |
+
Enhanced: Better security implementations
|
211 |
+
Enhanced: Better feed preview display
|
212 |
+
Fixed bug: Deletion of items upon source deletion not working properly
|
213 |
+
Requires: WordPress 3.3
|
214 |
+
|
215 |
+
2.2.3 (2012-11-01)
|
216 |
+
Fixed bug: Tab navigation preventing typing in input boxes
|
217 |
+
Removed: Feeds showing up in internal linking pop up
|
218 |
+
|
219 |
+
2.2.2 (2012-10-30)
|
220 |
+
Removed: Feeds showing up in site search results
|
221 |
+
Enhanced: Better tab button navigation when adding a new feed
|
222 |
+
Enhanced: Better guidance when a feed URL is invalid
|
223 |
+
|
224 |
+
2.2.1 (2012-10-17)
|
225 |
+
Fixed bug: wprss_feed_source_order assumes everyone is an admin
|
226 |
+
|
227 |
+
2.2 (2012-10-01)
|
228 |
+
New feature: Italian translation added
|
229 |
+
Enhanced: Feed source order changed to alphabetical
|
230 |
+
Fixed bug: repeated entries when having a non-valid feed source
|
231 |
+
Fixed bug: all imported feeds deleted upon trashing a single feed source
|
232 |
+
|
233 |
+
2.1 (2012-09-27)
|
234 |
+
New feature: Now localised for translations
|
235 |
+
Fixed bug: with date string
|
236 |
+
Fixed bug: $link_before and $link_after, now working
|
237 |
+
Enhanced: Added backwards compatibility for wp_rss_aggregator() function
|
238 |
+
|
239 |
+
2.0 (2012-09-21)
|
240 |
+
Bulk of code rewritten and refactored
|
241 |
+
Added install and upgrade functions
|
242 |
+
Added DB version setting
|
243 |
+
Feed sources now stored as Custom Post Types
|
244 |
+
Feed source list sortable ascending or descending by name
|
245 |
+
Removed days subsections in feed display
|
246 |
+
Ability to limit total number of feeds displayed
|
247 |
+
Feeds now fetched via Cron
|
248 |
+
Cron job to delete old feed items, keeps max of 50 items in DB
|
249 |
+
Now requires WordPress 3.2
|
250 |
+
updated colorbox to v1.3.20.1
|
251 |
+
Limit of 15 items max imported for each source
|
252 |
+
Fixed issue of page content displaying incorrectly after feeds
|
253 |
+
|
254 |
+
1.1 (2012-08-13)
|
255 |
+
Now requires WordPress 3.0
|
256 |
+
More flexible fetching of images directory
|
257 |
+
Has its own top level menu item
|
258 |
+
Added settings section
|
259 |
+
Ability to open in lightbox, new window or default browser behaviour
|
260 |
+
Ability to set links as follow or no follow
|
261 |
+
Using constants for oftenly used locations
|
262 |
+
Code refactoring
|
263 |
+
Changes in file and folder structure
|
264 |
+
|
265 |
+
1.0 (2012-01-06)
|
266 |
+
First release
|
includes/admin-display.php
CHANGED
@@ -384,7 +384,9 @@
|
|
384 |
if ( isset( $_POST['id'] ) && !empty( $_POST['id'] ) ) {
|
385 |
$id = $_POST['id'];
|
386 |
update_post_meta( $id, 'wprss_force_next_fetch', '1' );
|
387 |
-
|
|
|
|
|
388 |
die();
|
389 |
}
|
390 |
}
|
384 |
if ( isset( $_POST['id'] ) && !empty( $_POST['id'] ) ) {
|
385 |
$id = $_POST['id'];
|
386 |
update_post_meta( $id, 'wprss_force_next_fetch', '1' );
|
387 |
+
// Prepare the schedule
|
388 |
+
$schedule_args = array( strval( $id ) );
|
389 |
+
wp_schedule_single_event( time(), 'wprss_fetch_single_feed_hook', $schedule_args );
|
390 |
die();
|
391 |
}
|
392 |
}
|
includes/admin-welcome.php
CHANGED
@@ -74,7 +74,7 @@
|
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
-
<li><strong>Fixed bug:</strong>
|
78 |
</ul>
|
79 |
|
80 |
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
+
<li><strong>Fixed bug:</strong> Using the shortcode makes the comments section always open.</li>
|
78 |
</ul>
|
79 |
|
80 |
|
includes/feed-display.php
CHANGED
@@ -155,6 +155,7 @@
|
|
155 |
global $paged;
|
156 |
$old_wp_query = $wp_query;
|
157 |
$wp_query = $feed_items;
|
|
|
158 |
$general_settings = get_option( 'wprss_settings_general' );
|
159 |
$excerpts_settings = get_option( 'wprss_settings_excerpts' );
|
160 |
$thumbnails_settings = get_option( 'wprss_settings_thumbnails' );
|
@@ -241,20 +242,20 @@
|
|
241 |
|
242 |
$output = apply_filters( 'feed_output', $output );
|
243 |
|
244 |
-
echo $output;
|
245 |
-
|
246 |
-
wp_reset_postdata();
|
247 |
|
248 |
} else {
|
249 |
$output = apply_filters( 'no_feed_items_found', __( 'No feed items found.', 'wprss' ) );
|
250 |
echo $output;
|
251 |
}
|
252 |
-
|
|
|
|
|
|
|
253 |
}
|
254 |
|
255 |
|
256 |
add_filter( 'wprss_pagination', 'wprss_pagination_links' );
|
257 |
-
|
258 |
/**
|
259 |
* Display pagination links
|
260 |
*
|
@@ -269,7 +270,6 @@
|
|
269 |
}
|
270 |
|
271 |
|
272 |
-
|
273 |
add_filter( 'the_title', 'wprss_shorten_title', 10, 2 );
|
274 |
/**
|
275 |
* Checks the title limit option and shortens the title when necassary.
|
@@ -291,7 +291,6 @@
|
|
291 |
}
|
292 |
|
293 |
|
294 |
-
|
295 |
/**
|
296 |
* Display feed items on the front end (via shortcode or function)
|
297 |
*
|
155 |
global $paged;
|
156 |
$old_wp_query = $wp_query;
|
157 |
$wp_query = $feed_items;
|
158 |
+
|
159 |
$general_settings = get_option( 'wprss_settings_general' );
|
160 |
$excerpts_settings = get_option( 'wprss_settings_excerpts' );
|
161 |
$thumbnails_settings = get_option( 'wprss_settings_thumbnails' );
|
242 |
|
243 |
$output = apply_filters( 'feed_output', $output );
|
244 |
|
245 |
+
echo $output;
|
|
|
|
|
246 |
|
247 |
} else {
|
248 |
$output = apply_filters( 'no_feed_items_found', __( 'No feed items found.', 'wprss' ) );
|
249 |
echo $output;
|
250 |
}
|
251 |
+
|
252 |
+
$wp_query = $old_wp_query;
|
253 |
+
|
254 |
+
wp_reset_postdata();
|
255 |
}
|
256 |
|
257 |
|
258 |
add_filter( 'wprss_pagination', 'wprss_pagination_links' );
|
|
|
259 |
/**
|
260 |
* Display pagination links
|
261 |
*
|
270 |
}
|
271 |
|
272 |
|
|
|
273 |
add_filter( 'the_title', 'wprss_shorten_title', 10, 2 );
|
274 |
/**
|
275 |
* Checks the title limit option and shortens the title when necassary.
|
291 |
}
|
292 |
|
293 |
|
|
|
294 |
/**
|
295 |
* Display feed items on the front end (via shortcode or function)
|
296 |
*
|
includes/feed-importing.php
CHANGED
@@ -181,6 +181,7 @@
|
|
181 |
|
182 |
$feed->set_feed_url( $url );
|
183 |
$feed->force_feed( TRUE );
|
|
|
184 |
|
185 |
//$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
|
186 |
$feed->enable_cache( FALSE );
|
181 |
|
182 |
$feed->set_feed_url( $url );
|
183 |
$feed->force_feed( TRUE );
|
184 |
+
$feed->set_timeout( 30 );
|
185 |
|
186 |
//$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
|
187 |
$feed->enable_cache( FALSE );
|
includes/libraries/WP_Logging.php
DELETED
@@ -1,360 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Class for logging events and errors
|
5 |
-
*
|
6 |
-
* @package WP Logging Class
|
7 |
-
* @copyright Copyright (c) 2012, Pippin Williamson
|
8 |
-
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
-
*/
|
10 |
-
|
11 |
-
class WP_Logging {
|
12 |
-
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Class constructor.
|
16 |
-
*
|
17 |
-
* @since 1.0
|
18 |
-
*
|
19 |
-
* @access public
|
20 |
-
* @return void
|
21 |
-
*/
|
22 |
-
function __construct() {
|
23 |
-
|
24 |
-
// create the log post type
|
25 |
-
add_action( 'init', array( $this, 'register_post_type' ) );
|
26 |
-
|
27 |
-
// create types taxonomy and default types
|
28 |
-
add_action( 'init', array( $this, 'register_taxonomy' ) );
|
29 |
-
|
30 |
-
}
|
31 |
-
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Log types
|
35 |
-
*
|
36 |
-
* Sets up the default log types and allows for new ones to be created
|
37 |
-
*
|
38 |
-
* @access private
|
39 |
-
* @since 1.0
|
40 |
-
*
|
41 |
-
* @return array
|
42 |
-
*/
|
43 |
-
|
44 |
-
private function log_types() {
|
45 |
-
$terms = array(
|
46 |
-
'error', 'event'
|
47 |
-
);
|
48 |
-
|
49 |
-
return apply_filters( 'wp_log_types', $terms );
|
50 |
-
}
|
51 |
-
|
52 |
-
|
53 |
-
/**
|
54 |
-
* Registers the wp_log Post Type
|
55 |
-
*
|
56 |
-
* @access public
|
57 |
-
* @since 1.0
|
58 |
-
*
|
59 |
-
* @uses register_post_type()
|
60 |
-
*
|
61 |
-
* @return void
|
62 |
-
*/
|
63 |
-
|
64 |
-
public function register_post_type() {
|
65 |
-
|
66 |
-
/* logs post type */
|
67 |
-
|
68 |
-
$log_args = array(
|
69 |
-
'labels' => array( 'name' => __( 'Logs', 'wp-logging' ) ),
|
70 |
-
'public' => false,
|
71 |
-
'query_var' => false,
|
72 |
-
'rewrite' => false,
|
73 |
-
'capability_type' => 'post',
|
74 |
-
'supports' => array( 'title', 'editor' ),
|
75 |
-
'can_export' => false
|
76 |
-
);
|
77 |
-
register_post_type( 'wp_log', apply_filters( 'wp_logging_post_type_args', $log_args ) );
|
78 |
-
|
79 |
-
}
|
80 |
-
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Registers the Type Taxonomy
|
84 |
-
*
|
85 |
-
* The Type taxonomy is used to determine the type of log entry
|
86 |
-
*
|
87 |
-
* @access public
|
88 |
-
* @since 1.0
|
89 |
-
*
|
90 |
-
* @uses register_taxonomy()
|
91 |
-
* @uses term_exists()
|
92 |
-
* @uses wp_insert_term()
|
93 |
-
*
|
94 |
-
* @return void
|
95 |
-
*/
|
96 |
-
|
97 |
-
public function register_taxonomy() {
|
98 |
-
|
99 |
-
register_taxonomy( 'wp_log_type', 'wp_log' );
|
100 |
-
|
101 |
-
$types = self::log_types();
|
102 |
-
|
103 |
-
foreach ( $types as $type ) {
|
104 |
-
if( ! term_exists( $type, 'wp_log_type' ) ) {
|
105 |
-
wp_insert_term( $type, 'wp_log_type' );
|
106 |
-
}
|
107 |
-
}
|
108 |
-
}
|
109 |
-
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Check if a log type is valid
|
113 |
-
*
|
114 |
-
* Checks to see if the specified type is in the registered list of types
|
115 |
-
*
|
116 |
-
* @access private
|
117 |
-
* @since 1.0
|
118 |
-
*
|
119 |
-
*
|
120 |
-
* @return array
|
121 |
-
*/
|
122 |
-
|
123 |
-
private function valid_type( $type ) {
|
124 |
-
return in_array( $type, self::log_types() );
|
125 |
-
}
|
126 |
-
|
127 |
-
|
128 |
-
/**
|
129 |
-
* Create new log entry
|
130 |
-
*
|
131 |
-
* This is just a simple and fast way to log something. Use self::insert_log()
|
132 |
-
* if you need to store custom meta data
|
133 |
-
*
|
134 |
-
* @access private
|
135 |
-
* @since 1.0
|
136 |
-
*
|
137 |
-
* @uses self::insert_log()
|
138 |
-
*
|
139 |
-
* @return int The ID of the new log entry
|
140 |
-
*/
|
141 |
-
|
142 |
-
public static function add( $title = '', $message = '', $parent = 0, $type = null ) {
|
143 |
-
|
144 |
-
$log_data = array(
|
145 |
-
'post_title' => $title,
|
146 |
-
'post_content' => $message,
|
147 |
-
'post_parent' => $parent,
|
148 |
-
'log_type' => $type
|
149 |
-
);
|
150 |
-
|
151 |
-
return self::insert_log( $log_data );
|
152 |
-
|
153 |
-
}
|
154 |
-
|
155 |
-
|
156 |
-
/**
|
157 |
-
* Stores a log entry
|
158 |
-
*
|
159 |
-
* @access private
|
160 |
-
* @since 1.0
|
161 |
-
*
|
162 |
-
* @uses wp_parse_args()
|
163 |
-
* @uses wp_insert_post()
|
164 |
-
* @uses update_post_meta()
|
165 |
-
* @uses wp_set_object_terms()
|
166 |
-
* @uses sanitize_key()
|
167 |
-
*
|
168 |
-
* @return int The ID of the newly created log item
|
169 |
-
*/
|
170 |
-
|
171 |
-
public static function insert_log( $log_data = array(), $log_meta = array() ) {
|
172 |
-
|
173 |
-
$defaults = array(
|
174 |
-
'post_type' => 'wp_log',
|
175 |
-
'post_status' => 'publish',
|
176 |
-
'post_parent' => 0,
|
177 |
-
'post_content' => '',
|
178 |
-
'log_type' => false
|
179 |
-
);
|
180 |
-
|
181 |
-
$args = wp_parse_args( $log_data, $defaults );
|
182 |
-
|
183 |
-
do_action( 'wp_pre_insert_log' );
|
184 |
-
|
185 |
-
// store the log entry
|
186 |
-
$log_id = wp_insert_post( $args );
|
187 |
-
|
188 |
-
// set the log type, if any
|
189 |
-
if( $log_data['log_type'] && self::valid_type( $log_data['log_type'] ) ) {
|
190 |
-
wp_set_object_terms( $log_id, $log_data['log_type'], 'wp_log_type', false );
|
191 |
-
}
|
192 |
-
|
193 |
-
|
194 |
-
// set log meta, if any
|
195 |
-
if( $log_id && ! empty( $log_meta ) ) {
|
196 |
-
foreach( (array) $log_meta as $key => $meta ) {
|
197 |
-
update_post_meta( $log_id, '_wp_log_' . sanitize_key( $key ), $meta );
|
198 |
-
}
|
199 |
-
}
|
200 |
-
|
201 |
-
do_action( 'wp_post_insert_log', $log_id );
|
202 |
-
|
203 |
-
return $log_id;
|
204 |
-
|
205 |
-
}
|
206 |
-
|
207 |
-
|
208 |
-
/**
|
209 |
-
* Update and existing log item
|
210 |
-
*
|
211 |
-
* @access private
|
212 |
-
* @since 1.0
|
213 |
-
*
|
214 |
-
* @uses wp_parse_args()
|
215 |
-
* @uses wp_update_post()
|
216 |
-
* @uses update_post_meta()
|
217 |
-
*
|
218 |
-
* @return bool True if successful, false otherwise
|
219 |
-
*/
|
220 |
-
public static function update_log( $log_data = array(), $log_meta = array() ) {
|
221 |
-
|
222 |
-
do_action( 'wp_pre_update_log', $log_id );
|
223 |
-
|
224 |
-
$defaults = array(
|
225 |
-
'post_type' => 'wp_log',
|
226 |
-
'post_status' => 'publish',
|
227 |
-
'post_parent' => 0
|
228 |
-
);
|
229 |
-
|
230 |
-
$args = wp_parse_args( $log_data, $defaults );
|
231 |
-
|
232 |
-
// store the log entry
|
233 |
-
$log_id = wp_update_post( $args );
|
234 |
-
|
235 |
-
if( $log_id && ! empty( $log_meta ) ) {
|
236 |
-
foreach( (array) $log_meta as $key => $meta ) {
|
237 |
-
if( ! empty( $meta ) )
|
238 |
-
update_post_meta( $log_id, '_wp_log_' . sanitize_key( $key ), $meta );
|
239 |
-
}
|
240 |
-
}
|
241 |
-
|
242 |
-
do_action( 'wp_post_update_log', $log_id );
|
243 |
-
|
244 |
-
}
|
245 |
-
|
246 |
-
|
247 |
-
/**
|
248 |
-
* Easily retrieves log items for a particular object ID
|
249 |
-
*
|
250 |
-
* @access private
|
251 |
-
* @since 1.0
|
252 |
-
*
|
253 |
-
* @uses self::get_connected_logs()
|
254 |
-
*
|
255 |
-
* @return array
|
256 |
-
*/
|
257 |
-
|
258 |
-
public static function get_logs( $object_id = 0, $type = null, $paged = null ) {
|
259 |
-
return self::get_connected_logs( array( 'post_parent' => $object_id, 'paged' => $paged, 'log_type' => $type ) );
|
260 |
-
|
261 |
-
}
|
262 |
-
|
263 |
-
|
264 |
-
/**
|
265 |
-
* Retrieve all connected logs
|
266 |
-
*
|
267 |
-
* Used for retrieving logs related to particular items, such as a specific purchase.
|
268 |
-
*
|
269 |
-
* @access private
|
270 |
-
* @since 1.0
|
271 |
-
*
|
272 |
-
* @uses wp_parse_args()
|
273 |
-
* @uses get_posts()
|
274 |
-
* @uses get_query_var()
|
275 |
-
* @uses self::valid_type()
|
276 |
-
*
|
277 |
-
* @return array / false
|
278 |
-
*/
|
279 |
-
|
280 |
-
public static function get_connected_logs( $args = array() ) {
|
281 |
-
|
282 |
-
$defaults = array(
|
283 |
-
'post_parent' => 0,
|
284 |
-
'post_type' => 'wp_log',
|
285 |
-
'posts_per_page' => 10,
|
286 |
-
'post_status' => 'publish',
|
287 |
-
'paged' => get_query_var( 'paged' ),
|
288 |
-
'log_type' => false
|
289 |
-
);
|
290 |
-
|
291 |
-
$query_args = wp_parse_args( $args, $defaults );
|
292 |
-
|
293 |
-
if( $query_args['log_type'] && self::valid_type( $query_args['log_type'] ) ) {
|
294 |
-
|
295 |
-
$query_args['tax_query'] = array(
|
296 |
-
array(
|
297 |
-
'taxonomy' => 'wp_log_type',
|
298 |
-
'field' => 'slug',
|
299 |
-
'terms' => $query_args['log_type']
|
300 |
-
)
|
301 |
-
);
|
302 |
-
|
303 |
-
}
|
304 |
-
|
305 |
-
$logs = get_posts( $query_args );
|
306 |
-
|
307 |
-
if( $logs )
|
308 |
-
return $logs;
|
309 |
-
|
310 |
-
// no logs found
|
311 |
-
return false;
|
312 |
-
|
313 |
-
}
|
314 |
-
|
315 |
-
|
316 |
-
/**
|
317 |
-
* Retrieves number of log entries connected to particular object ID
|
318 |
-
*
|
319 |
-
* @access private
|
320 |
-
* @since 1.0
|
321 |
-
*
|
322 |
-
* @uses WP_Query()
|
323 |
-
* @uses self::valid_type()
|
324 |
-
*
|
325 |
-
* @return int
|
326 |
-
*/
|
327 |
-
|
328 |
-
public static function get_log_count( $object_id = 0, $type = null, $meta_query = null ) {
|
329 |
-
|
330 |
-
$query_args = array(
|
331 |
-
'post_parent' => $object_id,
|
332 |
-
'post_type' => 'wp_log',
|
333 |
-
'posts_per_page' => -1,
|
334 |
-
'post_status' => 'publish'
|
335 |
-
);
|
336 |
-
|
337 |
-
if( ! empty( $type ) && self::valid_type( $type ) ) {
|
338 |
-
|
339 |
-
$query_args['tax_query'] = array(
|
340 |
-
array(
|
341 |
-
'taxonomy' => 'wp_log_type',
|
342 |
-
'field' => 'slug',
|
343 |
-
'terms' => $type
|
344 |
-
)
|
345 |
-
);
|
346 |
-
|
347 |
-
}
|
348 |
-
|
349 |
-
if( ! empty( $meta_query ) ) {
|
350 |
-
$query_args['meta_query'] = $meta_query;
|
351 |
-
}
|
352 |
-
|
353 |
-
$logs = new WP_Query( $query_args );
|
354 |
-
|
355 |
-
return (int) $logs->post_count;
|
356 |
-
|
357 |
-
}
|
358 |
-
|
359 |
-
}
|
360 |
-
$GLOBALS['wp_logs'] = new WP_Logging();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/admin-addon-ajax.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
jQuery( document ).ready( function($) {
|
2 |
|
3 |
$('.ajax-close-addon-notice').click( function() {
|
4 |
-
addon = $(this).attr( 'data-addon' )
|
5 |
-
|
6 |
-
|
7 |
-
if ( addon !== false &&
|
8 |
$.ajax({
|
9 |
url: ajaxurl,
|
10 |
type: 'POST',
|
1 |
jQuery( document ).ready( function($) {
|
2 |
|
3 |
$('.ajax-close-addon-notice').click( function() {
|
4 |
+
var addon = $(this).attr( 'data-addon' ),
|
5 |
+
notice = $(this).attr( 'data-notice' ),
|
6 |
+
element = $(this).parent().parent();
|
7 |
+
if ( addon !== false && addon !== undefined && notice !== false && notice !== undefined ) {
|
8 |
$.ajax({
|
9 |
url: ajaxurl,
|
10 |
type: 'POST',
|
js/admin-custom.js
CHANGED
@@ -6,7 +6,7 @@ function fetch_items_row_action_callback(){
|
|
6 |
var url = link.attr('purl');
|
7 |
|
8 |
jQuery.ajax({
|
9 |
-
url:
|
10 |
type: 'POST',
|
11 |
data: {
|
12 |
'action': 'wprss_fetch_feeds_row_action',
|
@@ -14,13 +14,13 @@ function fetch_items_row_action_callback(){
|
|
14 |
},
|
15 |
success: function( response, status, jqXHR ){
|
16 |
console.log( jqXHR );
|
17 |
-
link.text( 'Feed items imported!' );
|
18 |
setTimeout( function(){
|
19 |
link.text( original_text ).click( fetch_items_row_action_callback );
|
20 |
}, 3500 );
|
21 |
},
|
22 |
-
error: function( response ){
|
23 |
-
link.text( 'Failed to import: ' +
|
24 |
setTimeout( function(){
|
25 |
link.text( original_text ).click( fetch_items_row_action_callback );
|
26 |
}, 3500 );
|
6 |
var url = link.attr('purl');
|
7 |
|
8 |
jQuery.ajax({
|
9 |
+
url: ajaxurl,
|
10 |
type: 'POST',
|
11 |
data: {
|
12 |
'action': 'wprss_fetch_feeds_row_action',
|
14 |
},
|
15 |
success: function( response, status, jqXHR ){
|
16 |
console.log( jqXHR );
|
17 |
+
link.text( 'Feed items are being imported!' );
|
18 |
setTimeout( function(){
|
19 |
link.text( original_text ).click( fetch_items_row_action_callback );
|
20 |
}, 3500 );
|
21 |
},
|
22 |
+
error: function( response, status, error ){
|
23 |
+
link.text( 'Failed to import: ' + error );
|
24 |
setTimeout( function(){
|
25 |
link.text( original_text ).click( fetch_items_row_action_callback );
|
26 |
}, 3500 );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.wprssaggregator.com
|
|
5 |
Tags: rss, feeds, aggregation, autoblog aggregator, rss import, feed aggregator, rss aggregator, multiple rss feeds, multi rss feeds, rss multi importer, feed import, feed import, multiple feed import, feed aggregation, rss feader, feed reader, feed to post, multiple feeds, multi feed importer, multi feed import, multi import, autoblogging, autoblogger
|
6 |
Requires at least: 3.3
|
7 |
Tested up to: 3.8.1
|
8 |
-
Stable tag: 4.0.
|
9 |
License: GPLv2 or later
|
10 |
Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
|
11 |
|
@@ -70,6 +70,11 @@ WP RSS Aggregator uses the SimplePie class to import and handle feeds, and store
|
|
70 |
= Translations =
|
71 |
Italian - Davide De Maestri
|
72 |
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
== Installation ==
|
75 |
|
@@ -145,6 +150,9 @@ Yes, within the [Feed to Post](http://www.wprssaggregator.com/extensions/feed-to
|
|
145 |
|
146 |
== Changelog ==
|
147 |
|
|
|
|
|
|
|
148 |
= 4.0.7 (2014-03-08) =
|
149 |
* Fixed bug: The plugin prevented uploading of header images.
|
150 |
|
5 |
Tags: rss, feeds, aggregation, autoblog aggregator, rss import, feed aggregator, rss aggregator, multiple rss feeds, multi rss feeds, rss multi importer, feed import, feed import, multiple feed import, feed aggregation, rss feader, feed reader, feed to post, multiple feeds, multi feed importer, multi feed import, multi import, autoblogging, autoblogger
|
6 |
Requires at least: 3.3
|
7 |
Tested up to: 3.8.1
|
8 |
+
Stable tag: 4.0.8
|
9 |
License: GPLv2 or later
|
10 |
Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
|
11 |
|
70 |
= Translations =
|
71 |
Italian - Davide De Maestri
|
72 |
|
73 |
+
= Reviewed On =
|
74 |
+
* [Kikolani](http://kikolani.com/create-latest-posts-portfolio-page-wp-rss-aggregator.html)
|
75 |
+
* [IndexWP](www.indexwp.com/wp-rss-aggregator-plugin-review/)
|
76 |
+
* [WPulsar](http://www.wpulsar.com/wp-rss-aggregator-plugin-feed-to-posts-keyword-filtering-review/)
|
77 |
+
* [Kevin Muldoon](http://www.kevinmuldoon.com/wp-rss-aggregator-wordpress-plugin/)
|
78 |
|
79 |
== Installation ==
|
80 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 4.0.8 (2014-03-20) =
|
154 |
+
* Fixed bug: Using the shortcode makes the comments section always open.
|
155 |
+
|
156 |
= 4.0.7 (2014-03-08) =
|
157 |
* Fixed bug: The plugin prevented uploading of header images.
|
158 |
|
wp-rss-aggregator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP RSS Aggregator
|
4 |
Plugin URI: http://www.wprssaggregator.com
|
5 |
Description: Imports and aggregates multiple RSS Feeds using SimplePie
|
6 |
-
Version: 4.0.
|
7 |
Author: Jean Galea
|
8 |
Author URI: http://www.wprssaggregator.com
|
9 |
License: GPLv2
|
@@ -29,7 +29,7 @@
|
|
29 |
|
30 |
/**
|
31 |
* @package WPRSSAggregator
|
32 |
-
* @version 4.0.
|
33 |
* @since 1.0
|
34 |
* @author Jean Galea <info@jeangalea.com>
|
35 |
* @copyright Copyright (c) 2012-2014, Jean Galea
|
@@ -43,7 +43,7 @@
|
|
43 |
|
44 |
// Set the version number of the plugin.
|
45 |
if( !defined( 'WPRSS_VERSION' ) )
|
46 |
-
define( 'WPRSS_VERSION', '4.0.
|
47 |
|
48 |
// Set the database version number of the plugin.
|
49 |
if( !defined( 'WPRSS_DB_VERSION' ) )
|
@@ -166,11 +166,8 @@
|
|
166 |
|
167 |
/* Load the security reset file */
|
168 |
require_once ( WPRSS_INC . 'secure-reset.php' );
|
169 |
-
|
170 |
-
/* Load the
|
171 |
-
Need to make a check to avoid conflicts before loading. Not being used at the moment */
|
172 |
-
// require_once ( WPRSS_INC . 'libraries/WP_Logging.php' );
|
173 |
-
|
174 |
require_once ( WPRSS_INC . 'admin-editor.php' );
|
175 |
|
176 |
// Load the logging functions file
|
3 |
Plugin Name: WP RSS Aggregator
|
4 |
Plugin URI: http://www.wprssaggregator.com
|
5 |
Description: Imports and aggregates multiple RSS Feeds using SimplePie
|
6 |
+
Version: 4.0.8
|
7 |
Author: Jean Galea
|
8 |
Author URI: http://www.wprssaggregator.com
|
9 |
License: GPLv2
|
29 |
|
30 |
/**
|
31 |
* @package WPRSSAggregator
|
32 |
+
* @version 4.0.8
|
33 |
* @since 1.0
|
34 |
* @author Jean Galea <info@jeangalea.com>
|
35 |
* @copyright Copyright (c) 2012-2014, Jean Galea
|
43 |
|
44 |
// Set the version number of the plugin.
|
45 |
if( !defined( 'WPRSS_VERSION' ) )
|
46 |
+
define( 'WPRSS_VERSION', '4.0.8', true );
|
47 |
|
48 |
// Set the database version number of the plugin.
|
49 |
if( !defined( 'WPRSS_DB_VERSION' ) )
|
166 |
|
167 |
/* Load the security reset file */
|
168 |
require_once ( WPRSS_INC . 'secure-reset.php' );
|
169 |
+
|
170 |
+
/* Load the admin editor file */
|
|
|
|
|
|
|
171 |
require_once ( WPRSS_INC . 'admin-editor.php' );
|
172 |
|
173 |
// Load the logging functions file
|