Plugin Directory

Changeset 2209033


Ignore:
Timestamp:
12/10/2019 06:55:14 AM (6 years ago)
Author:
hitcode
Message:

3.6.9

Location:
locatoraid/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • locatoraid/trunk/config/_common.php

    r2191985 r2209033  
    11<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
    2 $config['app_version'] = '3.6.8';
     2$config['app_version'] = '3.6.9';
    33// $config['dbprefix_version'] = 'v1';
    44
  • locatoraid/trunk/happ2/lib-wp/hcWpBase6.php

    r1864143 r2209033  
    203203
    204204//      session_name( $session_name );
    205 //      @session_start();
     205        @session_start();
     206        // session_start();
    206207        // ob_start();
    207208    }
  • locatoraid/trunk/happ2/modules/http/uri.php

    r1740734 r2209033  
    44    protected $hca = 'hca';
    55    protected $hcs = 'hcs';
     6
     7    // protected $joinArray = '|';
     8    protected $joinArray = '_';
    69
    710    protected $mode_urls = array();
     
    107110                $return['raw_params'] = $params;
    108111                $return['params'] = hc2_parse_args($params);
     112
     113                foreach( array_keys($return['params']) as $k ){
     114                    $v = $return['params'][$k];
     115                    if( is_array($v) ){
     116                        continue;
     117                    }
     118
     119                    $pos = strpos( $v, $this->joinArray );
     120
     121                    if( FALSE === $pos ){
     122                        continue;
     123                    }
     124                    if( 0 === $pos ){
     125                        continue;
     126                    }
     127
     128                    $v = explode( $this->joinArray, $v );
     129                    $return['params'][$k] = $v;
     130                }
    109131            }
    110132
     
    265287                    foreach( $p as $p2 ){
    266288                        if( is_array($p2) ){
    267                             $p2 = join('|', $p2);
     289                            $p2 = join($this->joinArray, $p2);
    268290                        }
    269291                        $p2 = urlencode( $p2 );
    270292                        $final_p[] = $p2;
    271293                    }
    272                     $p = join('|', $final_p);
     294                    $p = join($this->joinArray, $final_p);
    273295                }
    274296                else {
  • locatoraid/trunk/happ2/modules/session/lib.php

    r1970559 r2209033  
    8282        $this->my_prefix = $app_short_name . '_' . $this->my_prefix;
    8383// echo "INIT SESSION FOR '$app_short_name'<br>";
     84// echo 'SESSION ID = ' . session_id() . '<br>';
    8485
    8586        if( session_id() == '' ){
  • locatoraid/trunk/locatoraid.php

    r2191985 r2209033  
    44Plugin URI: https://www.locatoraid.com/
    55Description: Store locator plugin
    6 Version: 3.6.8
     6Version: 3.6.9
    77Author: hitcode.com
    88Author URI: https://www.locatoraid.com/
     
    1212
    1313if( ! defined('LC3_VERSION') ){
    14     define( 'LC3_VERSION', 368 );
     14    define( 'LC3_VERSION', 369 );
    1515}
    1616
  • locatoraid/trunk/modules/front/assets/js/front.js

    r2191985 r2209033  
    9797            var replace_to = search[k];
    9898            if( Array.isArray(replace_to) ){
    99                 replace_to = replace_to.join('|');
     99                replace_to = replace_to.join('_');
    100100            }
    101101            search_url = search_url.replace( to_replace, replace_to );
     
    195195            var replace_to = search[k];
    196196            if( Array.isArray(replace_to) ){
    197                 replace_to = replace_to.join('|');
     197                replace_to = replace_to.join('_');
    198198            }
    199199            search_url = search_url.replace( to_replace, replace_to );
  • locatoraid/trunk/modules/front/view_form.php

    r2191985 r2209033  
    1010
    1111        if( isset($params['where-product']) && $params['where-product'] ){
    12             if( FALSE !== strpos($params['where-product'], '|') ){
     12            if( FALSE !== strpos($params['where-product'], '_') ){
    1313                // if( isset($form_inputs['product']) && method_exists($form_inputs['product'], 'options') ){
    1414                if( isset($form_inputs['product']) ){
     
    2222                    $options = $input->options();
    2323
    24                     $filteredProducts = explode( '|', $params['where-product'] );
     24                    $filteredProducts = explode( '_', $params['where-product'] );
    2525                    $filteredProducts = array_map( function($e){ return trim($e); }, $filteredProducts );
    2626                    $filteredProducts = array_combine( $filteredProducts, $filteredProducts );
  • locatoraid/trunk/modules/search/radius_controller.php

    r2124830 r2209033  
    7373            if( is_array($v) ){
    7474                $command_args[] = array($tk, 'IN', $v);
    75                 $link_params[$tk] = array('IN', $v);
     75                // $link_params[$tk] = array('IN', $v);
     76                $link_params[$tk] = $v;
    7677            }
    7778            else {
     
    121122        $command_args[] = 'count';
    122123        $radiuses = $uri->param('radius');
     124
    123125        if( ! $radiuses ){
    124126            $radiuses = array( 10, 20, 50, 100, 200, 500 );
     
    177179            }
    178180
     181// _print_r( $link_params );
     182
    179183            $link = $this->app->make('/http/uri')
    180184                ->url('/search', $this_link_params)
  • locatoraid/trunk/readme.txt

    r2193451 r2209033  
    8585== Changelog ==
    8686
     87= 3.6.9 =
     88* BUG: multiple products checkbox in the search form may have worked incorrectly.
     89
    8790= 3.6.8 =
    8891* BUG: the "limit" shortcode parameter may have worked incorrectly.
Note: See TracChangeset for help on using the changeset viewer.