Quick Page/Post Redirect Plugin - Version 5.1.7

Version Description

  • Bug Fix: Fixed Post redirects bug caused by 5.1.6
Download this release

Release Info

Developer anadnet
Plugin Icon 128x128 Quick Page/Post Redirect Plugin
Version 5.1.7
Comparing to
See all releases

Code changes from version 5.1.6 to 5.1.7

Files changed (2) hide show
  1. page_post_redirect_plugin.php +6 -6
  2. readme.txt +5 -2
page_post_redirect_plugin.php CHANGED
@@ -6,7 +6,7 @@ Description: Redirect Pages, Posts or Custom Post Types to another location quic
6
  Author: anadnet
7
  Author URI: http://www.anadnet.com/
8
  Donate link:
9
- Version: 5.1.6
10
  Text Domain: quick-pagepost-redirect-plugin
11
  Domain Path: /lang
12
  License: GPLv2 or later
@@ -71,7 +71,7 @@ class quick_page_post_reds {
71
  public $pprptypes_ok;
72
 
73
  function __construct() {
74
- $this->ppr_curr_version = '5.1.5';
75
  $this->ppr_nofollow = array();
76
  $this->ppr_newindow = array();
77
  $this->ppr_url = array();
@@ -1499,11 +1499,11 @@ class quick_page_post_reds {
1499
  return $vars;
1500
  }
1501
 
1502
- function ppr_parse_request_new($wp) {
 
 
 
1503
  if( current_user_can( 'manage_options' ) ){
1504
- global $wp, $wpdb;
1505
- $this->ppr_all_redir_array = $this->get_main_array();
1506
- $this->pprptypes_ok = get_option( 'ppr_qpprptypeok', array() );
1507
  if ( isset( $_GET['action'] ) && $_GET['action'] == 'export-quick-redirects-file' ) {
1508
  $newQPPR_Array = array();
1509
  check_admin_referer( 'export-redirects-qppr' );
6
  Author: anadnet
7
  Author URI: http://www.anadnet.com/
8
  Donate link:
9
+ Version: 5.1.7
10
  Text Domain: quick-pagepost-redirect-plugin
11
  Domain Path: /lang
12
  License: GPLv2 or later
71
  public $pprptypes_ok;
72
 
73
  function __construct() {
74
+ $this->ppr_curr_version = '5.1.7';
75
  $this->ppr_nofollow = array();
76
  $this->ppr_newindow = array();
77
  $this->ppr_url = array();
1499
  return $vars;
1500
  }
1501
 
1502
+ function ppr_parse_request_new($wp) {
1503
+ global $wp, $wpdb;
1504
+ $this->ppr_all_redir_array = $this->get_main_array();
1505
+ $this->pprptypes_ok = get_option( 'ppr_qpprptypeok', array() );
1506
  if( current_user_can( 'manage_options' ) ){
 
 
 
1507
  if ( isset( $_GET['action'] ) && $_GET['action'] == 'export-quick-redirects-file' ) {
1508
  $newQPPR_Array = array();
1509
  check_admin_referer( 'export-redirects-qppr' );
readme.txt CHANGED
@@ -6,12 +6,12 @@ Requires at least: 4.0
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Tested up to: 4.3.1
9
- Stable tag: 5.1.6
10
 
11
  Easily redirect pages/posts or custom post types to another page/post or external URL by specifying the redirect URL and type (301, 302, 307, meta).
12
 
13
  == Description ==
14
- **Current Version 5.1.6**
15
 
16
  This plugin has two redirect functionalities - **"Quick Redirects"** and **"Individual Redirects"**:
17
 
@@ -182,6 +182,9 @@ NO it isn't! Check the plugin FAQs/Help page for a more up to date list of Frequ
182
  * THIS SECTION IS JUST TO KEEP TRACK OF TODO ITEMS FOR FUTURE UPDATES.
183
  * Add New Window and No Follow to links where the URL has been rewritten. Currently if you rewrite the URL neither will work as they are referenced with the original URL, not the rewrite.
184
 
 
 
 
185
  = 5.1.6 =
186
  * **Security Fix:** Fixed security concern in the ppr_parse_request_new method
187
 
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Tested up to: 4.3.1
9
+ Stable tag: 5.1.7
10
 
11
  Easily redirect pages/posts or custom post types to another page/post or external URL by specifying the redirect URL and type (301, 302, 307, meta).
12
 
13
  == Description ==
14
+ **Current Version 5.1.7**
15
 
16
  This plugin has two redirect functionalities - **"Quick Redirects"** and **"Individual Redirects"**:
17
 
182
  * THIS SECTION IS JUST TO KEEP TRACK OF TODO ITEMS FOR FUTURE UPDATES.
183
  * Add New Window and No Follow to links where the URL has been rewritten. Currently if you rewrite the URL neither will work as they are referenced with the original URL, not the rewrite.
184
 
185
+ = 5.1.7 =
186
+ * **Bug Fix:** Fixed Post redirects bug caused by 5.1.6
187
+
188
  = 5.1.6 =
189
  * **Security Fix:** Fixed security concern in the ppr_parse_request_new method
190