Plugin Directory

Changeset 2674468


Ignore:
Timestamp:
02/07/2022 04:57:11 PM (4 years ago)
Author:
cryptium
Message:

improved reliability, incremented version to 1.0.16

Location:
loginshield/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • loginshield/trunk/README.txt

    r2674459 r2674468  
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    10 Stable tag: v1.0.15
     10Stable tag: v1.0.16
    1111
    1212LoginShield for WordPress is the secure and convenient way to login to your WordPress site. It's easy to use and protects users against password and phishing attacks.
  • loginshield/trunk/loginshield.php

    r2622932 r2674468  
    2121 * Plugin URI:        https://loginshield.com
    2222 * Description:       LoginShield for WordPress is a more secure login for WordPress sites. It's easy to use and protects users against password and phishing attacks.
    23  * Version:           1.0.15
     23 * Version:           1.0.16
    2424 * Author:            Cryptium
    2525 * Author URI:        https://cryptium.com
  • loginshield/trunk/src/RealmClient.php

    r2517999 r2674468  
    7474            $response = json_decode($apiResponseBody);
    7575
    76             if ($response && $response->isCreated) {
     76            if ($response && isset($response->isCreated)) {
    7777                return $response;
    7878            }
     
    123123            $response = json_decode($apiResponseBody);
    124124
    125             if ($response && $response->isCreated && $response->forward && str_starts_with($response->forward, $this->endpointURL)) {
     125            if ($response && isset($response->isCreated) && isset($response->forward) && str_starts_with($response->forward, $this->endpointURL)) {
    126126                return $response;
    127127            }
     
    162162            $response = json_decode($apiResponseBody);
    163163
    164             if ($response && $response->isDeleted) {
     164            if ($response && isset($response->isDeleted)) {
    165165                return $response;
    166166            }
     
    204204            $response = json_decode($apiResponseBody);
    205205
    206             if ($response && $response->forward && str_starts_with($response->forward, $this->endpointURL)) {
     206            if ($response && isset($response->forward) && str_starts_with($response->forward, $this->endpointURL)) {
    207207                return $response;
    208208            }
Note: See TracChangeset for help on using the changeset viewer.