Version Description
Download this release
Release Info
Developer | namith.jawahar |
Plugin | Wp-Insert |
Version | 2.4.5 |
Comparing to | |
See all releases |
Code changes from version 2.4.4 to 2.4.5
- includes/modules/core/controlpanel/module.php +10 -3
- readme.txt +1 -1
- wp-insert.php +1 -1
includes/modules/core/controlpanel/module.php
CHANGED
@@ -13,7 +13,7 @@ function wp_insert_admin_menu() {
|
|
13 |
add_menu_page('Wp Insert', 'Wp Insert', 'manage_options', 'wp-insert', 'wp_insert_admin_page', WP_INSERT_URL.'/includes/assets/images/icon.png');
|
14 |
}
|
15 |
|
16 |
-
add_action('admin_enqueue_scripts', 'wp_insert_admin_enqueue_scripts');
|
17 |
function wp_insert_admin_enqueue_scripts($page) {
|
18 |
wp_register_script('wp-insert-global-js', WP_INSERT_URL.'includes/assets/js/wp-insert-global.js', array('jquery'), WP_INSERT_VERSION);
|
19 |
wp_enqueue_script('wp-insert-global-js');
|
@@ -22,9 +22,9 @@ function wp_insert_admin_enqueue_scripts($page) {
|
|
22 |
wp_enqueue_style('wp-insert-css');
|
23 |
wp_register_style('wp-insert-jquery-ui', 'https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css', array(), WP_INSERT_VERSION);
|
24 |
wp_enqueue_style('wp-insert-jquery-ui');
|
25 |
-
wp_register_script('wp-insert-js', WP_INSERT_URL.'includes/assets/js/wp-insert.js', array('jquery', 'jquery-ui-core', 'jquery-ui-accordion', 'jquery-ui-dialog'), WP_INSERT_VERSION.rand(0,9999));
|
26 |
wp_enqueue_script('wp-insert-js');
|
27 |
-
wp_register_script('chart-js', WP_INSERT_URL.'includes/assets/js/Chart.bundle.min.js', array('jquery'), WP_INSERT_VERSION);
|
28 |
wp_enqueue_script('chart-js');
|
29 |
do_action('wp_insert_modules_css');
|
30 |
do_action('wp_insert_modules_js');
|
@@ -32,6 +32,13 @@ function wp_insert_admin_enqueue_scripts($page) {
|
|
32 |
wp_enqueue_script('editor');
|
33 |
wp_enqueue_script('quicktags');
|
34 |
wp_enqueue_style('buttons');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
}
|
37 |
|
13 |
add_menu_page('Wp Insert', 'Wp Insert', 'manage_options', 'wp-insert', 'wp_insert_admin_page', WP_INSERT_URL.'/includes/assets/images/icon.png');
|
14 |
}
|
15 |
|
16 |
+
add_action('admin_enqueue_scripts', 'wp_insert_admin_enqueue_scripts', 99999);
|
17 |
function wp_insert_admin_enqueue_scripts($page) {
|
18 |
wp_register_script('wp-insert-global-js', WP_INSERT_URL.'includes/assets/js/wp-insert-global.js', array('jquery'), WP_INSERT_VERSION);
|
19 |
wp_enqueue_script('wp-insert-global-js');
|
22 |
wp_enqueue_style('wp-insert-css');
|
23 |
wp_register_style('wp-insert-jquery-ui', 'https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css', array(), WP_INSERT_VERSION);
|
24 |
wp_enqueue_style('wp-insert-jquery-ui');
|
25 |
+
wp_register_script('wp-insert-js', WP_INSERT_URL.'includes/assets/js/wp-insert.js', array('jquery', 'jquery-ui-core', 'jquery-ui-accordion', 'jquery-ui-dialog'), WP_INSERT_VERSION.rand(0,9999), true);
|
26 |
wp_enqueue_script('wp-insert-js');
|
27 |
+
wp_register_script('chart-js', WP_INSERT_URL.'includes/assets/js/Chart.bundle.min.js', array('jquery'), WP_INSERT_VERSION, true);
|
28 |
wp_enqueue_script('chart-js');
|
29 |
do_action('wp_insert_modules_css');
|
30 |
do_action('wp_insert_modules_js');
|
32 |
wp_enqueue_script('editor');
|
33 |
wp_enqueue_script('quicktags');
|
34 |
wp_enqueue_style('buttons');
|
35 |
+
/*Page Links To Plugin incompatible code override*/
|
36 |
+
wp_dequeue_style('wp-jquery-ui-dialog');
|
37 |
+
wp_dequeue_script('plt-quick-add');
|
38 |
+
wp_dequeue_style('plt-quick-add');
|
39 |
+
wp_deregister_style('wp-jquery-ui-dialog');
|
40 |
+
wp_deregister_script('plt-quick-add');
|
41 |
+
wp_deregister_style('plt-quick-add');
|
42 |
}
|
43 |
}
|
44 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: google adsense, adsense, google ads, google analytics, privacy policy, bes
|
|
4 |
Donate link: http://wpinsert.smartlogix.co.in/support/
|
5 |
Requires at least: 4.1.0
|
6 |
Tested up to: 4.9.8
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Donate link: http://wpinsert.smartlogix.co.in/support/
|
5 |
Requires at least: 4.1.0
|
6 |
Tested up to: 4.9.8
|
7 |
+
Stable tag: 2.4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
wp-insert.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Wp-Insert
|
4 |
Plugin URI: http://www.wp-insert.smartlogix.co.in/
|
5 |
Description: WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
|
6 |
-
Version: 2.4.
|
7 |
Author: Namith Jawahar
|
8 |
Author URI: http://www.smartlogix.co.in/
|
9 |
WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
|
3 |
Plugin Name: Wp-Insert
|
4 |
Plugin URI: http://www.wp-insert.smartlogix.co.in/
|
5 |
Description: WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
|
6 |
+
Version: 2.4.5
|
7 |
Author: Namith Jawahar
|
8 |
Author URI: http://www.smartlogix.co.in/
|
9 |
WP-INSERT by SMARTLOGIX : The Ultimate Adsense / Ad-Management Plugin for WordPress
|