WordPress.org

Plugin Directory

Changeset 1742070


Ignore:
Timestamp:
10/06/17 09:08:54 (3 months ago)
Author:
bastho
Message:

Version 1.2 : fix and typo

Location:
eelv-redirection/trunk
Files:
2 edited

Legend:

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

    r1555963 r1742070  
    11<?php 
    22/* 
    3 Plugin Name: EELV Redirection 
     3Plugin Name: Simple Redirection 
    44Description: Simply redirect all pages to a specified URL 
    5 Plugin URI: http://ecolosites.eelv.fr/redirection/ 
    6 Version: 1.1 
    7 Author: bastho, ecolosites, EELV 
    8 Author URI: http://ecolosites.eelv.fr/ 
    9 License: Creative commons CC BY-NC 3.0 
     5Plugin URI: https://wordpress.org/plugins/eelv-redirection/ 
     6Version: 1.2 
     7Author: Bastien Ho 
     8Author URI: https://avecnous.eu 
     9License: GPLv2 
    1010*/ 
    1111 
     
    9696<form name="form1" method="post" action="#"> 
    9797<p> 
    98     <label for="eelv_when_redirect"><?php _e('When :','eelv-redirection')?></label> 
     98    <label for="eelv_when_redirect"><?php _e('When:','eelv-redirection')?></label> 
    9999    <select name="eelv_when_redirect" id="eelv_when_redirect"> 
    100100        <option value="-1" <?php selected($eelv_when_redirect, -1, true); ?>><?php _e('Never (deactivated)','eelv-redirection')?></option> 
     
    104104</p> 
    105105<p> 
    106     <label id="eelv_code_redirect"><?php _e('How :','eelv-redirection')?></label> 
     106    <label id="eelv_code_redirect"><?php _e('How:','eelv-redirection')?></label> 
    107107    <select name="eelv_code_redirect" id="eelv_code_redirect"> 
    108         <option value="301" <?php selected($eelv_when_redirect, 301, true); ?>><?php _e('301 : Moved Permanently','eelv-redirection')?></option> 
    109         <option value="302" <?php selected($eelv_when_redirect, 302, true); ?>><?php _e('302 : Moved Temporarily','eelv-redirection')?></option> 
     108                <option value="302" <?php selected($eelv_code_redirect, 302, true); ?>><?php _e('302 : Moved Temporarily','eelv-redirection')?></option> 
     109        <option value="301" <?php selected($eelv_code_redirect, 301, true); ?>><?php _e('301 : Moved Permanently','eelv-redirection')?></option> 
    110110    </select> 
    111111</p> 
    112112<p> 
    113     <label id='eelv_url_redirect'><?php _e('Where :','eelv-redirection')?></label> 
     113    <label id='eelv_url_redirect'><?php _e('Where:','eelv-redirection')?></label> 
    114114    <input type="text" name='eelv_url_redirect' id='eelv_url_redirect' value="<?=$eelv_url_redirect?>" size="50" placeholder="http://"> 
    115115    <span class="text-description"> 
  • eelv-redirection/trunk/readme.txt

    r1555963 r1742070  
    1 === EELV Redirection  === 
     1=== Simple Redirection  === 
    22Contributors: bastho, ecolosites 
    3 Donate link:  
    4 Tags: redirection 
     3Donate link: 
     4Tags: redirection, http, redirect, 301, 302 
    55Requires at least: 3.3 
    6 Tested up to: 4.7 
     6Tested up to: 4.8.2 
    77Stable tag: /trunk 
    88License: GPLv2+ 
     
    3232== Changelog == 
    3333 
     34= v 1.2 = 
     35* Change name from EELV redirection to Simple Redirection 
     36* Fix: Typo 
     37* Fix: Selected option not showing the appropriate value 
     38 
    3439= v 1.1 = 
    3540* Fix : Support for GET parameters in URL 
    36  
    3741 
    3842= v 1.0 = 
     
    4549 
    4650= v 0.4.1 = 
    47 * Fix : Allow wp-activate link  
     51* Fix : Allow wp-activate link 
    4852 
    4953= v 0.4.0 = 
    50 * Add :  Option "never", Quiet, mostly comprehensible than leave the URL field blank...  
     54* Add :  Option "never", Quiet, mostly comprehensible than leave the URL field blank... 
    5155 
    5256= v 0.3.1 = 
     
    6771 
    6872No particular informations 
    69  
Note: See TracChangeset for help on using the changeset viewer.