Easy Modal - Version 2.0.6

Version Description

Download this release

Release Info

Developer danieliser
Plugin Icon 128x128 Easy Modal
Version 2.0.6
Comparing to
See all releases

Code changes from version 2.0.5 to 2.0.6

assets/styles/easy-modal-admin.css CHANGED
@@ -234,6 +234,7 @@
234
  position: absolute;
235
  font-weight: bold;
236
  cursor: pointer;
 
237
  }
238
  #poststuff .inside.close-modal {
239
  margin:0;
234
  position: absolute;
235
  font-weight: bold;
236
  cursor: pointer;
237
+ min-width: 1em;
238
  }
239
  #poststuff .inside.close-modal {
240
  margin:0;
assets/styles/easy-modal-site.css CHANGED
@@ -27,6 +27,7 @@
27
  position: absolute;
28
  font-weight: bold;
29
  cursor: pointer;
 
30
  }
31
 
32
  @media only screen and (min-width: 768px){
27
  position: absolute;
28
  font-weight: bold;
29
  cursor: pointer;
30
+ min-width: 1em;
31
  }
32
 
33
  @media only screen and (min-width: 768px){
classes/migrate.php CHANGED
@@ -275,8 +275,9 @@ class EModal_Migrate_Pre_V2 {
275
 
276
  if($settings['login_modal_enabled'])
277
  {
278
- if(!empty($login_modal))
279
  {
 
280
  $new_login_modal->set_fields(array(
281
  'name' => 'Login Modal',
282
  'meta' => array(
@@ -286,8 +287,9 @@ class EModal_Migrate_Pre_V2 {
286
  $new_login_modal->save();
287
  $login_modal = $new_login_modal->id;
288
  }
289
- if(!empty($register_modal))
290
  {
 
291
  $new_registration_modal->set_fields(array(
292
  'name' => 'Registration Modal',
293
  'meta' => array(
@@ -297,8 +299,9 @@ class EModal_Migrate_Pre_V2 {
297
  $new_registration_modal->save();
298
  $register_modal = $new_registration_modal->id;
299
  }
300
- if(!empty($forgot_modal))
301
  {
 
302
  $new_forgot_modal->set_fields(array(
303
  'name' => 'Forgot Password Modal',
304
  'meta' => array(
275
 
276
  if($settings['login_modal_enabled'])
277
  {
278
+ if(empty($login_modal))
279
  {
280
+ $new_login_modal = new EModal_Model_Modal;
281
  $new_login_modal->set_fields(array(
282
  'name' => 'Login Modal',
283
  'meta' => array(
287
  $new_login_modal->save();
288
  $login_modal = $new_login_modal->id;
289
  }
290
+ if(empty($register_modal))
291
  {
292
+ $new_registration_modal = new EModal_Model_Modal;
293
  $new_registration_modal->set_fields(array(
294
  'name' => 'Registration Modal',
295
  'meta' => array(
299
  $new_registration_modal->save();
300
  $register_modal = $new_registration_modal->id;
301
  }
302
+ if(empty($forgot_modal))
303
  {
304
+ $new_forgot_modal = new EModal_Model_Modal;
305
  $new_forgot_modal->set_fields(array(
306
  'name' => 'Forgot Password Modal',
307
  'meta' => array(
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.5
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.5' );
25
  if (!defined('EMCORE_DB_VERSION'))
26
  define('EMCORE_DB_VERSION', '1' );
27
  if (!defined('EMCORE_API_URL'))
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.6
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.6' );
25
  if (!defined('EMCORE_DB_VERSION'))
26
  define('EMCORE_DB_VERSION', '1' );
27
  if (!defined('EMCORE_API_URL'))
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.5
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.6
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.