Plugin Directory

Changeset 2153206


Ignore:
Timestamp:
09/09/2019 12:05:08 AM (7 years ago)
Author:
lcloss
Message:

Fix Bing validation

Location:
lcmd-tracking-codes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lcmd-tracking-codes/trunk/README.md

    r2153198 r2153206  
    55* Tested up to: 5.2.2
    66* Requires PHP: 7.0
    7 * Stable tag: 1.1.6
     7* Stable tag: 1.1.7
    88* License: AGPL-3.0
    99* License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
     
    6767* 1.1.4 - Fix plugin publish.
    6868* 1.1.6 - Fix Google Search Console validation.
     69* 1.1.7 - Fix Bing validation.
    6970
    7071## Upgrade Notice ##
  • lcmd-tracking-codes/trunk/README.txt

    r2153198 r2153206  
    55Tested up to: 5.2.2
    66Requires PHP: 7.0
    7 Stable tag: 1.1.6
     7Stable tag: 1.1.7
    88License: AGPL-3.0
    99License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
     
    65651.1.4 - Fix plugin publish.
    66661.1.6 - Fix Google Search Console validation.
     671.1.7 - Fix Bing validation.
    6768
    6869== Upgrade Notice ==
  • lcmd-tracking-codes/trunk/includes/functions.php

    r2153198 r2153206  
    3333            return true;
    3434        }
    35         if ( preg_match('/^[\w_]{5,60}$/i', $gv_code) ) {
     35        if ( preg_match('/^[\w_]$/i', $gv_code) ) {
    3636            return true;
    3737        } else {
     
    4545            return true;
    4646        }
    47         if ( preg_match('/^GTM-\w{1,9}$/i', $gtm_id) ) {
     47        if ( preg_match('/^GTM-\w{1,10}$/i', $gtm_id) ) {
    4848            return true;
    4949        } else {
     
    5757            return true;
    5858        }
    59         if ( preg_match('/^\w{5,30}$/i', $ms_bc) ) {
     59        if ( preg_match('/^\w$/i', $ms_bc) ) {
    6060            return true;
    6161        } else {
  • lcmd-tracking-codes/trunk/lcmd-tracking-codes.php

    r2153204 r2153206  
    33 * Plugin Name:       LC Tracking Codes
    44 * Description:       LC Tracking Codes make easier put tracking codes in your site.
    5  * Version:           1.1.6
     5 * Version:           1.1.7
    66 * Author:            Luciano Closs
    77 * Author URI:        https://lucianocloss.com
Note: See TracChangeset for help on using the changeset viewer.