Plugin Directory

Changeset 1434514


Ignore:
Timestamp:
06/10/2016 02:22:38 PM (10 years ago)
Author:
blueconic
Message:

Release 1.1

Location:
blueconic/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • blueconic/trunk/blueconic.php

    r1419976 r1434514  
    44Plugin URI: https://support.blueconic.com/hc/en-us/articles/207842249-BlueConic-Wordpress-Plugin
    55Description: Add BlueConic to your pages.
    6 Version: 1.0
     6Version: 1.1
    77Author: BlueConic
    88Author URI: https://www.blueconic.com/
     
    7878  }
    7979
    80   function endsWith($haystack, $needle) {
     80  function bcEndsWith($haystack, $needle) {
    8181      // search forward starting from end minus needle length characters
    8282      return $needle === "" ||
     
    9090
    9191    if (isset($servername) && !empty($servername)) {
    92       if (endsWith($servername, '.blueconic.com') ||
    93           (endsWith($servername, '.blueconic.net') && !endsWith($servername, '.sb.blueconic.net'))) {
     92      if (bcEndsWith($servername, '.blueconic.com') ||
     93          (bcEndsWith($servername, '.blueconic.net') && !bcEndsWith($servername, '.sb.blueconic.net'))) {
    9494        $script_url = '//cdn.blueconic.net/' . substr($servername, 0, strlen($servername) - strlen('.blueconic.net')) . '.js';
    9595      } else {
  • blueconic/trunk/readme.txt

    r1419976 r1434514  
    33Tags: blueconic
    44Requires at least: 2.7.0
    5 Tested up to: 1.0
    6 Stable tag: 1.0
     5Tested up to: 1.1
     6Stable tag: 1.1
    77License: ASL 2.0
    88License URI: http://www.apache.org/licenses/LICENSE-2.0
Note: See TracChangeset for help on using the changeset viewer.