Plugin Directory

Changeset 944305


Ignore:
Timestamp:
07/07/2014 11:09:12 AM (12 years ago)
Author:
51Degrees
Message:

Updated to 3.1.4.3. See the readme for a the changelog.

Location:
51degreesmobi
Files:
38 added
4 edited

Legend:

Unmodified
Added
Removed
  • 51degreesmobi/trunk/51DWordpress.php

    r939128 r944305  
    2626    Plugin URI: http://51degrees.com/Support/Documentation/PHP/Distributions/Wordpress.aspx
    2727    Description: Uses the 51Degrees Device Detector to find out what device the end user is viewing your site on. You can access the variable using $_51d. See the documentation for full information on how to use.
    28     Version: 3.1.4.2
     28    Version: 3.1.4.3
    2929    Author: 51Degrees
    3030    Author URI: http://51Degrees.com
  • 51degreesmobi/trunk/51Degrees/51Degrees.core.js.php

    r921688 r944305  
    1111header('Vary: User-Agent');
    1212header('Cache-Control: public');
    13 // Expires: Thu, 01 Dec 1994 16:00:00 GMT ----- SET TO NEXT UPDATE DATE.
    14 // Last-Modified: Tue, 15 Nov 1994 12:45:26 +0000 ----- SET TO PUBLISHED DATE.
    15 
    16 // $hash = HASH OF DATA SET METADATA AND USERAGENT.
    17 //header("ETag: $hash");.
    1813
    1914if (isset($_SESSION) === FALSE)
     
    6459  $output .= "function FODPO() { var profileIds = new Array();\n";
    6560  $c = count($profile_scripts);
    66   if (count($profile_scripts) > 0 && (isset($_SESSION['51D_ProfileIds']) === FALSE || strlen($_SESSION['51D_ProfileIds']) == 0)) {
     61  if ($c > 0 && (isset($_SESSION['51D_ProfileIds']) === FALSE || strlen($_SESSION['51D_ProfileIds']) == 0)) {
    6762    foreach ($profile_scripts as $property) {
    6863      if (isset($_51d[$property])) {
    69         $output .= $_51d[$property];
    70         $output .= "\n";
     64        $props = $_51d[$property];
     65        foreach($props as $prop) {
     66          $output .= $prop;
     67          $output .= "\n";
     68        }
    7169      }
    7270    }
  • 51degreesmobi/trunk/51Degrees/ReadMe.txt

    r939128 r944305  
    217217- ChangeLog
    218218
    219 v3.1.4.2
     219v3.1.4.3
    220220
    221221- Fixed bug where metadata caches would not be removed.
    222222- Feature.js property names are now stripped of '/' characters so they
    223223  don't cause parser errors.
     224- Fixed bug where Feature Detection script would not be created in the core.js
     225  script.
    224226
    225227v3.1.3.1
  • 51degreesmobi/trunk/README.txt

    r939128 r944305  
    55Requires at least: 2.7
    66Tested up to: 3.9.1
    7 Stable tag: 3.1.4.2
     7Stable tag: 3.1.4.3
    88License: MPLv2 or later (MPL)
    99License URI: http://www.mozilla.org/MPL/2.0/
     
    9595
    9696== Changelog ==
    97 = 3.1.4.2 =
     97= 3.1.4.3 =
    9898* Fixed bug where metadata caches would not be removed.
    9999* Feature.js property names are now stripped of '/' characters so they
    100100don't cause parser errors.
     101* Fixed bug where Feature Detection script would not be created in the core.js
     102  script.
    101103
    102104= 3.1.3.1 =
Note: See TracChangeset for help on using the changeset viewer.