PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.5.4
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.5.4
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
← All changes | Inc/Classes/Notifications/Upgrade_Notice.php +7 -12 4.3.24.0.5.4 View file →
@@ -1,16 +1,11 @@
1 1 <?php
2 -namespace PXLBSAdminify\Inc\Classes\Notifications;
2 +namespace WPAdminify\Inc\Classes\Notifications;
3 3
4 -use PXLBSAdminify\Inc\Classes\Notifications\Model\Popup;
5 -use PXLBSAdminify\Inc\Classes\Pro_Upgrade;
6 -use PXLBSAdminify\Inc\Classes\Helper;
4 +use WPAdminify\Inc\Classes\Notifications\Model\Popup;
5 +use WPAdminify\Inc\Classes\Pro_Upgrade;
6 +use WPAdminify\Inc\Classes\Helper;
7 7
8 -// No, Direct access Sir !!!
9 -if ( ! defined( 'ABSPATH' ) ) {
10 - exit;
11 -}
12 -
13 8 if ( ! class_exists( 'Upgrade_Notice' ) ) {
14 9 /**
15 10 * Upgrade notice class
16 11 *
@@ -28,9 +23,9 @@
28 23 $this->init_data();
29 24
30 25 // On sheet data update, remove the popup data, to auto rebuid the data.
31 26 add_action(
32 - 'pxlbsadminify_sheet_promo_data_reset',
27 + 'jltwp_adminify_sheet_promo_data_reset',
33 28 function () {
34 29 $this->delete();
35 30 }
36 31 );
@@ -110,8 +105,8 @@
110 105 $today = $this->current_time();
111 106
112 107 $this->data = Helper::get_merged_data( $sheet_data, $today, $this->date_increment( $today, 10 ) );
113 108
114 - $this->is_active = wp_validate_boolean( $this->data['is_live'] );
109 + $this->is_active = wp_validate_boolean( $this->data['is_campaign'] );
115 110 }
116 111 }
117 -}
112 +}