Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 11, 2012
  1. @danielbachhuber

    Tag 1.6

    danielbachhuber authored
  2. @danielbachhuber
Commits on Dec 10, 2012
  1. @danielbachhuber
  2. @danielbachhuber
  3. @danielbachhuber

    Update create_redirect() method to accept more arguments, and always …

    danielbachhuber authored
    …return WP_Error objects on failure
  4. @danielbachhuber
  5. @danielbachhuber
  6. @danielbachhuber
Commits on Dec 8, 2012
  1. @danielbachhuber

    Any single quotes, at least, in `$_SERVER['REQUEST_URI']` are slashed…

    danielbachhuber authored
    …, unlash them before matching
    
    Manual cherry pick of simonwheatley@809c565
    
    Closes #29
Commits on Dec 7, 2012
  1. @danielbachhuber

    Merge pull request #31 from tlovett1/htaccess-importer

    danielbachhuber authored
    wp-cli support with an htaccess importer
Commits on Nov 30, 2012
Commits on Nov 25, 2012
  1. @danielbachhuber
  2. @danielbachhuber

    wp-cli support with an htaccess importer

    danielbachhuber authored
    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
Commits on Oct 26, 2012
Commits on Oct 25, 2012
  1. @danielbachhuber

    Merge pull request #27 from Automattic/optimizerbot

    danielbachhuber authored
    Optimized images, courtesy optimizerbot
  2. @danielbachhuber
  3. @danielbachhuber
  4. @danielbachhuber

    A more concise name for the filter. Also, we don't need a conditional…

    danielbachhuber authored
    … check because if false or an empty array is returned the foreach loop won't execute
    
    See #26
  5. @danielbachhuber

    Merge pull request #26 from WebDevStudios/master

    danielbachhuber authored
    Allow filtering of redirects before the match is executed.
  6. @jtsternberg

    (fixing white space) and removing the filter from the loop to right a…

    jtsternberg authored
    …bove the loop so it doesn't get called many times.
  7. @danielbachhuber

    Bump working version

    danielbachhuber authored
  8. @jtsternberg

    safe-redirect-manager.php

    jtsternberg authored
    - 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. @danielbachhuber

    Merge pull request #22 from jeremyfelt/fix-possible-undefined-path

    danielbachhuber authored
    Fix possible undefined warning with parsed site url. Closes #21
  2. @jeremyfelt

    Fix possible undefined warning with parsed site url

    jeremyfelt authored
    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. @danielbachhuber
  2. Bug fix: when WordPress resides in a sub-directory or we are working …

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

    authored
    …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.
Commits on Oct 9, 2012
  1. @danielbachhuber

    Tag v1.4

    danielbachhuber authored
Something went wrong with that request. Please try again.