Changeset 1434514
- Timestamp:
- 06/10/2016 02:22:38 PM (10 years ago)
- Location:
- blueconic/trunk
- Files:
-
- 2 edited
-
blueconic.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
blueconic/trunk/blueconic.php
r1419976 r1434514 4 4 Plugin URI: https://support.blueconic.com/hc/en-us/articles/207842249-BlueConic-Wordpress-Plugin 5 5 Description: Add BlueConic to your pages. 6 Version: 1. 06 Version: 1.1 7 7 Author: BlueConic 8 8 Author URI: https://www.blueconic.com/ … … 78 78 } 79 79 80 function endsWith($haystack, $needle) {80 function bcEndsWith($haystack, $needle) { 81 81 // search forward starting from end minus needle length characters 82 82 return $needle === "" || … … 90 90 91 91 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'))) { 94 94 $script_url = '//cdn.blueconic.net/' . substr($servername, 0, strlen($servername) - strlen('.blueconic.net')) . '.js'; 95 95 } else { -
blueconic/trunk/readme.txt
r1419976 r1434514 3 3 Tags: blueconic 4 4 Requires at least: 2.7.0 5 Tested up to: 1. 06 Stable tag: 1. 05 Tested up to: 1.1 6 Stable tag: 1.1 7 7 License: ASL 2.0 8 8 License URI: http://www.apache.org/licenses/LICENSE-2.0
Note: See TracChangeset
for help on using the changeset viewer.