Plugin Directory

Changeset 2397933


Ignore:
Timestamp:
10/12/2020 12:13:56 PM (5 years ago)
Author:
transact
Message:

version 5.2.2 check error case with is_wp_error

Location:
transact
Files:
3 edited
10 copied

Legend:

Unmodified
Added
Removed
  • transact/tags/5.2.2/frontend/controllers/transact-api.php

    r2373362 r2397933  
    292292        ));
    293293
     294        if (is_wp_error( $ret )) {
     295            return false;
     296        }
     297
    294298        if (empty($ret) || $ret['response']['code'] !== 200) {
    295299            return false;
  • transact/tags/5.2.2/readme.txt

    r2373365 r2397933  
    66Requires PHP: 5.6
    77Tested up to: 5.5.1
    8 Stable tag: 5.2.1
     8Stable tag: 5.2.2
    99License: APACHE-2.0
    1010License URI: https://www.apache.org/licenses/LICENSE-2.0
     
    8181== Changelog ==
    8282
     83= 5.2.2 =
     84* Add check for is_wp_error() in subscription
     85
    8386= 5.2.1 =
    8487* Fix notice warning on WordPress 5.5
  • transact/tags/5.2.2/transact-plugin.php

    r2373362 r2397933  
    33 * Plugin Name: transact.io
    44 * Description: Integrates transact.io services into WP
    5  * Version: 5.2.1
     5 * Version: 5.2.2
    66 * Author: transact.io
    77 * Author URI: https://transact.io
  • transact/trunk/frontend/controllers/transact-api.php

    r2373362 r2397933  
    292292        ));
    293293
     294        if (is_wp_error( $ret )) {
     295            return false;
     296        }
     297
    294298        if (empty($ret) || $ret['response']['code'] !== 200) {
    295299            return false;
  • transact/trunk/readme.txt

    r2373365 r2397933  
    66Requires PHP: 5.6
    77Tested up to: 5.5.1
    8 Stable tag: 5.2.1
     8Stable tag: 5.2.2
    99License: APACHE-2.0
    1010License URI: https://www.apache.org/licenses/LICENSE-2.0
     
    8181== Changelog ==
    8282
     83= 5.2.2 =
     84* Add check for is_wp_error() in subscription
     85
    8386= 5.2.1 =
    8487* Fix notice warning on WordPress 5.5
  • transact/trunk/transact-plugin.php

    r2373362 r2397933  
    33 * Plugin Name: transact.io
    44 * Description: Integrates transact.io services into WP
    5  * Version: 5.2.1
     5 * Version: 5.2.2
    66 * Author: transact.io
    77 * Author URI: https://transact.io
Note: See TracChangeset for help on using the changeset viewer.