Plugin Directory

Changeset 2457623


Ignore:
Timestamp:
01/16/2021 04:26:17 PM (5 years ago)
Author:
tech2serve
Message:

3.9.5 Hot-fix for geocoding error

Location:
12-step-meeting-list/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 12-step-meeting-list/trunk/12-step-meeting-list.php

    r2433701 r2457623  
    44Plugin URI: https://wordpress.org/plugins/12-step-meeting-list/
    55Description: Manage a list of recovery meetings
    6 Version: 3.9.4
     6Version: 3.9.5
    77Author: Code4Recovery
    88Author URI: https://github.com/code4recovery/12-step-meeting-list
     
    2424
    2525if (!defined('TSML_VERSION')) {
    26     define('TSML_VERSION', '3.9.4');
     26    define('TSML_VERSION', '3.9.5');
    2727}
    2828
  • 12-step-meeting-list/trunk/includes/functions.php

    r2433701 r2457623  
    689689//used: single-meetings.php, single-locations.php
    690690function tsml_ensure_location_approximate_set($meeting_location_info) {
    691   if (empty($meeting_location_info->approximate)) {
     691  if (empty($meeting_location_info->approximate) && !empty($meeting_location_info->formatted_address)) {
    692692    $geocoded = tsml_geocode($meeting_location_info->formatted_address);
    693693    $meeting_location_info->approximate = $geocoded['approximate'];
     
    977977        }
    978978    }
    979     sort($meeting->types_expanded);
    980   $meeting = tsml_ensure_location_approximate_set($meeting); // Can eventually remove this when <3.9 TSMLs no longer used.
     979  sort($meeting->types_expanded);
     980 
     981  if (!empty($meeting->post_title)) $meeting = tsml_ensure_location_approximate_set($meeting); // Can eventually remove this when <3.9 TSMLs no longer used.
    981982
    982983    return $meeting;
  • 12-step-meeting-list/trunk/readme.txt

    r2433701 r2457623  
    33Requires at least: 3.2
    44Tested up to: 5.6.0
    5 Stable tag: 3.9.4
     5Stable tag: 3.9.5
    66
    77This plugin helps twelve step recovery programs list their meetings. It standardizes addresses, and displays results in a searchable list and map.
     
    206206== Changelog ==
    207207
     208= 3.9.5 =
     209* Hot-fix to remove geocode error when adding new meeting.
     210
    208211= 3.9.4 =
    209212* Fix bugs associated with approximate values/display of directions dialogs.
Note: See TracChangeset for help on using the changeset viewer.