ITRO Popup Plugin - Version 5.2.2

Version Description

FIXED: now the plugin is compatible with php 8.1

Download this release

Release Info

Developer lorenzopotenti
Plugin Icon 128x128 ITRO Popup Plugin
Version 5.2.2
Comparing to
See all releases

Code changes from version 5.2.1 to 5.2.2

Files changed (3) hide show
  1. admin/popup-admin.php +1 -1
  2. mc-main.php +2 -2
  3. readme.txt +10 -23
admin/popup-admin.php CHANGED
@@ -238,7 +238,7 @@ if (isset($_POST[$submitted_form]) && $_POST[$submitted_form] == 'Y' || isset($_
238
  $roles_obj = new WP_Roles();
239
  foreach ($roles_obj->roles as $role => $role_val) {
240
  $allowedRoles = json_decode(itro_get_option('roles'));
241
- if (in_array($role, $allowedRoles)) {
242
  $checked = "checked";
243
  } else {
244
  $checked = "";
238
  $roles_obj = new WP_Roles();
239
  foreach ($roles_obj->roles as $role => $role_val) {
240
  $allowedRoles = json_decode(itro_get_option('roles'));
241
+ if (in_array($role, (array) $allowedRoles)) {
242
  $checked = "checked";
243
  } else {
244
  $checked = "";
mc-main.php CHANGED
@@ -6,14 +6,14 @@ Description: EN - Show a perfecly centered customizable popup and a popup-system
6
  Author: ITRO Team
7
  E-mail: support@itroteam.com
8
  Text Domain: itro-popup
9
- Version: 5.2.1
10
  Author URI: https://www.itroteam.com
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
 
15
  global $ITRO_VER;
16
- $ITRO_VER = '5.2.1';
17
 
18
  global $popup_fired; //it check if there is a popup visualization via shortcode or via automatic visualization
19
  $popup_fired = false;
6
  Author: ITRO Team
7
  E-mail: support@itroteam.com
8
  Text Domain: itro-popup
9
+ Version: 5.2.2
10
  Author URI: https://www.itroteam.com
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
 
15
  global $ITRO_VER;
16
+ $ITRO_VER = '5.2.2';
17
 
18
  global $popup_fired; //it check if there is a popup visualization via shortcode or via automatic visualization
19
  $popup_fired = false;
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  === ITRO Popup Plugin ===
2
- Contributors: ITRO,robertourbani
3
  Donate link: https://www.itroteam.com/leave-a-review/
4
  Tags: multilingual popup, popup, popup message, popuup optin, popup box, popup ads, popup advertising, popup block, popup content warning, fancy box, fancy popup, advertising popup, pop-up, lightbox popup
5
  Requires at least: 3.0.1
6
- Tested up to: 5.2.2
7
  Requires PHP: 7.0
8
- Stable tag: 5.2.1
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -125,15 +125,16 @@ No, you can’t. If you need different popups maybe you need ITRO WordPress Mark
125
  = Is the popup responsive? =
126
  Yes it is fully responsive.
127
 
128
- == Screenshots ==
129
-
130
  LIVE DEMOS - [CLICK HERE!](https://www.itroteam.com/wordpress-popup-samples-demos/)
131
 
132
  BACKEND SCREENSHOT - [CLICK HERE!](https://www.itroteam.com/wordpress-popup-samples-demos/#backend)
133
 
 
 
 
134
  == Changelog ==
135
- = 5.2.1 =
136
- FIXED: user role permissions to manage popups
137
 
138
  = 5.1 =
139
  ADDED: control for logged users for popup display
@@ -410,22 +411,8 @@ bug fixed: color table now works in admin pannel.
410
  First released version.
411
 
412
  == Upgrade Notice ==
413
- = 5.0.3 =
414
- Fixed: user role permissions to manage popups
415
-
416
- = 5.0.2 =
417
- IMPROVED: system info on the popup admin page
418
- ADDED: force table installation in case something gone wrong during plugin activation
419
-
420
- = 5.0.1 =
421
- ADDED: force_balance_tags used to prevent popup content break the DOM
422
-
423
- = 5.0 =
424
- FIXED: automatic top margin not working with popup delay
425
- ADDED: close cross can be a custom image
426
- IMPROVED: cleaned the js script in itro-admin-scripts.js
427
- IMPROVED: admin pannel aspect and options order
428
- IMPROVED: plugin version check for DB updates
429
 
430
  == Notes ==
431
  FOR FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](https://www.itroteam.com/itro-wordpress-popup-plugin-faq/)
1
  === ITRO Popup Plugin ===
2
+ Contributors: ITRO,robertourbani,lorenzopotenti
3
  Donate link: https://www.itroteam.com/leave-a-review/
4
  Tags: multilingual popup, popup, popup message, popuup optin, popup box, popup ads, popup advertising, popup block, popup content warning, fancy box, fancy popup, advertising popup, pop-up, lightbox popup
5
  Requires at least: 3.0.1
6
+ Tested up to: 6.0.1
7
  Requires PHP: 7.0
8
+ Stable tag: 5.2.2
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
125
  = Is the popup responsive? =
126
  Yes it is fully responsive.
127
 
 
 
128
  LIVE DEMOS - [CLICK HERE!](https://www.itroteam.com/wordpress-popup-samples-demos/)
129
 
130
  BACKEND SCREENSHOT - [CLICK HERE!](https://www.itroteam.com/wordpress-popup-samples-demos/#backend)
131
 
132
+ == Screenshots ==
133
+ 1. The screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).
134
+
135
  == Changelog ==
136
+ = 5.2.2 =
137
+ FIXED: now the plugin is compatible with php 8.1
138
 
139
  = 5.1 =
140
  ADDED: control for logged users for popup display
411
  First released version.
412
 
413
  == Upgrade Notice ==
414
+ = 5.2.2 =
415
+ FIXED: now the plugin is compatible with php 8.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
416
 
417
  == Notes ==
418
  FOR FAQ VISIT THE OFFICIAL SITE [CLICK HERE!](https://www.itroteam.com/itro-wordpress-popup-plugin-faq/)