Version Description
Download this release
Release Info
Developer | radgeek |
Plugin | FeedWordPress |
Version | 2015.0426 |
Comparing to | |
See all releases |
Code changes from version 2014.0805 to 2015.0426
- feedwordpress.php +6 -6
- readme.txt +8 -8
feedwordpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: FeedWordPress
|
4 |
Plugin URI: http://feedwordpress.radgeek.com/
|
5 |
Description: simple and flexible Atom/RSS syndication for WordPress
|
6 |
-
Version:
|
7 |
Author: Charles Johnson
|
8 |
Author URI: http://radgeek.com/
|
9 |
License: GPL
|
@@ -11,7 +11,7 @@ License: GPL
|
|
11 |
|
12 |
/**
|
13 |
* @package FeedWordPress
|
14 |
-
* @version
|
15 |
*/
|
16 |
|
17 |
# This uses code derived from:
|
@@ -32,7 +32,7 @@ License: GPL
|
|
32 |
|
33 |
# -- Don't change these unless you know what you're doing...
|
34 |
|
35 |
-
define ('FEEDWORDPRESS_VERSION', '
|
36 |
define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'http://radgeek.com/contact');
|
37 |
|
38 |
if (!defined('FEEDWORDPRESS_BLEG')) :
|
@@ -1284,7 +1284,7 @@ class FeedWordPress {
|
|
1284 |
$sendback .= ( ! empty( $post_type ) ) ? '?post_type=' . $post_type : '';
|
1285 |
endif;
|
1286 |
else :
|
1287 |
-
$sendback = remove_query_arg( array('trashed', 'untrashed', 'deleted', 'zapped', 'unzapped', 'ids'), $sendback );
|
1288 |
endif;
|
1289 |
|
1290 |
// Make sure we have a post corresponding to this ID.
|
@@ -1324,7 +1324,7 @@ class FeedWordPress {
|
|
1324 |
add_post_meta($post_id, '_feedwordpress_zapped_blank_me', 1, /*unique=*/ true);
|
1325 |
add_post_meta($post_id, '_feedwordpress_zapped_blank_old_status', $old_status, /*unique=*/ true);
|
1326 |
|
1327 |
-
wp_redirect( add_query_arg( array('zapped' => 1, 'ids' => $post_id), $sendback ) );
|
1328 |
|
1329 |
else :
|
1330 |
$old_status = get_post_meta($post_id, '_feedwordpress_zapped_blank_old_status', /*single=*/ true);
|
@@ -1336,7 +1336,7 @@ class FeedWordPress {
|
|
1336 |
delete_post_meta($post_id, '_feedwordpress_zapped_blank_me');
|
1337 |
delete_post_meta($post_id, '_feedwordpress_zapped_blank_old_status');
|
1338 |
|
1339 |
-
wp_redirect( add_query_arg( array('unzapped' => 1, 'ids' => $post_id), $sendback ) );
|
1340 |
|
1341 |
endif;
|
1342 |
|
3 |
Plugin Name: FeedWordPress
|
4 |
Plugin URI: http://feedwordpress.radgeek.com/
|
5 |
Description: simple and flexible Atom/RSS syndication for WordPress
|
6 |
+
Version: 2015.0426
|
7 |
Author: Charles Johnson
|
8 |
Author URI: http://radgeek.com/
|
9 |
License: GPL
|
11 |
|
12 |
/**
|
13 |
* @package FeedWordPress
|
14 |
+
* @version 2015.0426
|
15 |
*/
|
16 |
|
17 |
# This uses code derived from:
|
32 |
|
33 |
# -- Don't change these unless you know what you're doing...
|
34 |
|
35 |
+
define ('FEEDWORDPRESS_VERSION', '2015.0426');
|
36 |
define ('FEEDWORDPRESS_AUTHOR_CONTACT', 'http://radgeek.com/contact');
|
37 |
|
38 |
if (!defined('FEEDWORDPRESS_BLEG')) :
|
1284 |
$sendback .= ( ! empty( $post_type ) ) ? '?post_type=' . $post_type : '';
|
1285 |
endif;
|
1286 |
else :
|
1287 |
+
$sendback = esc_url( remove_query_arg( array('trashed', 'untrashed', 'deleted', 'zapped', 'unzapped', 'ids'), $sendback ) );
|
1288 |
endif;
|
1289 |
|
1290 |
// Make sure we have a post corresponding to this ID.
|
1324 |
add_post_meta($post_id, '_feedwordpress_zapped_blank_me', 1, /*unique=*/ true);
|
1325 |
add_post_meta($post_id, '_feedwordpress_zapped_blank_old_status', $old_status, /*unique=*/ true);
|
1326 |
|
1327 |
+
wp_redirect( esc_url_raw( add_query_arg( array('zapped' => 1, 'ids' => $post_id), $sendback ) ) );
|
1328 |
|
1329 |
else :
|
1330 |
$old_status = get_post_meta($post_id, '_feedwordpress_zapped_blank_old_status', /*single=*/ true);
|
1336 |
delete_post_meta($post_id, '_feedwordpress_zapped_blank_me');
|
1337 |
delete_post_meta($post_id, '_feedwordpress_zapped_blank_old_status');
|
1338 |
|
1339 |
+
wp_redirect( esc_url_raw( add_query_arg( array('unzapped' => 1, 'ids' => $post_id), $sendback ) ) );
|
1340 |
|
1341 |
endif;
|
1342 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Charles Johnson
|
|
3 |
Donate link: http://feedwordpress.radgeek.com/
|
4 |
Tags: syndication, aggregation, feed, atom, rss
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag:
|
8 |
|
9 |
FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
|
10 |
|
@@ -26,12 +26,12 @@ developed, originally, because I needed a more flexible replacement for
|
|
26 |
[Feminist Blogs]: http://feministblogs.org/
|
27 |
|
28 |
FeedWordPress is designed with flexibility, ease of use, and ease of
|
29 |
-
configuration in mind. You'll need a working installation of WordPress
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
|
36 |
[WordPress]: http://wordpress.org/
|
37 |
[WordPress MU]: http://mu.wordpress.org/
|
3 |
Donate link: http://feedwordpress.radgeek.com/
|
4 |
Tags: syndication, aggregation, feed, atom, rss
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 4.2
|
7 |
+
Stable tag: 2015.0426
|
8 |
|
9 |
FeedWordPress syndicates content from feeds you choose into your WordPress weblog.
|
10 |
|
26 |
[Feminist Blogs]: http://feministblogs.org/
|
27 |
|
28 |
FeedWordPress is designed with flexibility, ease of use, and ease of
|
29 |
+
configuration in mind. You'll need a working installation of WordPress (version
|
30 |
+
[3.0] or later), and also FTP or SFTP access to your web host. The ability to
|
31 |
+
create cron jobs on your web host is helpful but not required. You *don't* need
|
32 |
+
to tweak any plain-text configuration files and you *don't* need shell access
|
33 |
+
to your web host to make it work. (Although, I should point out, web hosts that
|
34 |
+
*don't* offer shell access are *bad web hosts*.)
|
35 |
|
36 |
[WordPress]: http://wordpress.org/
|
37 |
[WordPress MU]: http://mu.wordpress.org/
|