Version Description
(2014-04-09) = * Enhanced: Tracking notices only appear for admin users. * Fixed bug: Auto Feed Discovery was not working.
Download this release
Release Info
Developer | jeangalea |
Plugin | WP RSS Aggregator |
Version | 4.1.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.1
- changelog.txt +4 -0
- css/admin-styles.css +71 -9
- images/add-ons/wprss.jpg +0 -0
- includes/admin-addons.php +78 -0
- includes/admin-debugging.php +2 -1
- includes/admin-help.php +27 -0
- includes/admin-log.php +1 -2
- includes/admin-welcome.php +2 -2
- includes/admin.php +2 -1
- includes/deprecated-functions.php +2 -2
- includes/feed-importing.php +2 -1
- includes/scripts.php +3 -3
- js/admin-custom.js +15 -4
- languages/es.mo +0 -0
- languages/es.po +274 -0
- readme.txt +7 -1
- wp-rss-aggregator.php +13 -3
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
4.1 (2014-04-03)
|
2 |
New Feature: Feed items can now link to enclosure links in the feed.
|
3 |
Enhanced: Added a filter to allow add-ons to modify feed item queries.
|
1 |
+
4.1.1 (2014-04-09)
|
2 |
+
Enhanced: Tracking notices only appear for admin users.
|
3 |
+
Fixed bug: Auto Feed Discovery was not working.
|
4 |
+
|
5 |
4.1 (2014-04-03)
|
6 |
New Feature: Feed items can now link to enclosure links in the feed.
|
7 |
Enhanced: Added a filter to allow add-ons to modify feed item queries.
|
css/admin-styles.css
CHANGED
@@ -314,15 +314,6 @@ body.post-type-wprss_feed.edit-php table.wp-list-table.posts thead th#category {
|
|
314 |
width: 120px !important;
|
315 |
}
|
316 |
|
317 |
-
/*
|
318 |
-
.column-title { text-align: left; width:20% !important; overflow:hidden }
|
319 |
-
.column-url { text-align: left; width:40% !important; overflow:hidden }
|
320 |
-
.column-category { text-align: left; width:15% !important; overflow:hidden }
|
321 |
-
.column-id { text-align: left; width:5% !important; overflow:hidden }
|
322 |
-
.column-next-update { text-align: left; width:10% !important; overflow:hidden }
|
323 |
-
.column-state { text-align: left; width:10% !important; overflow:hidden }
|
324 |
-
*/
|
325 |
-
|
326 |
|
327 |
/* Log textarea styles */
|
328 |
#wprss-log-textarea {
|
@@ -334,4 +325,75 @@ body.post-type-wprss_feed.edit-php table.wp-list-table.posts thead th#category {
|
|
334 |
overflow: auto;
|
335 |
display: block;
|
336 |
background: rgb( 255, 245, 245 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
}
|
314 |
width: 120px !important;
|
315 |
}
|
316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
|
318 |
/* Log textarea styles */
|
319 |
#wprss-log-textarea {
|
325 |
overflow: auto;
|
326 |
display: block;
|
327 |
background: rgb( 255, 245, 245 );
|
328 |
+
}
|
329 |
+
|
330 |
+
|
331 |
+
/*--------------------------------------------------------------------------
|
332 |
+
*
|
333 |
+
* Add-Ons
|
334 |
+
*
|
335 |
+
*-------------------------------------------------------------------------*/
|
336 |
+
|
337 |
+
#add-ons {
|
338 |
+
margin-bottom: 20px;
|
339 |
+
}
|
340 |
+
|
341 |
+
#add-ons .add-on-group {
|
342 |
+
margin-top: 20px;
|
343 |
+
padding-top: 20px;
|
344 |
+
border-top: #F5F5F5 solid 1px;
|
345 |
+
}
|
346 |
+
|
347 |
+
#add-ons .add-on-group:first-child {
|
348 |
+
margin-top: 0;
|
349 |
+
padding-top: 0;
|
350 |
+
border-top: 0 none;
|
351 |
+
}
|
352 |
+
|
353 |
+
#add-ons .add-on {
|
354 |
+
float: left;
|
355 |
+
width: 220px;
|
356 |
+
margin: 10px;
|
357 |
+
background: #FFFFFF;
|
358 |
+
border: 1px solid #E5E5E5;
|
359 |
+
position: relative;
|
360 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
361 |
+
}
|
362 |
+
|
363 |
+
#add-ons .add-on:first-child {
|
364 |
+
margin-left: 0px;
|
365 |
+
}
|
366 |
+
|
367 |
+
#add-ons .add-on h3 {
|
368 |
+
margin-top: 0.5em;
|
369 |
+
}
|
370 |
+
|
371 |
+
#add-ons .add-on h3 a {
|
372 |
+
color: inherit;
|
373 |
+
text-decoration: none;
|
374 |
+
}
|
375 |
+
|
376 |
+
#add-ons .add-on .inner {
|
377 |
+
min-height: 170px;
|
378 |
+
padding: 15px;
|
379 |
+
}
|
380 |
+
|
381 |
+
#add-ons .add-on .footer {
|
382 |
+
background: #F5F5F5;
|
383 |
+
border-top: 1px solid #E1E1E1;
|
384 |
+
overflow: hidden;
|
385 |
+
padding: 15px;
|
386 |
+
position: relative;
|
387 |
+
}
|
388 |
+
|
389 |
+
#add-ons .add-on-active .button-disabled:focus,
|
390 |
+
#add-ons .add-on-active .button-disabled:active {
|
391 |
+
background: #fafafa;
|
392 |
+
}
|
393 |
+
|
394 |
+
#add-ons .add-on-title {
|
395 |
+
float: left;
|
396 |
+
width: 100%;
|
397 |
+
margin: 25px 0 25px;
|
398 |
+
border-top: #F5F5F5 solid 1px;
|
399 |
}
|
images/add-ons/wprss.jpg
ADDED
Binary file
|
includes/admin-addons.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Build the Add-ons page (Code borrowed from the ACF plugin)
|
4 |
+
*
|
5 |
+
* @since 4.2
|
6 |
+
* @link http://www.advancedcustomfields.com/
|
7 |
+
*
|
8 |
+
*/
|
9 |
+
function wprss_addons_page_display() {
|
10 |
+
|
11 |
+
$premium = array();
|
12 |
+
$premium[] = array(
|
13 |
+
'title' => __( "Excerpts & Thumbnails", 'wprss' ),
|
14 |
+
'description' => __( "Adds the ability to display thumbnails and excerpts. Perfect for adding some life and color to your feed item display. For more flexibility Feed to Post is a better option.", 'wprss' ),
|
15 |
+
'thumbnail' => WPRSS_IMG .'add-ons/wprss.jpg',
|
16 |
+
'active' => is_plugin_active( 'wp-rss-excerpts-thumbnails/wp-rss-excerpts-thumbnails.php' ),
|
17 |
+
'url' => 'http://www.wprssaggregator.com/extensions/excerpts-thumbnails/'
|
18 |
+
);
|
19 |
+
$premium[] = array(
|
20 |
+
'title' => __( "Categories", 'wprss' ),
|
21 |
+
'description' => __( "Assign categories to your feed sources. Then display a particular category or multiple categories on a post or page via shortcodes.", 'wprss' ),
|
22 |
+
'thumbnail' => WPRSS_IMG .'add-ons/wprss.jpg',
|
23 |
+
'active' => is_plugin_active( 'wp-rss-categories/wp-rss-categories.php' ),
|
24 |
+
'url' => 'http://www.wprssaggregator.com/extensions/categories/'
|
25 |
+
);
|
26 |
+
$premium[] = array(
|
27 |
+
'title' => __( "Keyword Filtering", 'wprss' ),
|
28 |
+
'description' => __( "Import feeds that contain specific keywords in either the title or their content. Control what gets imported to your blog. You can use keywords, keyphrases and categories.", 'wprss' ),
|
29 |
+
'thumbnail' => WPRSS_IMG .'add-ons/wprss.jpg',
|
30 |
+
'active' => is_plugin_active( 'wp-rss-keyword-filtering/wp-rss-keyword-filtering.php' ),
|
31 |
+
'url' => 'http://www.wprssaggregator.com/extensions/keyword-filtering/'
|
32 |
+
);
|
33 |
+
$premium[] = array(
|
34 |
+
'title' => __( "Feed to Post", 'wprss' ),
|
35 |
+
'description' => __( "Allows you to import feed items into posts or any other custom post type that you have created. Takes WP RSS Aggregator to a whole new level of flexibility.", 'wprss' ),
|
36 |
+
'thumbnail' => WPRSS_IMG .'add-ons/wprss.jpg',
|
37 |
+
'active' => is_plugin_active( 'wp-rss-feed-to-post/wp-rss-feed-to-post.php' ),
|
38 |
+
'url' => 'http://www.wprssaggregator.com/extensions/feed-to-post/'
|
39 |
+
);
|
40 |
+
|
41 |
+
?>
|
42 |
+
<div class="wrap">
|
43 |
+
<?php screen_icon( 'wprss-aggregator' ); ?>
|
44 |
+
|
45 |
+
<h2><?php _e( 'Add-Ons', 'wprss' ); ?></h2>
|
46 |
+
<p><?php _e( "The following Add-ons are available to increase the functionality of the WP RSS Aggregator plugin.", 'wprss' ); ?><br />
|
47 |
+
<?php _e( "Each Add-on can be installed as a separate plugin. Note that activating the Feed to Post plugin will deactivate the Categories and Excerpts & Thumbnails add-ons.", 'wprss' ); ?></p>
|
48 |
+
|
49 |
+
<div id="add-ons" class="clearfix">
|
50 |
+
|
51 |
+
<div class="add-on-group clearfix">
|
52 |
+
<?php foreach( $premium as $addon ): ?>
|
53 |
+
<div class="add-on wp-box <?php if( $addon['active'] ): ?>add-on-active<?php endif; ?>">
|
54 |
+
<!-- <a target="_blank" href="<?php echo $addon['url']; ?>">
|
55 |
+
<img src="<?php echo $addon['thumbnail']; ?>" />
|
56 |
+
</a> -->
|
57 |
+
<div class="inner">
|
58 |
+
<h3><a target="_blank" href="<?php echo $addon['url']; ?>"><?php echo $addon['title']; ?></a></h3>
|
59 |
+
<p><?php echo $addon['description']; ?></p>
|
60 |
+
</div>
|
61 |
+
<div class="footer">
|
62 |
+
<?php if( $addon['active'] ): ?>
|
63 |
+
<a class="button button-disabled"><span class="wprss-sprite-tick"></span><?php _e( "Installed", 'wprss' ); ?></a>
|
64 |
+
<?php else: ?>
|
65 |
+
<a target="_blank" href="<?php echo $addon['url']; ?>" class="button"><?php _e( "Purchase & Install", 'wprss' ); ?></a>
|
66 |
+
<?php endif; ?>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php endforeach; ?>
|
70 |
+
</div>
|
71 |
+
|
72 |
+
</div>
|
73 |
+
|
74 |
+
</div>
|
75 |
+
|
76 |
+
<?php
|
77 |
+
|
78 |
+
}
|
includes/admin-debugging.php
CHANGED
@@ -191,7 +191,8 @@
|
|
191 |
wprss_system_info(); ?>
|
192 |
</div>
|
193 |
<?php
|
194 |
-
}
|
|
|
195 |
|
196 |
/**
|
197 |
* Output admin notice that feeds have been updated successfully
|
191 |
wprss_system_info(); ?>
|
192 |
</div>
|
193 |
<?php
|
194 |
+
}
|
195 |
+
|
196 |
|
197 |
/**
|
198 |
* Output admin notice that feeds have been updated successfully
|
includes/admin-help.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Build the Help page
|
4 |
+
*
|
5 |
+
* @since 4.2
|
6 |
+
*/
|
7 |
+
function wprss_help_page_display() {
|
8 |
+
?>
|
9 |
+
|
10 |
+
<div class="wrap">
|
11 |
+
<?php screen_icon( 'wprss-aggregator' ); ?>
|
12 |
+
|
13 |
+
<h2><?php _e( 'Help & Support', 'wprss' ); ?></h2>
|
14 |
+
<h3>Documentation</h3>
|
15 |
+
<p>In the <a href="www.wprssaggregator.com/documentation/">documentation area</a> on the WP RSS Aggregator website you will find comprehensive details on how to use the core plugin
|
16 |
+
and all the add-ons.</p><p>There are also some videos to help you make a quick start to setting up and enjoying this plugin.</p>
|
17 |
+
<h3>Frequently Asked Questions (FAQ)</h3>
|
18 |
+
<p>If after going through the documentation you still have questions, please take a look at the <a href="http://www.wprssaggregator.com/faq/">FAQ page</a> on the site, we set this
|
19 |
+
up purposely to answer the most commonly asked questions by our users.</p>
|
20 |
+
<h3>Support Forums - Core (free version) Plugin Users Only</h3>
|
21 |
+
<p>If you're using the free version of the plugin found on WordPress.org, you can ask questions on the <a href="http://wordpress.org/support/plugin/wp-rss-aggregator">support forum</a>.</p>
|
22 |
+
<h3>Email Ticketing System - Premium Add-on Users Only</h3>
|
23 |
+
<p>If you still can't find an answer to your query after reading the documentation and going through the FAQ, just <a href="http://www.wprssaggregator.com/contact/">open a support request ticket</a>.<br>
|
24 |
+
We'll be happy to help you out.</p>
|
25 |
+
</div>
|
26 |
+
<?php
|
27 |
+
}
|
includes/admin-log.php
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
/**
|
5 |
* Returns the log file path.
|
6 |
*
|
@@ -31,7 +30,6 @@
|
|
31 |
}
|
32 |
|
33 |
|
34 |
-
|
35 |
/**
|
36 |
* Adds a log entry to the log file.
|
37 |
*
|
@@ -51,6 +49,7 @@
|
|
51 |
add_action( 'shutdown', 'wprss_log_separator' );
|
52 |
}
|
53 |
|
|
|
54 |
/**
|
55 |
* Dumps an object to the log file.
|
56 |
*
|
1 |
<?php
|
2 |
|
|
|
3 |
/**
|
4 |
* Returns the log file path.
|
5 |
*
|
30 |
}
|
31 |
|
32 |
|
|
|
33 |
/**
|
34 |
* Adds a log entry to the log file.
|
35 |
*
|
49 |
add_action( 'shutdown', 'wprss_log_separator' );
|
50 |
}
|
51 |
|
52 |
+
|
53 |
/**
|
54 |
* Dumps an object to the log file.
|
55 |
*
|
includes/admin-welcome.php
CHANGED
@@ -74,8 +74,8 @@
|
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
-
<li><strong>
|
78 |
-
<li><strong>
|
79 |
</ul>
|
80 |
|
81 |
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
+
<li><strong>Enhanced:</strong> Tracking notices only appear for admin users.</li>
|
78 |
+
<li><strong>Fixed bug:</strong> Auto Feed Discovery was not working.</li>
|
79 |
</ul>
|
80 |
|
81 |
|
includes/admin.php
CHANGED
@@ -38,9 +38,10 @@
|
|
38 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'WP RSS Aggregator Settings', 'wprss' ), __( 'Settings', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings' ), 'wprss-aggregator-settings', 'wprss_settings_page_display' );
|
39 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Export & Import Settings', 'wprss' ), __( 'Import & Export', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings' ), 'wprss-import-export-settings', 'wprss_import_export_settings_page_display' );
|
40 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Debugging', 'wprss' ), __( 'Debugging', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings'), 'wprss-debugging', 'wprss_debugging_page_display' );
|
|
|
|
|
41 |
}
|
42 |
|
43 |
-
|
44 |
add_filter('admin_body_class', 'wprss_base_admin_body_class');
|
45 |
/**
|
46 |
* Set body class for admin screens
|
38 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'WP RSS Aggregator Settings', 'wprss' ), __( 'Settings', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings' ), 'wprss-aggregator-settings', 'wprss_settings_page_display' );
|
39 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Export & Import Settings', 'wprss' ), __( 'Import & Export', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings' ), 'wprss-import-export-settings', 'wprss_import_export_settings_page_display' );
|
40 |
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Debugging', 'wprss' ), __( 'Debugging', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings'), 'wprss-debugging', 'wprss_debugging_page_display' );
|
41 |
+
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Add-Ons', 'wprss' ), __( 'Add-Ons', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings'), 'wprss-addons', 'wprss_addons_page_display' );
|
42 |
+
add_submenu_page( 'edit.php?post_type=wprss_feed', __( 'Help & Support', 'wprss' ), __( 'Help & Support', 'wprss' ), apply_filters( 'wprss_capability', 'manage_feed_settings'), 'wprss-help', 'wprss_help_page_display' );
|
43 |
}
|
44 |
|
|
|
45 |
add_filter('admin_body_class', 'wprss_base_admin_body_class');
|
46 |
/**
|
47 |
* Set body class for admin screens
|
includes/deprecated-functions.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @since 2.0
|
8 |
* @deprecated 3.0
|
9 |
*/
|
10 |
-
function wprss_fetch_all_feed_items( ) {
|
11 |
|
12 |
// Get all feed sources
|
13 |
$feed_sources = new WP_Query( array(
|
@@ -19,7 +19,7 @@
|
|
19 |
if( $feed_sources->have_posts() ) {
|
20 |
/* Start by getting one feed source, we will cycle through them one by one,
|
21 |
fetching feed items and adding them to the database in each pass */
|
22 |
-
|
23 |
$feed_sources->the_post();
|
24 |
|
25 |
$feed_ID = get_the_ID();
|
7 |
* @since 2.0
|
8 |
* @deprecated 3.0
|
9 |
*/
|
10 |
+
/*function wprss_fetch_all_feed_items( ) {
|
11 |
|
12 |
// Get all feed sources
|
13 |
$feed_sources = new WP_Query( array(
|
19 |
if( $feed_sources->have_posts() ) {
|
20 |
/* Start by getting one feed source, we will cycle through them one by one,
|
21 |
fetching feed items and adding them to the database in each pass */
|
22 |
+
/* while ( $feed_sources->have_posts() ) {
|
23 |
$feed_sources->the_post();
|
24 |
|
25 |
$feed_ID = get_the_ID();
|
includes/feed-importing.php
CHANGED
@@ -180,7 +180,8 @@
|
|
180 |
$feed->set_file_class( 'WP_SimplePie_File' );
|
181 |
|
182 |
$feed->set_feed_url( $url );
|
183 |
-
$feed->
|
|
|
184 |
$feed->set_timeout( 30 );
|
185 |
|
186 |
//$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
|
180 |
$feed->set_file_class( 'WP_SimplePie_File' );
|
181 |
|
182 |
$feed->set_feed_url( $url );
|
183 |
+
$feed->set_autodiscovery_level( SIMPLEPIE_LOCATOR_ALL );
|
184 |
+
//$feed->force_feed( TRUE );
|
185 |
$feed->set_timeout( 30 );
|
186 |
|
187 |
//$feed->set_cache_duration( apply_filters( 'wp_feed_cache_transient_lifetime', 12 * HOUR_IN_SECONDS, $url ) );
|
includes/scripts.php
CHANGED
@@ -14,9 +14,9 @@
|
|
14 |
*/
|
15 |
function wprss_admin_scripts_styles() {
|
16 |
|
17 |
-
// Only load scripts if we are on
|
18 |
if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'wprss-aggregator' || $_GET['page'] == 'wprss-aggregator-settings'
|
19 |
-
|| $_GET['page'] == 'wprss-import-export-settings' || $_GET['page'] == 'wprss-debugging' ) ) {
|
20 |
wp_enqueue_style( 'wprss-styles', WPRSS_CSS . 'admin-styles.css' );
|
21 |
}
|
22 |
|
@@ -34,7 +34,7 @@
|
|
34 |
wp_enqueue_script( 'wprss-custom-bulk-actions', WPRSS_JS . 'admin-custom-bulk-actions.js', array( 'jquery' ) );
|
35 |
wp_enqueue_script( 'wprss-admin-custom', WPRSS_JS .'admin-custom.js', array('jquery','jquery-ui-datepicker','jquery-ui-slider') );
|
36 |
wp_enqueue_script( 'jquery-ui-timepicker-addon', WPRSS_JS .'jquery-ui-timepicker-addon.js', array('jquery','jquery-ui-datepicker') );
|
37 |
-
wp_enqueue_style( 'jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.
|
38 |
if ( 'post' === $screen->base && 'wprss_feed' === $screen->post_type ) {
|
39 |
// Change text on post screen from 'Enter title here' to 'Enter feed name here'
|
40 |
add_filter( 'enter_title_here', 'wprss_change_title_text' );
|
14 |
*/
|
15 |
function wprss_admin_scripts_styles() {
|
16 |
|
17 |
+
// Only load scripts if we are on particular pages of the plugin in admin
|
18 |
if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'wprss-aggregator' || $_GET['page'] == 'wprss-aggregator-settings'
|
19 |
+
|| $_GET['page'] == 'wprss-import-export-settings' || $_GET['page'] == 'wprss-debugging' || $_GET['page'] == 'wprss-addons' ) ) {
|
20 |
wp_enqueue_style( 'wprss-styles', WPRSS_CSS . 'admin-styles.css' );
|
21 |
}
|
22 |
|
34 |
wp_enqueue_script( 'wprss-custom-bulk-actions', WPRSS_JS . 'admin-custom-bulk-actions.js', array( 'jquery' ) );
|
35 |
wp_enqueue_script( 'wprss-admin-custom', WPRSS_JS .'admin-custom.js', array('jquery','jquery-ui-datepicker','jquery-ui-slider') );
|
36 |
wp_enqueue_script( 'jquery-ui-timepicker-addon', WPRSS_JS .'jquery-ui-timepicker-addon.js', array('jquery','jquery-ui-datepicker') );
|
37 |
+
wp_enqueue_style( 'jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css' );
|
38 |
if ( 'post' === $screen->base && 'wprss_feed' === $screen->post_type ) {
|
39 |
// Change text on post screen from 'Enter title here' to 'Enter feed name here'
|
40 |
add_filter( 'enter_title_here', 'wprss_change_title_text' );
|
js/admin-custom.js
CHANGED
@@ -158,14 +158,11 @@ jQuery(window).load( function(){
|
|
158 |
|
159 |
}
|
160 |
|
161 |
-
|
162 |
-
|
163 |
// GENERATES A RANDOM STRING FOR THE SECURE RESET CODE FIELD
|
164 |
jQuery('#wprss-secure-reset-generate').click( function(){
|
165 |
jQuery('input#wprss-secure-reset-code').val( Math.random().toString(36).substr(2) );
|
166 |
});
|
167 |
|
168 |
-
|
169 |
});
|
170 |
|
171 |
|
@@ -284,4 +281,18 @@ if ( !String.prototype.trim ) {
|
|
284 |
String.prototype.trim = function(){
|
285 |
return this.replace(/^\s+|\s+$/g, '');
|
286 |
};
|
287 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
|
159 |
}
|
160 |
|
|
|
|
|
161 |
// GENERATES A RANDOM STRING FOR THE SECURE RESET CODE FIELD
|
162 |
jQuery('#wprss-secure-reset-generate').click( function(){
|
163 |
jQuery('input#wprss-secure-reset-code').val( Math.random().toString(36).substr(2) );
|
164 |
});
|
165 |
|
|
|
166 |
});
|
167 |
|
168 |
|
281 |
String.prototype.trim = function(){
|
282 |
return this.replace(/^\s+|\s+$/g, '');
|
283 |
};
|
284 |
+
}
|
285 |
+
|
286 |
+
// For add-ons page
|
287 |
+
(function($) {
|
288 |
+
$(window).load(function(){
|
289 |
+
$('#add-ons .add-on-group').each(function(){
|
290 |
+
var $el = $(this),
|
291 |
+
h = 0;
|
292 |
+
$el.find('.add-on').each(function(){
|
293 |
+
h = Math.max( $(this).height(), h );
|
294 |
+
});
|
295 |
+
$el.find('.add-on').height( h );
|
296 |
+
});
|
297 |
+
});
|
298 |
+
})(jQuery);
|
languages/es.mo
ADDED
Binary file
|
languages/es.po
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: wprss\n"
|
4 |
+
"POT-Creation-Date: 2012-09-25 12:09+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-04-08 11:17+0100\n"
|
6 |
+
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.5.5\n"
|
12 |
+
"X-Poedit-KeywordsList: _;__;_e\n"
|
13 |
+
"X-Poedit-Basepath: ../\n"
|
14 |
+
"X-Poedit-SearchPath-0: .\n"
|
15 |
+
|
16 |
+
#: wp-rss-aggregator.php:152
|
17 |
+
msgid "Enter feed name here (e.g. WP Mayor)"
|
18 |
+
msgstr "Introduzca el nombre del feed aquí (e.j. WP Mayor)"
|
19 |
+
|
20 |
+
#: wp-rss-aggregator.php:394
|
21 |
+
msgid "No feed items found"
|
22 |
+
msgstr "No se encontraron elementos de feed"
|
23 |
+
|
24 |
+
#: inc/activation.php:11
|
25 |
+
msgid "This plugin requires WordPress version 3.2 or higher."
|
26 |
+
msgstr "Este plugin requiere la versión 3.2 o superior de wordPress"
|
27 |
+
|
28 |
+
#: inc/admin-options.php:45 inc/admin-options.php:88
|
29 |
+
msgid "WP RSS Aggregator Settings"
|
30 |
+
msgstr "Ajustes de WP RSS Aggregator"
|
31 |
+
|
32 |
+
#: inc/admin-options.php:45
|
33 |
+
msgid "Settings"
|
34 |
+
msgstr "Ajustes"
|
35 |
+
|
36 |
+
#: inc/admin-options.php:67
|
37 |
+
msgid "Open links behaviour"
|
38 |
+
msgstr "Abrir comportamiento de enlaces"
|
39 |
+
|
40 |
+
#: inc/admin-options.php:70
|
41 |
+
msgid "Set links as"
|
42 |
+
msgstr "Modificar enlaces como"
|
43 |
+
|
44 |
+
#: inc/admin-options.php:73
|
45 |
+
msgid "Feed limit"
|
46 |
+
msgstr "Límite de feed"
|
47 |
+
|
48 |
+
#: inc/admin-options.php:93
|
49 |
+
msgid "Save Settings"
|
50 |
+
msgstr "Salvar Ajustes"
|
51 |
+
|
52 |
+
#: inc/admin-options.php:113
|
53 |
+
msgid "No follow"
|
54 |
+
msgstr "No seguir"
|
55 |
+
|
56 |
+
#: inc/admin-options.php:114
|
57 |
+
msgid "Follow"
|
58 |
+
msgstr "Seguir"
|
59 |
+
|
60 |
+
#: inc/admin-options.php:132
|
61 |
+
msgid "Lightbox"
|
62 |
+
msgstr "Lightbox"
|
63 |
+
|
64 |
+
#: inc/admin-options.php:133
|
65 |
+
msgid "New window"
|
66 |
+
msgstr "Nueva ventana"
|
67 |
+
|
68 |
+
#: inc/admin-options.php:134
|
69 |
+
msgid "None"
|
70 |
+
msgstr "Ninguno"
|
71 |
+
|
72 |
+
#: inc/cron-jobs.php:53
|
73 |
+
msgid "Once Weekly"
|
74 |
+
msgstr "Una vez por semana"
|
75 |
+
|
76 |
+
#: inc/custom-post-types.php:30
|
77 |
+
msgid "Feed Sources"
|
78 |
+
msgstr "Fuentes de Feed"
|
79 |
+
|
80 |
+
#: inc/custom-post-types.php:31
|
81 |
+
msgid "Feed"
|
82 |
+
msgstr "Feed"
|
83 |
+
|
84 |
+
#: inc/custom-post-types.php:32 inc/custom-post-types.php:34
|
85 |
+
msgid "Add New Feed Source"
|
86 |
+
msgstr "Añadir nuevas Fuentes RSS "
|
87 |
+
|
88 |
+
#: inc/custom-post-types.php:33
|
89 |
+
msgid "All Feed Sources"
|
90 |
+
msgstr "Todas las Fuentes de Feed"
|
91 |
+
|
92 |
+
#: inc/custom-post-types.php:35
|
93 |
+
msgid "Edit Feed Source"
|
94 |
+
msgstr "Modificar Fuente de Feed"
|
95 |
+
|
96 |
+
#: inc/custom-post-types.php:36
|
97 |
+
msgid "New Feed Source"
|
98 |
+
msgstr "Nueva Fuente de Feed "
|
99 |
+
|
100 |
+
#: inc/custom-post-types.php:37
|
101 |
+
msgid "View Feed Source"
|
102 |
+
msgstr "Mostrar Fuente de Feed "
|
103 |
+
|
104 |
+
#: inc/custom-post-types.php:38
|
105 |
+
msgid "Search Feeds"
|
106 |
+
msgstr "Buscar Feeds"
|
107 |
+
|
108 |
+
#: inc/custom-post-types.php:39
|
109 |
+
msgid "No Feed Sources Found"
|
110 |
+
msgstr "No se Encontraron Fuentes de Feed"
|
111 |
+
|
112 |
+
#: inc/custom-post-types.php:40
|
113 |
+
msgid "No Feed Sources Found In Trash"
|
114 |
+
msgstr "No se Encontraron Fuentes de Feed en la Papelera"
|
115 |
+
|
116 |
+
#: inc/custom-post-types.php:41
|
117 |
+
msgid "RSS Aggregator"
|
118 |
+
msgstr "RSS Aggregator"
|
119 |
+
|
120 |
+
#: inc/custom-post-types.php:58 inc/custom-post-types.php:60
|
121 |
+
msgid "Imported Feeds"
|
122 |
+
msgstr "Feeds Importados"
|
123 |
+
|
124 |
+
#: inc/custom-post-types.php:59
|
125 |
+
msgid "Imported Feed"
|
126 |
+
msgstr "Feed Importado"
|
127 |
+
|
128 |
+
#: inc/custom-post-types.php:61
|
129 |
+
msgid "View Imported Feed"
|
130 |
+
msgstr "Mostrar el Feed Importado"
|
131 |
+
|
132 |
+
#: inc/custom-post-types.php:62
|
133 |
+
msgid "Search Imported Feeds"
|
134 |
+
msgstr "Buscar los Feeds Importados"
|
135 |
+
|
136 |
+
#: inc/custom-post-types.php:63
|
137 |
+
msgid "No Imported Feeds Found"
|
138 |
+
msgstr "No se Encontraron Feeds Importados"
|
139 |
+
|
140 |
+
#: inc/custom-post-types.php:64
|
141 |
+
msgid "No Imported Feeds Found In Trash"
|
142 |
+
msgstr "No se Encontraron Feeds Importados en la Papelera"
|
143 |
+
|
144 |
+
#: inc/custom-post-types.php:83 inc/custom-post-types.php:135
|
145 |
+
msgid "Name"
|
146 |
+
msgstr "Nombre"
|
147 |
+
|
148 |
+
#: inc/custom-post-types.php:84 inc/custom-post-types.php:306
|
149 |
+
msgid "URL"
|
150 |
+
msgstr "URL"
|
151 |
+
|
152 |
+
#: inc/custom-post-types.php:85 inc/custom-post-types.php:313
|
153 |
+
msgid "Description"
|
154 |
+
msgstr "Descripción"
|
155 |
+
|
156 |
+
#: inc/custom-post-types.php:136
|
157 |
+
msgid "Permalink"
|
158 |
+
msgstr "Permalink"
|
159 |
+
|
160 |
+
#: inc/custom-post-types.php:137
|
161 |
+
msgid "Date published"
|
162 |
+
msgstr "Fecha de publicación"
|
163 |
+
|
164 |
+
#: inc/custom-post-types.php:138
|
165 |
+
msgid "Source"
|
166 |
+
msgstr "Fuente"
|
167 |
+
|
168 |
+
#: inc/custom-post-types.php:226
|
169 |
+
msgid "Save Feed Source"
|
170 |
+
msgstr "Guardar Fuente del Feed"
|
171 |
+
|
172 |
+
#: inc/custom-post-types.php:252
|
173 |
+
msgid "WP RSS Aggregator Help"
|
174 |
+
msgstr "Ayuda de WP RSS Aggregator "
|
175 |
+
|
176 |
+
#: inc/custom-post-types.php:261
|
177 |
+
msgid "Like this plugin?"
|
178 |
+
msgstr "¿Le gusta este plugin?"
|
179 |
+
|
180 |
+
#: inc/custom-post-types.php:270
|
181 |
+
msgid "Follow us"
|
182 |
+
msgstr "Síganos"
|
183 |
+
|
184 |
+
#: inc/custom-post-types.php:279
|
185 |
+
msgid "Feed Source Details"
|
186 |
+
msgstr "Detalles de la Fuente del Feed"
|
187 |
+
|
188 |
+
#: inc/custom-post-types.php:288
|
189 |
+
msgid "Feed Preview"
|
190 |
+
msgstr "Mostrar Feed"
|
191 |
+
|
192 |
+
#: inc/custom-post-types.php:307
|
193 |
+
msgid "Enter feed URL (including http://)"
|
194 |
+
msgstr "Introduzca la URL del feed (incluyendo http://)"
|
195 |
+
|
196 |
+
#: inc/custom-post-types.php:314
|
197 |
+
msgid "A short description about this feed source (optional)"
|
198 |
+
msgstr "Una breve descripción de este origen de feed (opcional)"
|
199 |
+
|
200 |
+
#: inc/custom-post-types.php:438
|
201 |
+
msgid "Delete Permanently"
|
202 |
+
msgstr "Eliminar Permanentemente"
|
203 |
+
|
204 |
+
#: inc/custom-post-types.php:440
|
205 |
+
msgid "Move to Trash"
|
206 |
+
msgstr "Mover a la Papelera"
|
207 |
+
|
208 |
+
#: inc/custom-post-types.php:471
|
209 |
+
msgid ""
|
210 |
+
"<strong>Invalid feed URL</strong> - Double check the feed source URL setting "
|
211 |
+
"above."
|
212 |
+
msgstr ""
|
213 |
+
"<strong>URL del feed inválida</strong> - Chequee nuevamente los ajustes de "
|
214 |
+
"URL de origen del feed arriba."
|
215 |
+
|
216 |
+
#: inc/custom-post-types.php:474
|
217 |
+
msgid "No feed URL defined yet"
|
218 |
+
msgstr "Aún no se ha definido la URL del feed."
|
219 |
+
|
220 |
+
#: inc/custom-post-types.php:486
|
221 |
+
msgid "Need help?"
|
222 |
+
msgstr "¿Necesita ayuda?"
|
223 |
+
|
224 |
+
#: inc/custom-post-types.php:488
|
225 |
+
msgid "Check out the support forum"
|
226 |
+
msgstr "Eche un vistazo al foro de soporte"
|
227 |
+
|
228 |
+
#: inc/custom-post-types.php:499
|
229 |
+
msgid "Why not do any or all of the following"
|
230 |
+
msgstr "¿Por qué no hacer uno o todo de lo siguiente?"
|
231 |
+
|
232 |
+
#: inc/custom-post-types.php:501
|
233 |
+
msgid "Give it a 5 star rating on WordPress.org."
|
234 |
+
msgstr "Dele una calificación de 5 estrellas en WordPress.org."
|
235 |
+
|
236 |
+
#: inc/custom-post-types.php:502
|
237 |
+
msgid "Donate a token of your appreciation."
|
238 |
+
msgstr "Done un token de su aprecio."
|
239 |
+
|
240 |
+
#: inc/custom-post-types.php:517
|
241 |
+
msgid "Follow WP Mayor on Twitter."
|
242 |
+
msgstr "Siga WP Mayor en Twitter."
|
243 |
+
|
244 |
+
#: inc/custom-post-types.php:518
|
245 |
+
msgid "Like WP Mayor on Facebook."
|
246 |
+
msgstr "Dele like a WP Mayor en Facebook."
|
247 |
+
|
248 |
+
#: inc/custom-post-types.php:535
|
249 |
+
msgid "Feed source updated. "
|
250 |
+
msgstr "Origen del feed actualizado."
|
251 |
+
|
252 |
+
#: inc/custom-post-types.php:536
|
253 |
+
msgid "Custom field updated."
|
254 |
+
msgstr "Campo personalizado actualizado."
|
255 |
+
|
256 |
+
#: inc/custom-post-types.php:537
|
257 |
+
msgid "Custom field deleted."
|
258 |
+
msgstr "Campo personalizado eliminado."
|
259 |
+
|
260 |
+
#: inc/custom-post-types.php:538 inc/custom-post-types.php:544
|
261 |
+
msgid "Feed source updated."
|
262 |
+
msgstr "Origen del feed actualizado."
|
263 |
+
|
264 |
+
#: inc/custom-post-types.php:540 inc/custom-post-types.php:541
|
265 |
+
msgid "Feed source saved."
|
266 |
+
msgstr "Origen del feed salvado."
|
267 |
+
|
268 |
+
#: inc/custom-post-types.php:542
|
269 |
+
msgid "Feed source submitted."
|
270 |
+
msgstr "Origen del feed enviado."
|
271 |
+
|
272 |
+
#: inc/custom-post-types.php:628
|
273 |
+
msgid "Publish Feed"
|
274 |
+
msgstr "Publicar Feed"
|
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.1
|
9 |
License: GPLv2 or later
|
10 |
Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
|
11 |
|
@@ -69,9 +69,11 @@ WP RSS Aggregator uses the SimplePie class to import and handle feeds, and store
|
|
69 |
|
70 |
= Translations =
|
71 |
Italian - Davide De Maestri
|
|
|
72 |
|
73 |
= As featured on =
|
74 |
* [WP Beginner] (http://www.wpbeginner.com/plugins/how-to-fetch-feeds-in-wordpress-using-wp-rss-aggregator/)
|
|
|
75 |
* [WP Kube](http://www.wpkube.com/wp-rss-aggregator-wordpress-review/)
|
76 |
* [Torquemag](http://torquemag.io/wp-rss-aggregator-review-do-more-with-rss-feeds/)
|
77 |
* [Kikolani](http://kikolani.com/create-latest-posts-portfolio-page-wp-rss-aggregator.html)
|
@@ -159,6 +161,10 @@ The full documentation section can be found on the [WP RSS Aggregator website](w
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
|
|
162 |
= 4.1 (2014-04-03) =
|
163 |
* New Feature: Feed items can now link to enclosure links in the feed.
|
164 |
* Enhanced: Added a filter to allow add-ons to modify feed item queries.
|
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.1.1
|
9 |
License: GPLv2 or later
|
10 |
Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
|
11 |
|
69 |
|
70 |
= Translations =
|
71 |
Italian - Davide De Maestri
|
72 |
+
Spanish - Andrew Kurtis
|
73 |
|
74 |
= As featured on =
|
75 |
* [WP Beginner] (http://www.wpbeginner.com/plugins/how-to-fetch-feeds-in-wordpress-using-wp-rss-aggregator/)
|
76 |
+
* [WPEXplorer] (http://www.wpexplorer.com/custom-rss-aggregator-plugin/)
|
77 |
* [WP Kube](http://www.wpkube.com/wp-rss-aggregator-wordpress-review/)
|
78 |
* [Torquemag](http://torquemag.io/wp-rss-aggregator-review-do-more-with-rss-feeds/)
|
79 |
* [Kikolani](http://kikolani.com/create-latest-posts-portfolio-page-wp-rss-aggregator.html)
|
161 |
|
162 |
== Changelog ==
|
163 |
|
164 |
+
= 4.1.1 (2014-04-09) =
|
165 |
+
* Enhanced: Tracking notices only appear for admin users.
|
166 |
+
* Fixed bug: Auto Feed Discovery was not working.
|
167 |
+
|
168 |
= 4.1 (2014-04-03) =
|
169 |
* New Feature: Feed items can now link to enclosure links in the feed.
|
170 |
* Enhanced: Added a filter to allow add-ons to modify feed item queries.
|
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.1
|
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.1
|
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.1', true );
|
47 |
|
48 |
// Set the database version number of the plugin.
|
49 |
if( !defined( 'WPRSS_DB_VERSION' ) )
|
@@ -146,6 +146,12 @@
|
|
146 |
/* Load the system info file */
|
147 |
require_once ( WPRSS_INC . 'admin-debugging.php' );
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
/* Load the admin display-related functions */
|
150 |
require_once ( WPRSS_INC . 'admin-display.php' );
|
151 |
|
@@ -247,6 +253,10 @@
|
|
247 |
if ( get_bloginfo( 'version' ) < '3.3' )
|
248 |
return;
|
249 |
|
|
|
|
|
|
|
|
|
250 |
$screen = get_current_screen();
|
251 |
$screen_id = $screen->id;
|
252 |
|
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.1.1
|
7 |
Author: Jean Galea
|
8 |
Author URI: http://www.wprssaggregator.com
|
9 |
License: GPLv2
|
29 |
|
30 |
/**
|
31 |
* @package WPRSSAggregator
|
32 |
+
* @version 4.1.1
|
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.1.1', true );
|
47 |
|
48 |
// Set the database version number of the plugin.
|
49 |
if( !defined( 'WPRSS_DB_VERSION' ) )
|
146 |
/* Load the system info file */
|
147 |
require_once ( WPRSS_INC . 'admin-debugging.php' );
|
148 |
|
149 |
+
/* Load the system info file */
|
150 |
+
require_once ( WPRSS_INC . 'admin-help.php' );
|
151 |
+
|
152 |
+
/* Load the system info file */
|
153 |
+
require_once ( WPRSS_INC . 'admin-addons.php' );
|
154 |
+
|
155 |
/* Load the admin display-related functions */
|
156 |
require_once ( WPRSS_INC . 'admin-display.php' );
|
157 |
|
253 |
if ( get_bloginfo( 'version' ) < '3.3' )
|
254 |
return;
|
255 |
|
256 |
+
// If the user is not an admin, do not show the pointer
|
257 |
+
if ( !current_user_can( 'manage_options' ) )
|
258 |
+
return;
|
259 |
+
|
260 |
$screen = get_current_screen();
|
261 |
$screen_id = $screen->id;
|
262 |
|