Plugin Directory

Changeset 806087


Ignore:
Timestamp:
11/18/2013 08:06:07 AM (12 years ago)
Author:
pntrinh
Message:

fix reset password

Location:
tr-cache-and-security/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tr-cache-and-security/trunk/inc/actions.php

    r795650 r806087  
    305305        if ( $bwpsserver == 'apache' || $bwpsserver == 'litespeed' ) {
    306306            $need_rewrite .= "RewriteRule ^" . $login . "/?$ " . $dir . "wp-login.php?" . $key . " [R,L]" . PHP_EOL . PHP_EOL .
    307                         "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL .
    308                         "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-login.php?" . $key . "&redirect_to=" . $dir . "wp-admin/ [R,L]" . PHP_EOL . PHP_EOL .
    309                         "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-admin/?" . $key . " [R,L]" . PHP_EOL . PHP_EOL .
    310                         "RewriteRule ^" . $register . "/?$ " . $dir . "wp-login.php?" . $key . "&action=register [R,L]" . PHP_EOL .
    311                         "RewriteCond %{QUERY_STRING} !" . $key . PHP_EOL .
    312                         "RewriteCond %{QUERY_STRING} !^action=logout" . PHP_EOL .
    313                         "RewriteCond %{QUERY_STRING} !^action=rp" . PHP_EOL .
    314                         "RewriteCond %{QUERY_STRING} !^action=postpass" . PHP_EOL .   
    315                         "RewriteCond %{QUERY_STRING} !^checkemail=" . PHP_EOL .                     
    316                         "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL .
    317                         "RewriteRule ^.*wp-login\.php$ " . $dir . " [R,L]" . PHP_EOL . PHP_EOL;
     307            "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL .
     308            "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-login.php?" . $key . "&redirect_to=" . $dir . "wp-admin/ [R,L]" . PHP_EOL . PHP_EOL .
     309            "RewriteRule ^" . $admin . "/?$ " . $dir . "wp-admin/?" . $key . " [R,L]" . PHP_EOL . PHP_EOL .
     310            "RewriteRule ^" . $register . "/?$ " . $dir . "wp-login.php?" . $key . "&action=register [R,L]" . PHP_EOL .
     311            "RewriteCond %{QUERY_STRING} !" . $key . PHP_EOL .
     312            "RewriteCond %{QUERY_STRING} !^action=logout" . PHP_EOL .
     313            "RewriteCond %{QUERY_STRING} !^action=rp" . PHP_EOL .
     314            "RewriteCond %{QUERY_STRING} !^action=postpass" . PHP_EOL .   
     315            "RewriteCond %{QUERY_STRING} !^action=resetpass" . PHP_EOL .
     316            "RewriteCond %{QUERY_STRING} !^checkemail=" . PHP_EOL .                     
     317            "RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$" . PHP_EOL .
     318            "RewriteRule ^.*wp-login\.php$ " . $dir . " [R,L]" . PHP_EOL . PHP_EOL;
    318319        }else
    319320        {
  • tr-cache-and-security/trunk/plug.php

    r804796 r806087  
    44Plugin URI: http://ngoctrinh.net/
    55Description: Smart Cache and full security your site
    6 Version: 1.1.6
     6Version: 1.1.7
    77Author: Trinh
    88Author URI: http://ngoctrinh.net/
Note: See TracChangeset for help on using the changeset viewer.