Version Description
Download this release
Release Info
Developer | danieliser |
Plugin | Easy Modal |
Version | 1.1.9.7 |
Comparing to | |
See all releases |
Code changes from version 1.1.9.6 to 1.1.9.7
- easy-modal.php +10 -11
- readme.txt +1 -1
easy-modal.php
CHANGED
@@ -4,12 +4,9 @@ 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.
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
10 |
-
if (is_admin() && ! function_exists( 'get_plugin_data' ) )
|
11 |
-
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
12 |
-
|
13 |
add_action('admin_init', '_disable_older_versions', 1 );
|
14 |
function _disable_older_versions()
|
15 |
{
|
@@ -21,6 +18,7 @@ function _disable_older_versions()
|
|
21 |
/* Change Begin */
|
22 |
class Easy_Modal {
|
23 |
var $Plugin = array(
|
|
|
24 |
'name' => 'Easy Modal',
|
25 |
'slug' => 'easy-modal',
|
26 |
'short'=> 'EasyModal'
|
@@ -32,8 +30,6 @@ 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 |
-
add_action('init', array(&$this,'_activation'),9);
|
36 |
-
add_action('init', array(&$this,'_migrate'),10);
|
37 |
|
38 |
// Add WPMU Support
|
39 |
// Add default options on new site creation.
|
@@ -41,12 +37,14 @@ class Easy_Modal {
|
|
41 |
|
42 |
if (is_admin())
|
43 |
{
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
46 |
add_action('admin_menu', array(&$this, '_menus') );
|
47 |
|
48 |
add_filter( 'plugin_action_links', array(&$this, '_actionLinks') , 10, 2 );
|
49 |
-
register_activation_hook(__FILE__, array(&$this, '_activation'));
|
50 |
add_filter('mce_buttons_2', array(&$this, '_TinyMCEButtons'), 999);
|
51 |
add_filter('tiny_mce_before_init', array(&$this, '_TinyMCEInit'));
|
52 |
}
|
@@ -222,7 +220,7 @@ class Easy_Modal {
|
|
222 |
{
|
223 |
$this->resetOptions();
|
224 |
}
|
225 |
-
update_option('EasyModal_Version', $this->Plugin['
|
226 |
restore_current_blog();
|
227 |
}
|
228 |
public function resetOptions()
|
@@ -701,6 +699,7 @@ class Easy_Modal {
|
|
701 |
}
|
702 |
public function enqueue_themes()
|
703 |
{
|
|
|
704 |
$settings = array(
|
705 |
1 => $this->getThemeSettings(1)
|
706 |
);
|
@@ -712,7 +711,7 @@ class Easy_Modal {
|
|
712 |
{
|
713 |
$args = new stdClass;
|
714 |
$args->slug = $this->Plugin['slug'];
|
715 |
-
$args->version = $this->Plugin['
|
716 |
$request_string = $this->uopdate_request('license_check', $args);
|
717 |
$request = wp_remote_post($this->api_url, $request_string);
|
718 |
if (is_wp_error($request))
|
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.7
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
|
|
|
|
|
|
10 |
add_action('admin_init', '_disable_older_versions', 1 );
|
11 |
function _disable_older_versions()
|
12 |
{
|
18 |
/* Change Begin */
|
19 |
class Easy_Modal {
|
20 |
var $Plugin = array(
|
21 |
+
'version' => '1.1.9.7',
|
22 |
'name' => 'Easy Modal',
|
23 |
'slug' => 'easy-modal',
|
24 |
'short'=> 'EasyModal'
|
30 |
$this->Plugin['dir'] = PLUGINDIR.'/'. dirname( plugin_basename(__FILE__));
|
31 |
$this->Plugin['url'] = trailingslashit (get_bloginfo('wpurl') ).PLUGINDIR.'/'. dirname( plugin_basename(__FILE__) );
|
32 |
|
|
|
|
|
33 |
|
34 |
// Add WPMU Support
|
35 |
// Add default options on new site creation.
|
37 |
|
38 |
if (is_admin())
|
39 |
{
|
40 |
+
|
41 |
+
add_action('init', array(&$this,'_activation'),9);
|
42 |
+
add_action('init', array(&$this,'_migrate'),10);
|
43 |
+
register_activation_hook(__FILE__, array(&$this, '_activation'));
|
44 |
+
|
45 |
add_action('admin_menu', array(&$this, '_menus') );
|
46 |
|
47 |
add_filter( 'plugin_action_links', array(&$this, '_actionLinks') , 10, 2 );
|
|
|
48 |
add_filter('mce_buttons_2', array(&$this, '_TinyMCEButtons'), 999);
|
49 |
add_filter('tiny_mce_before_init', array(&$this, '_TinyMCEInit'));
|
50 |
}
|
220 |
{
|
221 |
$this->resetOptions();
|
222 |
}
|
223 |
+
update_option('EasyModal_Version', $this->Plugin['version']);
|
224 |
restore_current_blog();
|
225 |
}
|
226 |
public function resetOptions()
|
699 |
}
|
700 |
public function enqueue_themes()
|
701 |
{
|
702 |
+
|
703 |
$settings = array(
|
704 |
1 => $this->getThemeSettings(1)
|
705 |
);
|
711 |
{
|
712 |
$args = new stdClass;
|
713 |
$args->slug = $this->Plugin['slug'];
|
714 |
+
$args->version = $this->Plugin['version'];
|
715 |
$request_string = $this->uopdate_request('license_check', $args);
|
716 |
$request = wp_remote_post($this->api_url, $request_string);
|
717 |
if (is_wp_error($request))
|
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.
|
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.7
|
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 |
|