Skip to content
Browse files

Update version to 1.4.2. Only return published redirects in update_re…

…direct_cache()
  • Loading branch information...
1 parent d9b5732 commit 9ae98d98a39a41ccd35e1adbf4c73b1a1cbd9d1c @tlovett1 committed Oct 17, 2012
Showing with 7 additions and 2 deletions.
  1. +5 −1 readme.txt
  2. +2 −1 safe-redirect-manager.php
View
6 readme.txt
@@ -3,7 +3,7 @@ Contributors: tlovett1, tollmanz, taylorde, 10up, jakemgold, danielbachhuber, Ve
Tags: http redirects, redirect manager, url redirection, safe http redirection
Requires at least: 3.1
Tested up to: 3.4.2
-Stable tag: 1.4.1
+Stable tag: 1.4.2
Safely and easily manage your website's HTTP redirects.
@@ -24,6 +24,10 @@ Extract the zip file and just drop the contents in the wp-content/plugins/ direc
== Changelog ==
+= 1.4.2 (Oct. 17, 2012) =
+* Disable redirect loop checking by default. You can filter srm_check_for_possible_redirect_loops to enable it.
+* Only return published redirects in update_redirect_cache. - bug fix
+
= 1.4.1 (Oct. 11, 2012) =
* Refresh cache after create_redirect call - bug fix
* Refresh cache after save_post is called - bug fix
View
3 safe-redirect-manager.php
@@ -4,7 +4,7 @@
Plugin URI: http://www.10up.com
Description: Easily and safely manage HTTP redirects.
Author: Taylor Lovett (10up LLC), VentureBeat
-Version: 1.4.1
+Version: 1.4.2
Author URI: http://www.10up.com
GNU General Public License, Free Software Foundation <http://creativecommons.org/licenses/GPL/2.0/>
@@ -649,6 +649,7 @@ public function update_redirect_cache() {
'post_type' => $this->redirect_post_type,
'no_found_rows' => true,
'update_term_cache' => false,
+ 'post_status' => 'publish'
);
$redirect_query = new WP_Query( $args );
$redirect_cache = array();

0 comments on commit 9ae98d9

Please sign in to comment.
Something went wrong with that request. Please try again.