Changeset 2282007
- Timestamp:
- 04/12/2020 06:01:51 PM (6 years ago)
- Location:
- locatoraid/trunk
- Files:
-
- 1 added
- 7 edited
-
config/_common.php (modified) (1 diff)
-
happ2/hsystem/parts/profiler.php (modified) (3 diffs)
-
happ2/lib-wp/hcWpBase6.php (modified) (1 diff)
-
happ2/modules/maps_google/assets/js/gmaps.js (modified) (4 diffs)
-
happ2/modules/session/lib.php (modified) (4 diffs)
-
locatoraid.php (modified) (2 diffs)
-
modules/front/assets/js/front-dev.js (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
locatoraid/trunk/config/_common.php
r2241294 r2282007 1 1 <?php if (! defined('ABSPATH')) exit; // Exit if accessed directly 2 $config['app_version'] = '3.7. 1';2 $config['app_version'] = '3.7.2'; 3 3 // $config['dbprefix_version'] = 'v1'; 4 4 -
locatoraid/trunk/happ2/hsystem/parts/profiler.php
r2191985 r2282007 73 73 if ( ! isset($config[$section])) 74 74 { 75 $this-> _compile_{$section} = TRUE;75 $this->{'_compile_' . $section} = TRUE; 76 76 } 77 77 } … … 91 91 if (in_array($method, $this->_available_sections)) 92 92 { 93 $this-> _compile_{$method} = ($enable !== FALSE) ? TRUE : FALSE;93 $this->{'_compile_' . $method} = ($enable !== FALSE) ? TRUE : FALSE; 94 94 } 95 95 } … … 427 427 foreach ($this->_available_sections as $section) 428 428 { 429 if ($this-> _compile_{$section} !== FALSE)429 if ($this->{'_compile_' . $section} !== FALSE) 430 430 { 431 431 $func = "_compile_{$section}"; -
locatoraid/trunk/happ2/lib-wp/hcWpBase6.php
r2209033 r2282007 203 203 204 204 // session_name( $session_name ); 205 @session_start(); 206 // session_start(); 205 $sessionOptions = array(); 206 $sessionOptions = array( 'read_and_close' => TRUE ); 207 @session_start( $sessionOptions ); 208 207 209 // ob_start(); 208 210 } -
locatoraid/trunk/happ2/modules/maps_google/assets/js/gmaps.js
r2191985 r2282007 58 58 59 59 function hc2_geocode( address, callback ){ 60 if( 'undefined' == typeof hc2_geocode.cache ){ 61 hc2_geocode.cache = {}; 62 } 63 64 if( typeof address == 'string' ){ 65 address = { 'address': address }; 66 } 67 60 68 var more_pass_args = []; 61 69 if( arguments.length > 2 ){ … … 63 71 more_pass_args.push( arguments[ii] ); 64 72 } 73 } 74 75 if( hc2_geocode.cache.hasOwnProperty(address.address) ){ 76 var results = { 77 lat: hc2_geocode.cache[address.address][0], 78 lng: hc2_geocode.cache[address.address][1], 79 }; 80 81 var pass_args = [ true, results, google.maps.GeocoderStatus.OK ]; 82 pass_args = pass_args.concat( more_pass_args ); 83 callback.apply( this, pass_args ); 84 // console.log( 'GEOCODER CACHE: ' + address.address + ': ' + hc2_geocode.cache[address.address][0] + ', ' + hc2_geocode.cache[address.address][1] ); 85 return true; 65 86 } 66 87 … … 78 99 var geocoder = new google.maps.Geocoder(); 79 100 80 if( typeof address == 'string' ){81 address = { 'address': address };82 }83 101 84 102 geocoder.geocode( … … 106 124 lng: this_loc.lng(), 107 125 }; 126 127 hc2_geocode.cache[ address.address ] = [ results.lat, results.lng ]; 108 128 break; 109 129 -
locatoraid/trunk/happ2/modules/session/lib.php
r2209033 r2282007 79 79 $this->init_done = TRUE; 80 80 81 81 82 $app_short_name = $this->app->app_short_name(); 82 83 $this->my_prefix = $app_short_name . '_' . $this->my_prefix; … … 85 86 86 87 if( session_id() == '' ){ 87 @session_start(); 88 $sessionOptions = array(); 89 $sessionOptions = array( 'read_and_close' => TRUE ); 90 @session_start( $sessionOptions ); 88 91 } 89 92 … … 373 376 function set_userdata($newdata = array(), $newval = '', $append = FALSE) 374 377 { 378 @session_start(); 375 379 if (is_string($newdata)) 376 380 { … … 429 433 function unset_userdata($newdata = array()) 430 434 { 435 @session_start(); 431 436 if (is_string($newdata)){ 432 437 $newdata = array($newdata => ''); -
locatoraid/trunk/locatoraid.php
r2241294 r2282007 4 4 Plugin URI: https://www.locatoraid.com/ 5 5 Description: Store locator plugin 6 Version: 3.7. 16 Version: 3.7.2 7 7 Author: hitcode.com 8 8 Author URI: https://www.locatoraid.com/ … … 12 12 13 13 if( ! defined('LC3_VERSION') ){ 14 define( 'LC3_VERSION', 37 1);14 define( 'LC3_VERSION', 372 ); 15 15 } 16 16 -
locatoraid/trunk/readme.txt
r2241294 r2282007 5 5 Stable tag: trunk 6 6 Requires at least: 3.3 7 Tested up to: 5. 37 Tested up to: 5.4 8 8 Requires PHP: 5.3 9 9 … … 84 84 85 85 == Changelog == 86 87 = 3.7.2 = 88 * BUG: PHP notice with PHP 7.4 in profiler.php file. 89 * BUG: "REST API" error in Wordpress SiteHealth. 86 90 87 91 = 3.7.1 =
Note: See TracChangeset
for help on using the changeset viewer.