Changeset 3029240
- Timestamp:
- 01/31/2024 06:55:00 AM (2 years ago)
- Location:
- dashamail
- Files:
-
- 9 added
- 3 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/README.txt (added)
-
tags/1.0.3/dashamail.php (added)
-
tags/1.0.3/dshm_app (added)
-
tags/1.0.3/dshm_app/Infrastructure (added)
-
tags/1.0.3/dshm_app/Infrastructure/dshm_DashaMailAPI.php (added)
-
tags/1.0.3/dshm_app/Infrastructure/dshm_PluginActivator.php (added)
-
tags/1.0.3/dshm_app/Infrastructure/dshm_SettingsPage.php (added)
-
tags/1.0.3/dshm_app/Infrastructure/dshm_WordPressFacade.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/dashamail.php (modified) (1 diff)
-
trunk/dshm_app/Infrastructure/dshm_DashaMailAPI.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dashamail/trunk/README.txt
r3012790 r3029240 5 5 Tags: email, subsciption, dashamail, mail, dasha 6 6 Requires at least: 6.4.1 7 Tested up to: 6.4. 27 Tested up to: 6.4.3 8 8 Requires PHP: 7.4 9 Stable tag: 1.0. 29 Stable tag: 1.0.3 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 46 46 47 47 == Changelog == 48 = 1.0.3 - 2024-01-31 = 49 Исправлена ошибка отсутствия ответа от API DashaMail 50 48 51 = 1.0.2 - 2023-12-21 = 49 52 Добавлены дополнительные теги для сохранения кода произвольных HTML-форм -
dashamail/trunk/dashamail.php
r3013305 r3029240 3 3 * Plugin Name: DashaMail 4 4 * Description: Плагин интеграции с DashaMail 5 * Version: 1.0. 26 * Requires at least: 6.4. 25 * Version: 1.0.3 6 * Requires at least: 6.4.3 7 7 * Requires PHP: 7.4 8 8 * Author: DashaMail -
dashamail/trunk/dshm_app/Infrastructure/dshm_DashaMailAPI.php
r3012800 r3029240 23 23 24 24 $response = \wp_remote_get($url); 25 if ( isset($response['body'])){25 if (!is_wp_error($response) && is_array($response) && isset($response['body'])){ 26 26 $json = json_decode($response['body'], true); 27 27 return $json['response'];
Note: See TracChangeset
for help on using the changeset viewer.