Changeset 2364235
- Timestamp:
- 08/18/2020 06:52:20 PM (5 years ago)
- Location:
- wpengine-geoip
- Files:
-
- 4 edited
- 1 copied
-
tags/1.2.8 (copied) (copied from wpengine-geoip/trunk)
-
tags/1.2.8/class-geoip.php (modified) (3 diffs)
-
tags/1.2.8/readme.txt (modified) (3 diffs)
-
trunk/class-geoip.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpengine-geoip/tags/1.2.8/class-geoip.php
r2171321 r2364235 2 2 /** 3 3 * Plugin Name: WP Engine GeoTarget 4 * Version: 1.2. 74 * Version: 1.2.8 5 5 * Description: Create a personalized user experienced based on location. 6 6 * Author: WP Engine … … 246 246 $continent = ''; 247 247 248 if ( empty( $country ) ) {248 if ( empty( $country ) && ! empty( $this->geos['countrycode'] ) ) { 249 249 $country = $this->geos['countrycode']; 250 250 } … … 511 511 $inline_negate = 0; 512 512 513 // Check to see if the attribute has "not " in it.513 // Check to see if the attribute has "not-" or "not_" in it. 514 514 $negate = preg_match( '/not?[-_]?(.*)/', $label, $matches ); 515 515 -
wpengine-geoip/tags/1.2.8/readme.txt
r2171321 r2364235 3 3 Tags: wpe, wpengine, geotarget, geoip, localization, geolocation 4 4 Requires at least: 3.0.1 5 Tested up to: 5. 26 Stable tag: 1.2. 75 Tested up to: 5.5 6 Stable tag: 1.2.8 7 7 8 8 License: GPLv2 or later … … 118 118 119 119 ` 120 [geoip-content country="US" not -city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content]120 [geoip-content country="US" not_city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content] 121 121 ` 122 122 … … 264 264 == Changelog == 265 265 266 = 1.2.8 = 267 - Fix for development sites that call the `continent` method 268 - Bump for WP 5.5 compatibility 269 266 270 = 1.2.7 = 267 271 - Optimize plugin name rename loop -
wpengine-geoip/trunk/class-geoip.php
r2171321 r2364235 2 2 /** 3 3 * Plugin Name: WP Engine GeoTarget 4 * Version: 1.2. 74 * Version: 1.2.8 5 5 * Description: Create a personalized user experienced based on location. 6 6 * Author: WP Engine … … 246 246 $continent = ''; 247 247 248 if ( empty( $country ) ) {248 if ( empty( $country ) && ! empty( $this->geos['countrycode'] ) ) { 249 249 $country = $this->geos['countrycode']; 250 250 } … … 511 511 $inline_negate = 0; 512 512 513 // Check to see if the attribute has "not " in it.513 // Check to see if the attribute has "not-" or "not_" in it. 514 514 $negate = preg_match( '/not?[-_]?(.*)/', $label, $matches ); 515 515 -
wpengine-geoip/trunk/readme.txt
r2171321 r2364235 3 3 Tags: wpe, wpengine, geotarget, geoip, localization, geolocation 4 4 Requires at least: 3.0.1 5 Tested up to: 5. 26 Stable tag: 1.2. 75 Tested up to: 5.5 6 Stable tag: 1.2.8 7 7 8 8 License: GPLv2 or later … … 118 118 119 119 ` 120 [geoip-content country="US" not -city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content]120 [geoip-content country="US" not_city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content] 121 121 ` 122 122 … … 264 264 == Changelog == 265 265 266 = 1.2.8 = 267 - Fix for development sites that call the `continent` method 268 - Bump for WP 5.5 compatibility 269 266 270 = 1.2.7 = 267 271 - Optimize plugin name rename loop
Note: See TracChangeset
for help on using the changeset viewer.