Plugin Directory

Changeset 1431699


Ignore:
Timestamp:
06/06/2016 07:16:48 PM (10 years ago)
Author:
haukep
Message:

Updated disable-url-autocorrect-guessing to version 1.1

Location:
disable-url-autocorrect-guessing/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • disable-url-autocorrect-guessing/trunk/disable-url-autocorrect-guessing.php

    r918479 r1431699  
    44Description: Disables Wordpress' URL autocorrection guessing feature. If you for example enter the URL http://www.myblog.com/proj you won't be redirected to http://www.myblog.com/project-2013 anymore.
    55Author: Hauke Pribnow (based on comment of nacin)
    6 Version: 1.0
     6Version: 1.1
    77*/
    88
     
    1010
    1111function remove_redirect_guess_404_permalink( $redirect_url ) {
    12     if ( is_404() )
     12    if ( is_404() && !isset($_GET['p']) )
    1313        return false;
    1414    return $redirect_url;
  • disable-url-autocorrect-guessing/trunk/readme.txt

    r1238755 r1431699  
    33Tags: redirect, autocorrect, url, canonical
    44Requires at least: 2.3
    5 Tested up to: 4.3
    6 Stable tag: 1.0c
     5Tested up to: 4.5.2
     6Stable tag: 1.1
    77License: Public Domain
    88
     
    2424== Changelog ==
    2525
     26= 1.1 =
     27Added check for `$_GET['p']` to allow `rel=shortlink` according to comment of user esemlabel:
     28https://core.trac.wordpress.org/ticket/16557#comment:28
     29
    2630= 1.0 =
    2731* First (and possibly last) version.
Note: See TracChangeset for help on using the changeset viewer.