WordPress.org

Plugin Directory

Changeset 1376370


Ignore:
Timestamp:
03/22/16 14:26:04 (21 months ago)
Author:
TeslaThemes
Message:

tagging version 1.3.2

Location:
tesla-login-customizer
Files:
2 edited
17 copied

Legend:

Unmodified
Added
Removed
  • tesla-login-customizer/tags/1.3.2/readme.txt

    r1361725 r1376370  
    135135 
    136136== Changelog == 
     137= 1.3.2 = 
     138* Added     : Compatibility with plugin "My Private Site" 
     139* Fix       : detecting login page 
     140 
    137141= 1.3.1 = 
    138142* Fix       : Forgot password placeholder 
  • tesla-login-customizer/tags/1.3.2/tt_login.php

    r1361725 r1376370  
    66 * Plugin URI: https://teslathemes.com/wp-plugins/tesla-login-customizer/ 
    77 * Description: Customize your login/register/forgot password page with ease. 
    8  * Version: 1.3.1 
     8 * Version: 1.3.2 
    99 * Author: TeslaThemes 
    1010 * Author URI: http://teslathemes.com/ 
     
    327327    $login_url = parse_url( get_option('tt_login_custom_login_url') ? get_option('tt_login_custom_login_url') : wp_login_url() ); 
    328328    $current_url = parse_url($_SERVER['REQUEST_URI']); 
    329     if(!empty($login_url['query'])) { 
    330         return !empty($current_url['query']) 
    331             && $login_url['path'] == $current_url['path'] && strpos($current_url['query'], $login_url['query']) !== false; 
     329    if(!empty($login_url['query']) && !empty($current_url['query'])) { 
     330        return $login_url['path'] == $current_url['path'] && strpos($current_url['query'], $login_url['query']) !== false; 
    332331    }else{ 
    333332        return $login_url['path'] == $current_url['path']; 
  • tesla-login-customizer/trunk/readme.txt

    r1361725 r1376370  
    135135 
    136136== Changelog == 
     137= 1.3.2 = 
     138* Added     : Compatibility with plugin "My Private Site" 
     139* Fix       : detecting login page 
     140 
    137141= 1.3.1 = 
    138142* Fix       : Forgot password placeholder 
  • tesla-login-customizer/trunk/tt_login.php

    r1361725 r1376370  
    66 * Plugin URI: https://teslathemes.com/wp-plugins/tesla-login-customizer/ 
    77 * Description: Customize your login/register/forgot password page with ease. 
    8  * Version: 1.3.1 
     8 * Version: 1.3.2 
    99 * Author: TeslaThemes 
    1010 * Author URI: http://teslathemes.com/ 
     
    327327    $login_url = parse_url( get_option('tt_login_custom_login_url') ? get_option('tt_login_custom_login_url') : wp_login_url() ); 
    328328    $current_url = parse_url($_SERVER['REQUEST_URI']); 
    329     if(!empty($login_url['query'])) { 
    330         return !empty($current_url['query']) 
    331             && $login_url['path'] == $current_url['path'] && strpos($current_url['query'], $login_url['query']) !== false; 
     329    if(!empty($login_url['query']) && !empty($current_url['query'])) { 
     330        return $login_url['path'] == $current_url['path'] && strpos($current_url['query'], $login_url['query']) !== false; 
    332331    }else{ 
    333332        return $login_url['path'] == $current_url['path']; 
Note: See TracChangeset for help on using the changeset viewer.