WordPress.org

Plugin Directory

Changeset 1555963


Ignore:
Timestamp:
12/16/16 08:41:21 (10 months ago)
Author:
bastho
Message:

Support GET parameters in URL

Location:
eelv-redirection/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • eelv-redirection/trunk/eelv_redirection.php

    r1481572 r1555963  
    44Description: Simply redirect all pages to a specified URL 
    55Plugin URI: http://ecolosites.eelv.fr/redirection/ 
    6 Version: 1.0 
     6Version: 1.1 
    77Author: bastho, ecolosites, EELV 
    88Author URI: http://ecolosites.eelv.fr/ 
     
    7272    // If they did, this hidden field will be set to 'Y' 
    7373    if( isset($_POST[ 'eelv_url_redirect' ])) { 
    74         update_option( 'eelv_url_redirect', esc_url($_POST[ 'eelv_url_redirect' ])); 
     74        update_option( 'eelv_url_redirect', filter_input(INPUT_POST, 'eelv_url_redirect', FILTER_SANITIZE_URL)); 
    7575        update_option( "eelv_code_redirect", esc_attr($_POST[ 'eelv_code_redirect' ])); 
    7676        update_option( "eelv_when_redirect", esc_attr($_POST[ 'eelv_when_redirect' ])); 
  • eelv-redirection/trunk/readme.txt

    r1481572 r1555963  
    44Tags: redirection 
    55Requires at least: 3.3 
    6 Tested up to: 4.6 
     6Tested up to: 4.7 
    77Stable tag: /trunk 
    88License: GPLv2+ 
     
    3131 
    3232== Changelog == 
     33 
     34= v 1.1 = 
     35* Fix : Support for GET parameters in URL 
     36 
    3337 
    3438= v 1.0 = 
Note: See TracChangeset for help on using the changeset viewer.