Hotjar - Version 1.0.2

Version Description

Download this release

Release Info

Developer hotjar
Plugin Icon wp plugin Hotjar
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

Files changed (3) hide show
  1. admin/views/settings.php +6 -6
  2. hotjar.php +2 -2
  3. readme.txt +4 -4
admin/views/settings.php CHANGED
@@ -9,11 +9,11 @@
9
 
10
  <?php if ( get_option('hotjar_site_id') == '' ): ?>
11
  <div id="message" class="notice notice-warning is-dismissible">
12
- <p><strong><?php echo sprintf( __('Hotjar script is disabled.') ); ?></strong></p>
13
  </div>
14
  <?php else: ?>
15
  <div id="message" class="notice notice-success is-dismissible">
16
- <p><strong><?php echo sprintf( __('Hotjar script installed for Site ID ' . get_option('hotjar_site_id') . '. <a href="%s" target="_blank">Click here to verify your install</a>.'), get_site_url() . '?hjVerifyInstall=' . get_option('hotjar_site_id') ); ?></strong></p>
17
  </div>
18
  <?php endif; ?>
19
 
@@ -24,7 +24,7 @@
24
 
25
  <div class="wp-header">
26
  <img src="<?php echo plugins_url( '../static/hotjar_logo_2x.png', __FILE__ ); ?>" alt="Hotjar" class="hotjar-logo">
27
- <img src="<?php echo plugins_url( '../static/tagline_2x.png', __FILE__ ); ?>" alt="<?php echo __('The fast & visual way to understand your users.'); ?>" class="hotjar-tagline">
28
  </div>
29
 
30
 
@@ -36,16 +36,16 @@
36
  <div id="hotjar-form-area">
37
  <p><?php
38
  $url = 'https://insights.hotjar.com/site/list';
39
- $link = sprintf( wp_kses( __( 'Visit your <a href="%s" target="_blank">Hotjar site list</a> to find your unique Hotjar ID.', 'wp-hotjar' ), array( 'a' => array( 'href' => array(), 'target' => '_blank' ) ) ), esc_url( $url ) );
40
  echo $link;
41
  ?></p>
42
- <p><?php echo sprintf( __('Input your Hotjar ID into the field below to connect your Hotjar and WordPress accounts.')); ?></p>
43
 
44
  <table class="form-table">
45
  <tbody>
46
  <tr>
47
  <th scope="row">
48
- <label for="hotjar_site_id"><?php esc_html_e( 'Hotjar ID', 'hotjar' ); ?></label>
49
  </th>
50
 
51
  <td>
9
 
10
  <?php if ( get_option('hotjar_site_id') == '' ): ?>
11
  <div id="message" class="notice notice-warning is-dismissible">
12
+ <p><strong><?php _e('Hotjar script is disabled.', 'hotjar'); ?></strong></p>
13
  </div>
14
  <?php else: ?>
15
  <div id="message" class="notice notice-success is-dismissible">
16
+ <p><strong><?php echo sprintf( __('Hotjar script installed for Site ID %s <a href="%s" target="_blank">Click here to verify your install</a>.', 'hotjar'), get_option('hotjar_site_id'), get_site_url() . '?hjVerifyInstall=' . get_option('hotjar_site_id') ); ?></strong></p>
17
  </div>
18
  <?php endif; ?>
19
 
24
 
25
  <div class="wp-header">
26
  <img src="<?php echo plugins_url( '../static/hotjar_logo_2x.png', __FILE__ ); ?>" alt="Hotjar" class="hotjar-logo">
27
+ <img src="<?php echo plugins_url( '../static/tagline_2x.png', __FILE__ ); ?>" alt="<?php echo __('The fast & visual way to understand your users.', 'hotjar'); ?>" class="hotjar-tagline">
28
  </div>
29
 
30
 
36
  <div id="hotjar-form-area">
37
  <p><?php
38
  $url = 'https://insights.hotjar.com/site/list';
39
+ $link = sprintf( wp_kses( __( 'Visit your <a href="%s" target="_blank">Hotjar site list</a> to find your unique Hotjar ID.', 'hotjar'), array( 'a' => array( 'href' => array(), 'target' => '_blank' ) ) ), esc_url( $url ) );
40
  echo $link;
41
  ?></p>
42
+ <p><?php _e('Input your Hotjar ID into the field below to connect your Hotjar and WordPress accounts.', 'hotjar'); ?></p>
43
 
44
  <table class="form-table">
45
  <tbody>
46
  <tr>
47
  <th scope="row">
48
+ <label for="hotjar_site_id"><?php esc_html_e( 'Hotjar ID', 'hotjar'); ?></label>
49
  </th>
50
 
51
  <td>
hotjar.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: The fast & visual way to understand your users.
5
  * Author: Hotjar
6
  * Author URI: https://www.hotjar.com/
7
- * Version: 1.0.1
8
  * License: GPLv3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
  * Text Domain: hotjar
@@ -26,7 +26,7 @@ function hotjar_plugin_init() {
26
  /**
27
  * @var Const Plugin Version Number
28
  */
29
- const VERSION = '1.0.0';
30
 
31
  /**
32
  * @var Singleton The reference the *Singleton* instance of this class
4
  * Description: The fast & visual way to understand your users.
5
  * Author: Hotjar
6
  * Author URI: https://www.hotjar.com/
7
+ * Version: 1.0.2
8
  * License: GPLv3
9
  * License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10
  * Text Domain: hotjar
26
  /**
27
  * @var Const Plugin Version Number
28
  */
29
+ const VERSION = '1.0.2';
30
 
31
  /**
32
  * @var Singleton The reference the *Singleton* instance of this class
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === Hotjar ===
2
  Contributors: hotjar
3
  Tags: hotjar,insights,visual,heatmaps,recordings,funnels,analytics
4
- Requires at least: 3.0.1
5
  Tested up to: 5.0.0
6
- Stable tag: 1.0.1
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
9
 
@@ -52,7 +52,7 @@ For more information on getting started with Hotjar [visit our help center](http
52
 
53
  = What are the Hotjar Terms of Service? =
54
 
55
- The full [terms of service are available here](https://www.hotjar.com/legal/policies/terms-of-service) together with other legal and privacy documentation. If you have further questions do not hesitate to reach our to our support.
56
 
57
  = Is Hotjar GDPR compliant? =
58
 
1
+ === Hotjar [Official] ===
2
  Contributors: hotjar
3
  Tags: hotjar,insights,visual,heatmaps,recordings,funnels,analytics
4
+ Requires at least: 4.6
5
  Tested up to: 5.0.0
6
+ Stable tag: 1.0.2
7
  License: GPLv3
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
9
 
52
 
53
  = What are the Hotjar Terms of Service? =
54
 
55
+ The full [terms of service are available here](https://www.hotjar.com/legal/policies/terms-of-service) together with other legal and privacy documentation. If you have further questions do not hesitate to reach out to our support.
56
 
57
  = Is Hotjar GDPR compliant? =
58