Plugin Directory

Changeset 3029240


Ignore:
Timestamp:
01/31/2024 06:55:00 AM (2 years ago)
Author:
dashamail
Message:

Add v.1.0.3

Location:
dashamail
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • dashamail/trunk/README.txt

    r3012790 r3029240  
    55Tags: email, subsciption, dashamail, mail, dasha
    66Requires at least: 6.4.1
    7 Tested up to: 6.4.2
     7Tested up to: 6.4.3
    88Requires PHP: 7.4
    9 Stable tag: 1.0.2
     9Stable tag: 1.0.3
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4646
    4747== Changelog ==
     48= 1.0.3 - 2024-01-31 =
     49Исправлена ошибка отсутствия ответа от API DashaMail
     50
    4851= 1.0.2 - 2023-12-21 =
    4952Добавлены дополнительные теги для сохранения кода произвольных HTML-форм
  • dashamail/trunk/dashamail.php

    r3013305 r3029240  
    33 * Plugin Name:       DashaMail
    44 * Description:       Плагин интеграции с DashaMail
    5  * Version:           1.0.2
    6  * Requires at least: 6.4.2
     5 * Version:           1.0.3
     6 * Requires at least: 6.4.3
    77 * Requires PHP:      7.4
    88 * Author:            DashaMail
  • dashamail/trunk/dshm_app/Infrastructure/dshm_DashaMailAPI.php

    r3012800 r3029240  
    2323
    2424        $response = \wp_remote_get($url);
    25         if (isset($response['body'])){
     25        if (!is_wp_error($response) && is_array($response) && isset($response['body'])){
    2626            $json = json_decode($response['body'], true);
    2727            return $json['response'];
Note: See TracChangeset for help on using the changeset viewer.