Plugin Directory

Changeset 3462635


Ignore:
Timestamp:
02/16/2026 03:25:03 PM (6 weeks ago)
Author:
provesource
Message:

Update http status checks

Location:
provesource
Files:
13 added
2 edited

Legend:

Unmodified
Added
Removed
  • provesource/trunk/provesrc.php

    r3384670 r3462635  
    88 * Plugin Name: ProveSource
    99 * Description: ProveSource is a social proof marketing platform that works with your Wordpress and WooCommerce websites out of the box
    10  * Version: 4.0.0
     10 * Version: 4.0.1
    1111 * Author: ProveSource LTD
    1212 * Author URI: https://provesrc.com
     
    2424/** constants */
    2525define('PROVESRC_HOST', 'https://api.provesrc.com');
    26 define('PROVESRC_VERSION', '4.0.0');
     26define('PROVESRC_VERSION', '4.0.1');
    2727define('PROVESRC_OPTIONS_GROUP', 'provesrc_options');
    2828
     
    300300        $response_body = wp_remote_retrieve_body($res);
    301301        $response_data = json_decode($response_body, true);
    302         if ($response_code != 200) {
     302        if ($response_code < 200 || $response_code >= 300) {
    303303            if (isset($response_data['error'])) {
    304304                $error_message = $response_data['error'];
  • provesource/trunk/readme.txt

    r3384670 r3462635  
    66Requires at least: 3.0
    77Tested up to: 6.8
    8 Stable tag: 4.0.0
     8Stable tag: 4.0.1
    99License: GPL-3.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.