Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Easy Modal |
Version | 2.0.9 |
Comparing to | |
See all releases |
Code changes from version 2.0.8 to 2.0.9
- classes/migrate.php +5 -6
- easy-modal.php +3 -4
- readme.txt +1 -1
classes/migrate.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
<?php
|
2 |
-
class EModal_Migrate_Pre_V1 {
|
3 |
function __construct()
|
4 |
{
|
5 |
register_activation_hook(__FILE__, array(&$this, '_migrate'));
|
@@ -137,9 +136,9 @@ class EModal_Migrate_Pre_V2 {
|
|
137 |
{
|
138 |
$new_theme = new EModal_Model_Theme;
|
139 |
$new_theme->set_fields(array(
|
140 |
-
'id' => $theme['id'],
|
141 |
'name' => $theme['name'],
|
142 |
-
'is_system' => $theme['id'] == 1 ? 1 : 0,
|
143 |
'meta' => array(
|
144 |
'overlay' => array(
|
145 |
'background' => array(
|
@@ -198,8 +197,8 @@ class EModal_Migrate_Pre_V2 {
|
|
198 |
{
|
199 |
$new_modal = new EModal_Model_Modal;
|
200 |
$new_modal->set_fields(array(
|
201 |
-
'id' => is_int(intval($modal['id'])) ? $modal['id'] : NULL,
|
202 |
-
'theme_id' => in_array($modal['theme'], $theme_check) ? $modal['theme'] : 1,
|
203 |
'name' => $modal['name'],
|
204 |
'title' => $modal['title'],
|
205 |
'content' => $modal['content'],
|
1 |
+
<?php class EModal_Migrate_Pre_V1 {
|
|
|
2 |
function __construct()
|
3 |
{
|
4 |
register_activation_hook(__FILE__, array(&$this, '_migrate'));
|
136 |
{
|
137 |
$new_theme = new EModal_Model_Theme;
|
138 |
$new_theme->set_fields(array(
|
139 |
+
'id' => intval($theme['id']),
|
140 |
'name' => $theme['name'],
|
141 |
+
'is_system' => intval($theme['id']) == 1 ? 1 : 0,
|
142 |
'meta' => array(
|
143 |
'overlay' => array(
|
144 |
'background' => array(
|
197 |
{
|
198 |
$new_modal = new EModal_Model_Modal;
|
199 |
$new_modal->set_fields(array(
|
200 |
+
'id' => is_int(intval($modal['id'])) ? intval($modal['id']) : NULL,
|
201 |
+
'theme_id' => in_array(intval($modal['theme']), $theme_check) ? intval($modal['theme']) : 1,
|
202 |
'name' => $modal['name'],
|
203 |
'title' => $modal['title'],
|
204 |
'content' => $modal['content'],
|
easy-modal.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Modal
|
|
4 |
Plugin URI: http://easy-modal.com
|
5 |
Description: Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos & more.
|
6 |
Author: Wizard Internet Solutions
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
Text Domain: easy-modal
|
10 |
*/
|
@@ -21,7 +21,7 @@ if (!defined('EMCORE_URL'))
|
|
21 |
if (!defined('EMCORE_NONCE'))
|
22 |
define('EMCORE_NONCE', EMCORE_SLUG.'_nonce' );
|
23 |
if (!defined('EMCORE_VERSION'))
|
24 |
-
define('EMCORE_VERSION', '2.0.
|
25 |
if (!defined('EMCORE_DB_VERSION'))
|
26 |
define('EMCORE_DB_VERSION', '1' );
|
27 |
if (!defined('EMCORE_API_URL'))
|
@@ -219,5 +219,4 @@ function emodal_initialize()
|
|
219 |
global $EModal, $EModal_License;
|
220 |
require EMCORE_DIR.'/init.php';
|
221 |
$EModal = new EModal;
|
222 |
-
}
|
223 |
-
|
4 |
Plugin URI: http://easy-modal.com
|
5 |
Description: Easily create & style modals with any content. Theme editor to quickly style your modals. Add forms, social media boxes, videos & more.
|
6 |
Author: Wizard Internet Solutions
|
7 |
+
Version: 2.0.9
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
Text Domain: easy-modal
|
10 |
*/
|
21 |
if (!defined('EMCORE_NONCE'))
|
22 |
define('EMCORE_NONCE', EMCORE_SLUG.'_nonce' );
|
23 |
if (!defined('EMCORE_VERSION'))
|
24 |
+
define('EMCORE_VERSION', '2.0.9' );
|
25 |
if (!defined('EMCORE_DB_VERSION'))
|
26 |
define('EMCORE_DB_VERSION', '1' );
|
27 |
if (!defined('EMCORE_API_URL'))
|
219 |
global $EModal, $EModal_License;
|
220 |
require EMCORE_DIR.'/init.php';
|
221 |
$EModal = new EModal;
|
222 |
+
}
|
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
6 |
Tags: modal,modal box,modal form,modal window,popup,popup box,popup form,popup window,ajax forms
|
7 |
Requires at least: 3.4
|
8 |
Tested up to: 3.9.2
|
9 |
-
Stable tag: 2.0.
|
10 |
Make a pop up - any pop up. Logins, Auto Exits, Scroll Pops, Age Verification Pops. Theme, customize, make a glorious pop up!
|
11 |
== Description ==
|
12 |
Make a pop up - any pop up - Logins, Auto Exits, Scroll Pops, Age Verification Pops - use EasyModal's ultimate theme capabilities and customization options to make glorious pop ups that increase your site's usability and conversion rates.
|
6 |
Tags: modal,modal box,modal form,modal window,popup,popup box,popup form,popup window,ajax forms
|
7 |
Requires at least: 3.4
|
8 |
Tested up to: 3.9.2
|
9 |
+
Stable tag: 2.0.9
|
10 |
Make a pop up - any pop up. Logins, Auto Exits, Scroll Pops, Age Verification Pops. Theme, customize, make a glorious pop up!
|
11 |
== Description ==
|
12 |
Make a pop up - any pop up - Logins, Auto Exits, Scroll Pops, Age Verification Pops - use EasyModal's ultimate theme capabilities and customization options to make glorious pop ups that increase your site's usability and conversion rates.
|