Version Description
FIXED: shortcodes not working in the popup contents
Download this release
Release Info
Developer | ITRO |
Plugin | ITRO Popup Plugin |
Version | 4.7.1 |
Comparing to | |
See all releases |
Code changes from version 4.7 to 4.7.1
- mc-main.php +2 -2
- readme.txt +4 -1
- templates/itro-popup-template.php +2 -1
mc-main.php
CHANGED
@@ -8,12 +8,12 @@ Plugin URI: http://www.itro.eu/
|
|
8 |
Description: EN - Show a perfecly centered customizable popup and a popup-system for age-restricted site and allow to insert own HTML code. IT - Visualizza un popup perfettamente centrato e personalizzabile con possibile blocco per i siti con restrizioni di eta' e permette di inserire il proprio codice HTML.
|
9 |
Author: ITRO Team
|
10 |
E-mail: support@itroteam.com
|
11 |
-
Version: 4.7
|
12 |
Author URI: http://www.itro.eu/
|
13 |
*/
|
14 |
|
15 |
global $ITRO_VER;
|
16 |
-
$ITRO_VER = 4.
|
17 |
|
18 |
define('itroPath', plugins_url() . '/itro-popup/');
|
19 |
define('itroImages', plugins_url() . '/itro-popup/images/');
|
8 |
Description: EN - Show a perfecly centered customizable popup and a popup-system for age-restricted site and allow to insert own HTML code. IT - Visualizza un popup perfettamente centrato e personalizzabile con possibile blocco per i siti con restrizioni di eta' e permette di inserire il proprio codice HTML.
|
9 |
Author: ITRO Team
|
10 |
E-mail: support@itroteam.com
|
11 |
+
Version: 4.7.1
|
12 |
Author URI: http://www.itro.eu/
|
13 |
*/
|
14 |
|
15 |
global $ITRO_VER;
|
16 |
+
$ITRO_VER = 4.71;
|
17 |
|
18 |
define('itroPath', plugins_url() . '/itro-popup/');
|
19 |
define('itroImages', plugins_url() . '/itro-popup/images/');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.itro.eu/
|
|
4 |
Tags: popup, popup message, popup box, popup ads, popup advertising, jquery popup, popup jquery, automatic popup, age restriction, popup block, popup violence, age validation popup, adult, adult content, content warning, content warning popup, fancy box, fancy popup, custom popup, advertising popup, pop-up, lightbox, lightbox popup
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3.1
|
7 |
-
Stable tag: 4.7
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -96,6 +96,9 @@ DONATE NOW! - HELP US TO DEVELOP FOR YOU! [DONATE NOW](http://www.itro.eu/?page_
|
|
96 |
VIEW NOW DEMOS ON OUR OFFICIAL SITE - [CLICK HERE!](http://www.itro.eu/?page_id=3056)
|
97 |
|
98 |
== Changelog ==
|
|
|
|
|
|
|
99 |
= 4.7 =
|
100 |
ADDED: Multilingual compatibility with qtranslate X.
|
101 |
ADDED: Url for the enter button of age validation.
|
4 |
Tags: popup, popup message, popup box, popup ads, popup advertising, jquery popup, popup jquery, automatic popup, age restriction, popup block, popup violence, age validation popup, adult, adult content, content warning, content warning popup, fancy box, fancy popup, custom popup, advertising popup, pop-up, lightbox, lightbox popup
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.3.1
|
7 |
+
Stable tag: 4.7.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
96 |
VIEW NOW DEMOS ON OUR OFFICIAL SITE - [CLICK HERE!](http://www.itro.eu/?page_id=3056)
|
97 |
|
98 |
== Changelog ==
|
99 |
+
= 4.7.1 =
|
100 |
+
FIXED: shortcodes not working in the popup contents
|
101 |
+
|
102 |
= 4.7 =
|
103 |
ADDED: Multilingual compatibility with qtranslate X.
|
104 |
ADDED: Url for the enter button of age validation.
|
templates/itro-popup-template.php
CHANGED
@@ -28,7 +28,8 @@ function itro_popup_template()
|
|
28 |
}?>
|
29 |
<div id="popup_content"><?php
|
30 |
$custom_field = stripslashes(itro_get_field('custom_html')); /* insert custom html code */
|
31 |
-
|
|
|
32 |
if ( itro_get_option('age_restriction') == 'yes' )
|
33 |
{?>
|
34 |
<p id="age_button_area" style="text-align: center;">
|
28 |
}?>
|
29 |
<div id="popup_content"><?php
|
30 |
$custom_field = stripslashes(itro_get_field('custom_html')); /* insert custom html code */
|
31 |
+
$custom_field = str_replace("\r\n",'',$custom_field);
|
32 |
+
_e( do_shortcode( $custom_field) ); /* return the string whitout new line */
|
33 |
if ( itro_get_option('age_restriction') == 'yes' )
|
34 |
{?>
|
35 |
<p id="age_button_area" style="text-align: center;">
|