Plugin Directory

Changeset 3033719


Ignore:
Timestamp:
02/09/2024 04:33:19 PM (2 years ago)
Author:
heygov
Message:

updated: endpoint to validate HeyGov ID

Location:
heygov
Files:
38 added
2 edited

Legend:

Unmodified
Added
Removed
  • heygov/trunk/heygov.php

    r2972332 r3033719  
    44Plugin URI: https://heygov.com
    55Description: Manage the HeyGov widget on your municipality WordPress website
    6 Version: 1.8.1
     6Version: 1.8.2
    77Requires at least: 5.0
    88Requires PHP: 7.0
     
    5454    }
    5555
    56     $re = wp_remote_get('https://api.heygov.com/jurisdictions/' . $id);
     56    $id = strtolower(trim($id));
     57
     58    $re = wp_remote_get('https://api.heygov.com/' . $id);
    5759
    5860    if (is_wp_error($re)) {
  • heygov/trunk/readme.txt

    r2972335 r3033719  
    55Tested up to: 6.3
    66Requires PHP: 7.0
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== Changelog ==
     38
     39= 1.8.2 =
     40* Updated - Endpoint to validate HeyGov ID
    3841
    3942= 1.8.1 =
Note: See TracChangeset for help on using the changeset viewer.