WordPress.org

Plugin Directory


Ignore:
Location:
usc-e-shop/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • usc-e-shop/trunk/classes/usceshop.class.php

    r1728428 r1728429  
    21332133 
    21342134    function set_cookie($values, $key='usces_cookie'){ 
    2135         $value = serialize($values); 
     2135        $value = json_encode($values); 
    21362136        $timeout = time()+7*86400; 
    21372137        $timeout = apply_filters( 'usces_filter_set_cookie_timeout', $timeout, $values, $key); 
     
    21412141     
    21422142    function get_cookie($key='usces_cookie') { 
    2143         $values = isset($_COOKIE[$key]) ? unserialize(stripslashes($_COOKIE[$key])) : NULL; 
     2143        $values = isset($_COOKIE[$key]) ? json_decode(stripslashes($_COOKIE[$key]), true) : NULL; 
    21442144        return $values; 
    21452145    } 
  • usc-e-shop/trunk/usc-e-shop.php

    r1728428 r1728429  
    1010Domain Path: /languages/ 
    1111*/ 
    12 define('USCES_VERSION', '1.9.3.1709121'); 
     12define('USCES_VERSION', '1.9.3.1709122'); 
    1313define('USCES_DB_ACCESS', '1.5'); 
    1414define('USCES_DB_MEMBER', '1.1'); 
Note: See TracChangeset for help on using the changeset viewer.