Plugin Directory

Changeset 2364235


Ignore:
Timestamp:
08/18/2020 06:52:20 PM (5 years ago)
Author:
nateinaction
Message:

Update to version 1.2.8 from TravisCI

Location:
wpengine-geoip
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpengine-geoip/tags/1.2.8/class-geoip.php

    r2171321 r2364235  
    22/**
    33 * Plugin Name: WP Engine GeoTarget
    4  * Version: 1.2.7
     4 * Version: 1.2.8
    55 * Description: Create a personalized user experienced based on location.
    66 * Author: WP Engine
     
    246246        $continent = '';
    247247
    248         if ( empty( $country ) ) {
     248        if ( empty( $country ) && ! empty( $this->geos['countrycode'] ) ) {
    249249            $country = $this->geos['countrycode'];
    250250        }
     
    511511            $inline_negate = 0;
    512512
    513             // Check to see if the attribute has "not" in it.
     513            // Check to see if the attribute has "not-" or "not_" in it.
    514514            $negate = preg_match( '/not?[-_]?(.*)/', $label, $matches );
    515515
  • wpengine-geoip/tags/1.2.8/readme.txt

    r2171321 r2364235  
    33Tags: wpe, wpengine, geotarget, geoip, localization, geolocation
    44Requires at least: 3.0.1
    5 Tested up to: 5.2
    6 Stable tag: 1.2.7
     5Tested up to: 5.5
     6Stable tag: 1.2.8
    77
    88License: GPLv2 or later
     
    118118
    119119`
    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]
    121121`
    122122
     
    264264== Changelog ==
    265265
     266= 1.2.8 =
     267- Fix for development sites that call the `continent` method
     268- Bump for WP 5.5 compatibility
     269
    266270= 1.2.7 =
    267271- Optimize plugin name rename loop
  • wpengine-geoip/trunk/class-geoip.php

    r2171321 r2364235  
    22/**
    33 * Plugin Name: WP Engine GeoTarget
    4  * Version: 1.2.7
     4 * Version: 1.2.8
    55 * Description: Create a personalized user experienced based on location.
    66 * Author: WP Engine
     
    246246        $continent = '';
    247247
    248         if ( empty( $country ) ) {
     248        if ( empty( $country ) && ! empty( $this->geos['countrycode'] ) ) {
    249249            $country = $this->geos['countrycode'];
    250250        }
     
    511511            $inline_negate = 0;
    512512
    513             // Check to see if the attribute has "not" in it.
     513            // Check to see if the attribute has "not-" or "not_" in it.
    514514            $negate = preg_match( '/not?[-_]?(.*)/', $label, $matches );
    515515
  • wpengine-geoip/trunk/readme.txt

    r2171321 r2364235  
    33Tags: wpe, wpengine, geotarget, geoip, localization, geolocation
    44Requires at least: 3.0.1
    5 Tested up to: 5.2
    6 Stable tag: 1.2.7
     5Tested up to: 5.5
     6Stable tag: 1.2.8
    77
    88License: GPLv2 or later
     
    118118
    119119`
    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]
    121121`
    122122
     
    264264== Changelog ==
    265265
     266= 1.2.8 =
     267- Fix for development sites that call the `continent` method
     268- Bump for WP 5.5 compatibility
     269
    266270= 1.2.7 =
    267271- Optimize plugin name rename loop
Note: See TracChangeset for help on using the changeset viewer.