Changeset 3489772
- Timestamp:
- 03/24/2026 09:20:26 AM (4 days ago)
- Location:
- notify-events/trunk
- Files:
-
- 3 edited
-
models/Core.php (modified) (3 diffs)
-
modules/wordpress/models/events/post/PostCustom.php (modified) (1 diff)
-
notify-events.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
notify-events/trunk/models/Core.php
r3487279 r3489772 33 33 * Core constructor. 34 34 */ 35 p ublicfunction __construct()35 protected function __construct() 36 36 { 37 37 if (is_admin()) { … … 52 52 } 53 53 54 do_action('wpne_init');55 56 54 add_action('init', function () { 57 55 Channel::register_post_type(); … … 60 58 do_action('wpne_module_init'); 61 59 }); 60 61 do_action('wpne_init'); 62 62 } 63 63 -
notify-events/trunk/modules/wordpress/models/events/post/PostCustom.php
r2919893 r3489772 63 63 ], 64 64 [ 65 // Пустая строка означает «любое значение» (чекбокс снят). 66 // Используем IN, чтобы событие срабатывало как при '' (любое), 67 // так и при точном совпадении с фактическим состоянием. 65 68 'key' => '_wpne_post_is_status_changed', 66 'value' => (int)($old_status != $new_status), 69 'value' => ['', (string)(int)($old_status != $new_status)], 70 'compare' => 'IN', 67 71 ], 68 72 [ -
notify-events/trunk/notify-events.php
r3487279 r3489772 3 3 Plugin Name: Notify.Events 4 4 Plugin URI: https://notify.events/source/wordpress 5 Description: Notify.Events plugin is ultimate tool for any kind of notifications from your WordPress website to more than 20 messengers and platf roms such as SMS, voicecall, Facebook messenger, Viber, Telegram and many more5 Description: Notify.Events plugin is ultimate tool for any kind of notifications from your WordPress website to more than 20 messengers and platforms such as SMS, voicecall, Facebook messenger, Viber, Telegram and many more 6 6 Author: Notify.Events 7 7 Author URI: https://notify.events/ 8 Version: 1.4. 18 Version: 1.4.2 9 9 License: GPL-2.0 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 13 13 */ 14 14 15 if (!defined('ABSPATH')) { 16 exit; 17 } 18 15 19 use notify_events\models\Core; 16 20 use notify_events\modules\contact_form_7\models\ContactForm7; 17 use notify_events\modules\easy_digital_downloads\models\EasyDigitalDownloads;18 21 use notify_events\modules\ninja_forms\models\NinjaForms; 19 22 use notify_events\modules\woocommerce\models\WooCommerce;
Note: See TracChangeset
for help on using the changeset viewer.