Plugin Directory

Changeset 1332090


Ignore:
Timestamp:
01/20/2016 12:41:00 PM (10 years ago)
Author:
anadnet
Message:

5.1.7 Post redirect fix

Location:
quick-pagepost-redirect-plugin/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • quick-pagepost-redirect-plugin/trunk/page_post_redirect_plugin.php

    r1329083 r1332090  
    77Author URI: http://www.anadnet.com/
    88Donate link:
    9 Version: 5.1.6
     9Version: 5.1.7
    1010Text Domain: quick-pagepost-redirect-plugin
    1111Domain Path: /lang
     
    7272   
    7373    function __construct() {
    74         $this->ppr_curr_version         = '5.1.5';
     74        $this->ppr_curr_version         = '5.1.7';
    7575        $this->ppr_nofollow             = array();
    7676        $this->ppr_newindow             = array();
     
    15001500    }
    15011501   
    1502     function ppr_parse_request_new($wp) {
     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() );
    15031506        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() );
    15071507            if ( isset( $_GET['action'] ) && $_GET['action'] == 'export-quick-redirects-file' ) {
    15081508                $newQPPR_Array = array();
  • quick-pagepost-redirect-plugin/trunk/readme.txt

    r1329083 r1332090  
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    88Tested up to: 4.3.1
    9 Stable tag: 5.1.6
     9Stable tag: 5.1.7
    1010
    1111Easily 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).
     
    182182* THIS SECTION IS JUST TO KEEP TRACK OF TODO ITEMS FOR FUTURE UPDATES.
    183183* 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
    184187
    185188= 5.1.6 =
Note: See TracChangeset for help on using the changeset viewer.