Plugin Directory

Changeset 2201323


Ignore:
Timestamp:
11/26/2019 01:24:19 PM (6 years ago)
Author:
ClearcodeHQ
Message:

Version 1.0.2

Location:
cc-redirects
Files:
65 added
3 edited

Legend:

Unmodified
Added
Removed
  • cc-redirects/trunk/README.txt

    r2049289 r2201323  
    33Tags: 301, redirect, redirects, seo, url, request, destination, 302, csv, clearcode, piotrpress
    44Requires PHP: 7.0
    5 Requires at least: 5.1
    6 Tested up to: 4.9.4
     5Requires at least: 4.9.4
     6Tested up to: 5.3
    77Stable tag: trunk
    88License: GPLv3
     
    5757== Changelog ==
    5858
     59= 1.0.2 =
     60*Release date: 26.11.2019*
     61
     62* Exclude 'wp-login.php' from redirection.
     63
    5964= 1.0.1 =
    6065*Release date: 12.03.2019*
  • cc-redirects/trunk/includes/Redirects.php

    r2049289 r2201323  
    3939
    4040        static public function redirect( $from, $to, $code ) {
    41             if ( '' !== $to && trim( $to, '/' ) !== trim( $from, '/' ) ) {
     41            if ( ( '' !== $to ) && ( trim( $to, '/' ) !== trim( $from, '/' ) ) && ( 'wp-login.php' !== $GLOBALS['pagenow'] ) ) {
    4242                if ( 0 === strpos( $to, '/' ) ) wp_safe_redirect( home_url() . $to, $code );
    4343                else wp_redirect( $to, $code );
  • cc-redirects/trunk/plugin.php

    r2049289 r2201323  
    1313 * Plugin URI:  https://wordpress.org/plugins/cc-redirects
    1414 * Description: This plugin allows you to create simple redirect requests to another page on your site or elsewhere on the web.
    15  * Version:     1.0.1
     15 * Version:     1.0.2
    1616 * Author:      Clearcode
    1717 * Author URI:  https://clearcode.cc
Note: See TracChangeset for help on using the changeset viewer.