WordPress.org

Plugin Directory

Changeset 1452846


Ignore:
Timestamp:
07/11/16 17:23:02 (17 months ago)
Author:
ingagehub
Message:

Check in version 1.5.1.

Location:
ingagehub-connect
Files:
2 edited
10 copied

Legend:

Unmodified
Added
Removed
  • ingagehub-connect/tags/1.5.1/readme.txt

    r1446073 r1452846  
    44Requires at least: 3.9.2 
    55Tested up to: 4.5.2 
    6 Stable tag: 1.5.0 
     6Stable tag: 1.5.1 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    7979* Use minified versions for inclusion in page. 
    8080 
     81= 1.5.1 = 
     82* Fix compare of $post_var on post of response that determines if its suffix is the right campaign ID to use the strripos function, searching for the last occurrence of the string, as the campaign is the last element of the string. 
     83 
    8184== Upgrade Notice == 
    8285 
  • ingagehub-connect/tags/1.5.1/services.php

    r1446073 r1452846  
    8686 
    8787        $submit_url = $site_url . '/cr/' . $token . '.json'; 
    88  
    8988        $submit_user_details = array(); 
    9089        $submit_response_details = array(); 
    9190        foreach(array_keys($req) as $post_var) { 
    92             if (stripos($post_var, '_' . $campaign_id) === strlen($post_var) - strlen($campaign_id) - 1) { 
     91            if (strripos($post_var, '_' . $campaign_id) === strlen($post_var) - strlen($campaign_id) - 1) { 
    9392                if (stripos($post_var, 'ingagehub_collect_') !== FALSE && stripos($post_var, 'ingagehub_collect_email_') === FALSE) { 
    9493                    $field_name = substr($post_var, 18, strlen($post_var) - 18 - strlen($campaign_id) - 1); 
  • ingagehub-connect/trunk/readme.txt

    r1446073 r1452846  
    44Requires at least: 3.9.2 
    55Tested up to: 4.5.2 
    6 Stable tag: 1.5.0 
     6Stable tag: 1.5.1 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    7979* Use minified versions for inclusion in page. 
    8080 
     81= 1.5.1 = 
     82* Fix compare of $post_var on post of response that determines if its suffix is the right campaign ID to use the strripos function, searching for the last occurrence of the string, as the campaign is the last element of the string. 
     83 
    8184== Upgrade Notice == 
    8285 
  • ingagehub-connect/trunk/services.php

    r1446073 r1452846  
    8686 
    8787        $submit_url = $site_url . '/cr/' . $token . '.json'; 
    88  
    8988        $submit_user_details = array(); 
    9089        $submit_response_details = array(); 
    9190        foreach(array_keys($req) as $post_var) { 
    92             if (stripos($post_var, '_' . $campaign_id) === strlen($post_var) - strlen($campaign_id) - 1) { 
     91            if (strripos($post_var, '_' . $campaign_id) === strlen($post_var) - strlen($campaign_id) - 1) { 
    9392                if (stripos($post_var, 'ingagehub_collect_') !== FALSE && stripos($post_var, 'ingagehub_collect_email_') === FALSE) { 
    9493                    $field_name = substr($post_var, 18, strlen($post_var) - 18 - strlen($campaign_id) - 1); 
Note: See TracChangeset for help on using the changeset viewer.