Version Description
- Fix bug enqueing scripts
Download this release
Release Info
Developer | vikinguard |
Plugin | Vikinguard |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- readme.txt +5 -2
- vikinguard.php +6 -1
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: vikinguard
|
3 |
Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability
|
4 |
Requires at least: 2.1
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.2.
|
7 |
|
8 |
With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
|
9 |
|
@@ -54,4 +54,7 @@ Vikinguard uses a JavaScript snippet to collect performance data from the users
|
|
54 |
= 1.2.0 =
|
55 |
* Sign up bug fixed.
|
56 |
|
|
|
|
|
|
|
57 |
|
2 |
Contributors: vikinguard
|
3 |
Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability
|
4 |
Requires at least: 2.1
|
5 |
+
Tested up to: 4.5
|
6 |
+
Stable tag: 1.2.1
|
7 |
|
8 |
With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
|
9 |
|
54 |
= 1.2.0 =
|
55 |
* Sign up bug fixed.
|
56 |
|
57 |
+
= 1.2.1 =
|
58 |
+
* Fix bug enqueing scripts
|
59 |
+
|
60 |
|
vikinguard.php
CHANGED
@@ -7,7 +7,11 @@
|
|
7 |
* Version: 1.2.0
|
8 |
* Author URI: https://www.vikinguard.com
|
9 |
*/
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
|
12 |
// Make sure we don't expose any info if called directly
|
13 |
if (! function_exists ( 'add_action' )) {
|
@@ -294,6 +298,7 @@ add_action ( 'wp_head', 'add_Vikinguard_header' );
|
|
294 |
|
295 |
if (is_admin ()) {
|
296 |
load_plugin_textdomain ( 'Vikinguard', false, dirname ( plugin_basename ( __FILE__ ) ) . '/i18n' );
|
|
|
297 |
add_action ( 'admin_menu', 'add_Vikinguard_admin_page' );
|
298 |
add_filter ( 'plugin_action_links_' . plugin_basename ( __FILE__ ), 'add_Vikinguard_action_links' );
|
299 |
}
|
7 |
* Version: 1.2.0
|
8 |
* Author URI: https://www.vikinguard.com
|
9 |
*/
|
10 |
+
|
11 |
+
function wpb_adding_heimdal_scripts() {
|
12 |
+
wp_register_script('heimdal', plugins_url ( 'heimdal.js', __FILE__ ));
|
13 |
+
wp_enqueue_script('heimdal');
|
14 |
+
}
|
15 |
|
16 |
// Make sure we don't expose any info if called directly
|
17 |
if (! function_exists ( 'add_action' )) {
|
298 |
|
299 |
if (is_admin ()) {
|
300 |
load_plugin_textdomain ( 'Vikinguard', false, dirname ( plugin_basename ( __FILE__ ) ) . '/i18n' );
|
301 |
+
add_action( 'admin_enqueue_scripts', 'wpb_adding_heimdal_scripts' );
|
302 |
add_action ( 'admin_menu', 'add_Vikinguard_admin_page' );
|
303 |
add_filter ( 'plugin_action_links_' . plugin_basename ( __FILE__ ), 'add_Vikinguard_action_links' );
|
304 |
}
|