Easy Modal - Version 1.1.9.5

Version Description

Download this release

Release Info

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

Code changes from version 1.1.9.4 to 1.1.9.5

Files changed (2) hide show
  1. easy-modal.php +6 -18
  2. readme.txt +1 -1
easy-modal.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Modal
4
  Plugin URI: http://wizardinternetsolutions.com/plugins/easy-modal/
5
  Description: Easy Modal allows you to easily add just about any shortcodes or other content into a modal window. This includes forms such as CF7.
6
  Author: Wizard Internet Solutions
7
- Version: 1.1.9.4
8
  Author URI: http://wizardinternetsolutions.com
9
  */
10
  if (is_admin() && ! function_exists( 'get_plugin_data' ) )
@@ -32,7 +32,7 @@ class Easy_Modal {
32
  $this->Plugin['dir'] = PLUGINDIR.'/'. dirname( plugin_basename(__FILE__));
33
  $this->Plugin['url'] = trailingslashit (get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
34
 
35
- $this->_migrate();
36
 
37
  // Add WPMU Support
38
  // Add default options on new site creation.
@@ -197,7 +197,6 @@ class Easy_Modal {
197
  $this->resetOptions();
198
  }
199
  update_option('EasyModal_Version', $this->Plugin['info']['Version']);
200
- $this->_migrate();
201
  }
202
  public function _migrate()
203
  {
@@ -227,21 +226,6 @@ class Easy_Modal {
227
  $this->resetOptions();
228
  }
229
  update_option('EasyModal_Version', $this->Plugin['info']['Version']);
230
- // detect EM Free
231
- if(get_option('eM_version'))
232
- {
233
- $this->_migrate_EM();
234
- }
235
- // detect EM Lite
236
- if(get_option('EasyModalLite_Version'))
237
- {
238
- $this->_migrate_EM_Lite();
239
- }
240
- // detect EM Lite
241
- if(get_option('EasyModalPro_Version'))
242
- {
243
- $this->_migrate_EM_Pro();
244
- }
245
  restore_current_blog();
246
  }
247
  public function resetOptions()
@@ -272,7 +256,9 @@ class Easy_Modal {
272
  {
273
  wp_enqueue_style($this->Plugin['slug'].'-admin-styles', $this->Plugin['url'].'/inc/css/admin-styles.min.css');
274
  }
 
275
  }
 
276
  public function _scripts()
277
  {
278
  wp_enqueue_script('jquery');
@@ -392,6 +378,7 @@ class Easy_Modal {
392
  if (isset($autoOpen))
393
  {
394
  $settings['autoOpen'] = $autoOpen;
 
395
  }
396
  else
397
  {
@@ -565,6 +552,7 @@ class Easy_Modal {
565
  }
566
  /* Theme Functions */
567
  public function theme_page()
 
568
  {
569
  require_once('/inc/themes.php');
570
  }
4
  Plugin URI: http://wizardinternetsolutions.com/plugins/easy-modal/
5
  Description: Easy Modal allows you to easily add just about any shortcodes or other content into a modal window. This includes forms such as CF7.
6
  Author: Wizard Internet Solutions
7
+ Version: 1.1.9.5
8
  Author URI: http://wizardinternetsolutions.com
9
  */
10
  if (is_admin() && ! function_exists( 'get_plugin_data' ) )
32
  $this->Plugin['dir'] = PLUGINDIR.'/'. dirname( plugin_basename(__FILE__));
33
  $this->Plugin['url'] = trailingslashit (get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
34
 
35
+ add_action('admin_init', array(&$this,'_migrate'));
36
 
37
  // Add WPMU Support
38
  // Add default options on new site creation.
197
  $this->resetOptions();
198
  }
199
  update_option('EasyModal_Version', $this->Plugin['info']['Version']);
 
200
  }
201
  public function _migrate()
202
  {
226
  $this->resetOptions();
227
  }
228
  update_option('EasyModal_Version', $this->Plugin['info']['Version']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  restore_current_blog();
230
  }
231
  public function resetOptions()
256
  {
257
  wp_enqueue_style($this->Plugin['slug'].'-admin-styles', $this->Plugin['url'].'/inc/css/admin-styles.min.css');
258
  }
259
+
260
  }
261
+
262
  public function _scripts()
263
  {
264
  wp_enqueue_script('jquery');
378
  if (isset($autoOpen))
379
  {
380
  $settings['autoOpen'] = $autoOpen;
381
+
382
  }
383
  else
384
  {
552
  }
553
  /* Theme Functions */
554
  public function theme_page()
555
+
556
  {
557
  require_once('/inc/themes.php');
558
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: modal, contact form 7, ajax, gravity forms, ajax form
5
  Requires at least: 3.0.1
6
  Tested up to: 3.5.2
7
- Stable tag: 1.1.9.4
8
 
9
  This plugin allows you to easily add a Modal window with just about any content including Contact Form 7 using ajax submission.
10
 
4
  Tags: modal, contact form 7, ajax, gravity forms, ajax form
5
  Requires at least: 3.0.1
6
  Tested up to: 3.5.2
7
+ Stable tag: 1.1.9.5
8
 
9
  This plugin allows you to easily add a Modal window with just about any content including Contact Form 7 using ajax submission.
10