Nginx Helper - Version 1.6.13

Version Description

  • pjv changed the way home url is accessed. Instead of site option, the plugin now uses home_url() function.
Download this release

Release Info

Developer saurabhshukla
Plugin Icon 128x128 Nginx Helper
Version 1.6.13
Comparing to
See all releases

Code changes from version 1.6.12 to 1.6.13

Files changed (3) hide show
  1. nginx-helper.php +1 -1
  2. purger.php +2 -2
  3. readme.txt +6 -3
nginx-helper.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Nginx Helper
4
  Plugin URI: http://rtcamp.com/
5
  Description: An nginx helper that serves various functions.
6
- Version: 1.6.12
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Requires at least: 3.0
3
  Plugin Name: Nginx Helper
4
  Plugin URI: http://rtcamp.com/
5
  Description: An nginx helper that serves various functions.
6
+ Version: 1.6.13
7
  Author: rtCamp
8
  Author URI: http://rtcamp.com
9
  Requires at least: 3.0
purger.php CHANGED
@@ -102,7 +102,7 @@ namespace rtCamp\WP\Nginx {
102
  $this->log( "Function purgePost BEGIN ===" );
103
 
104
  if ( $rt_wp_nginx_helper->options[ 'purge_homepage_on_edit' ] == 1 ) {
105
- $homepage_url = trailingslashit( get_option( 'siteurl' ) );
106
 
107
  $this->log( "Purging homepage '$homepage_url'" );
108
  $this->purgeUrl( $homepage_url );
@@ -361,7 +361,7 @@ namespace rtCamp\WP\Nginx {
361
 
362
  private function _purge_homepage() {
363
 
364
- $homepage_url = trailingslashit( get_option( 'siteurl' ) );
365
 
366
  $this->log( sprintf( __( "Purging homepage '%s'", "rt_wp_nginx_helper" ), $homepage_url ) );
367
  $this->purgeUrl( $homepage_url );
102
  $this->log( "Function purgePost BEGIN ===" );
103
 
104
  if ( $rt_wp_nginx_helper->options[ 'purge_homepage_on_edit' ] == 1 ) {
105
+ $homepage_url = trailingslashit( home_url() );
106
 
107
  $this->log( "Purging homepage '$homepage_url'" );
108
  $this->purgeUrl( $homepage_url );
361
 
362
  private function _purge_homepage() {
363
 
364
+ $homepage_url = trailingslashit( home_url() );
365
 
366
  $this->log( sprintf( __( "Purging homepage '%s'", "rt_wp_nginx_helper" ), $homepage_url ) );
367
  $this->purgeUrl( $homepage_url );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: rtcamp, rahul286, saurabhshukla, Darren Slatten, jk3us, daankorten
3
  Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, rewrite, permalinks
4
  Requires at least: 3.0
5
  Tested up to: 3.5
6
- Stable tag: 1.6.12
7
  License: GPLv2 or later (of-course)
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Donate Link: http://rtcamp.com/donate/
@@ -109,6 +109,9 @@ Its just that we are hyperactive on our own forum!
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 1.6.12 =
113
  * [telofy](http://wordpress.org/support/profile/telofy) added purging of atom and RDF feeds.
114
 
@@ -219,5 +222,5 @@ Its just that we are hyperactive on our own forum!
219
 
220
  == Upgrade Notice ==
221
 
222
- = 1.6.12 =
223
- Added RDF and atom feed purge
3
  Tags: nginx, cache, purge, nginx map, nginx cache, maps, fastcgi, proxy, rewrite, permalinks
4
  Requires at least: 3.0
5
  Tested up to: 3.5
6
+ Stable tag: 1.6.13
7
  License: GPLv2 or later (of-course)
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Donate Link: http://rtcamp.com/donate/
109
 
110
  == Changelog ==
111
 
112
+ = 1.6.13 =
113
+ * [pjv](http://profiles.wordpress.org/pjv/) changed the way home url is accessed. Instead of site option, the plugin now uses home_url() function.
114
+
115
  = 1.6.12 =
116
  * [telofy](http://wordpress.org/support/profile/telofy) added purging of atom and RDF feeds.
117
 
222
 
223
  == Upgrade Notice ==
224
 
225
+ = 1.6.13 =
226
+ Changed home url method.