Permalink
Commits on Dec 11, 2012
  1. Tag 1.6

    danielbachhuber committed Dec 11, 2012
Commits on Dec 10, 2012
  1. Update create_redirect() method to accept more arguments, and always …

    danielbachhuber committed Dec 10, 2012
    …return WP_Error objects on failure
Commits on Dec 8, 2012
  1. Any single quotes, at least, in `$_SERVER['REQUEST_URI']` are slashed…

    danielbachhuber committed Dec 8, 2012
    …, unlash them before matching
    
    Manual cherry pick of simonwheatley@809c565
    
    Closes #29
Commits on Dec 7, 2012
  1. Merge pull request #31 from tlovett1/htaccess-importer

    danielbachhuber committed Dec 7, 2012
    wp-cli support with an htaccess importer
Commits on Nov 30, 2012
Commits on Nov 25, 2012
  1. wp-cli support with an htaccess importer

    danielbachhuber committed Nov 25, 2012
    Update the create_redirect() method to return WP_Error if the redirect already exists. Duplicate redirects don't make sense.
Commits on Nov 9, 2012
Commits on Oct 27, 2012
  1. Merge regex support code closes #19

    tlovett1 committed Oct 27, 2012
Commits on Oct 26, 2012
Commits on Oct 25, 2012
  1. Merge pull request #27 from Automattic/optimizerbot

    danielbachhuber committed Oct 25, 2012
    Optimized images, courtesy optimizerbot
  2. A more concise name for the filter. Also, we don't need a conditional…

    danielbachhuber committed Oct 25, 2012
    … check because if false or an empty array is returned the foreach loop won't execute
    
    See #26
  3. Merge pull request #26 from WebDevStudios/master

    danielbachhuber committed Oct 25, 2012
    Allow filtering of redirects before the match is executed.
  4. (fixing white space) and removing the filter from the loop to right a…

    jtsternberg committed Oct 25, 2012
    …bove the loop so it doesn't get called many times.
  5. Bump working version

    danielbachhuber committed Oct 25, 2012
  6. safe-redirect-manager.php

    jtsternberg committed Oct 25, 2012
    - lines 712-715: Adds a filter around the $redirect to allow setting up redirect conditions programmatically. Allows you to do things like only redirect if the user is not an admin.. or only redirect on Tuesdays, or if the redirect is to '/about' and the user is registered, redirect somewhere else, etc
Commits on Oct 18, 2012
  1. Merge pull request #22 from jeremyfelt/fix-possible-undefined-path

    danielbachhuber committed Oct 18, 2012
    Fix possible undefined warning with parsed site url. Closes #21
  2. Fix possible undefined warning with parsed site url

    jeremyfelt committed Oct 18, 2012
    If parse_url() does not return a path key, the check for the value of path can cause a warning in PHP.
    
    Check to see that the path key exists before trying to compare it.
Commits on Oct 12, 2012
Commits on Oct 10, 2012
  1. Bug fix: when WordPress resides in a sub-directory or we are working …

    tlovett1 committed Oct 10, 2012
    …with a sub-site, we need to chop off the path from the requested path before checking the requested path against redirect paths
  2. Bug fix: Redirect cache was being updated only on transition_post_sta…

    tlovett1 committed Oct 10, 2012
    …tus which is called BEFORE save_post. However, save_post is where all the important info is saved so we need to update cache after it.
  3. Bug fix: create_redirect function needs to update the cache after cre…

    tlovett1 committed Oct 10, 2012
    …ating a new redirect
Commits on Oct 9, 2012
  1. Tag v1.4

    danielbachhuber committed Oct 9, 2012