Clicky by Yoast - Version 1.9

Version Description

  • Updated required PHP version to 5.6.
  • Lots of code style and escaping improvements.
  • Fixes a PHP warning for a file that's not found in some setups, props Miller Media.
Download this release

Release Info

Developer Yoast
Plugin Icon 128x128 Clicky by Yoast
Version 1.9
Comparing to
See all releases

Code changes from version 1.8 to 1.9

admin/class-clicky-admin-page.php CHANGED
@@ -77,7 +77,7 @@ class Clicky_Admin_Page extends Clicky_Admin {
77
  $rss = fetch_feed( $feed );
78
 
79
  if ( is_wp_error( $rss ) ) {
80
- $rss = '<li class="yoast">' . __( 'No news items, feed might be broken...', 'clicky' ) . '</li>';
81
  }
82
  else {
83
  $rss_items = $rss->get_items( 0, $rss->get_item_quantity( 3 ) );
@@ -86,14 +86,14 @@ class Clicky_Admin_Page extends Clicky_Admin {
86
  foreach ( $rss_items as $item ) {
87
  $url = preg_replace( '/#.*/', '', esc_url( $item->get_permalink(), $protocolls = null, 'display' ) );
88
  $rss .= '<li class="yoast">';
89
- $rss .= '<a href="' . $url . '#utm_source=wpadmin&utm_medium=sidebarwidget&utm_term=newsitem&utm_campaign=clickywpplugin">' . $item->get_title() . '</a> ';
90
  $rss .= '</li>';
91
  }
92
  }
93
 
94
  $content = '<ul>';
95
  $content .= $rss;
96
- $content .= '<li class="rss"><a href="' . $feed . '">' . __( 'Subscribe with RSS', 'clicky' ) . '</a></li>';
97
  $content .= $extra_links;
98
  $content .= '</ul>';
99
 
@@ -111,9 +111,9 @@ class Clicky_Admin_Page extends Clicky_Admin {
111
  * Box with latest news from Yoast.com for sidebar.
112
  */
113
  private function yoast_news() {
114
- $extra_links = '<li class="facebook"><a href="https://www.facebook.com/yoast">' . __( 'Like Yoast on Facebook', 'clicky' ) . '</a></li>';
115
- $extra_links .= '<li class="twitter"><a href="https://twitter.com/yoast">' . __( 'Follow Yoast on Twitter', 'clicky' ) . '</a></li>';
116
- $extra_links .= '<li class="email"><a href="https://yoast.com/newsletter/">' . __( 'Subscribe by email', 'clicky' ) . '</a></li>';
117
 
118
  $this->rss_news( 'https://yoast.com/feed/', __( 'Latest news from Yoast', 'clicky' ), $extra_links );
119
  }
77
  $rss = fetch_feed( $feed );
78
 
79
  if ( is_wp_error( $rss ) ) {
80
+ $rss = '<li class="yoast">' . esc_html__( 'No news items, feed might be broken...', 'clicky' ) . '</li>';
81
  }
82
  else {
83
  $rss_items = $rss->get_items( 0, $rss->get_item_quantity( 3 ) );
86
  foreach ( $rss_items as $item ) {
87
  $url = preg_replace( '/#.*/', '', esc_url( $item->get_permalink(), $protocolls = null, 'display' ) );
88
  $rss .= '<li class="yoast">';
89
+ $rss .= '<a href="' . esc_url( $url . '#utm_source=wpadmin&utm_medium=sidebarwidget&utm_term=newsitem&utm_campaign=clickywpplugin' ) . '">' . $item->get_title() . '</a> ';
90
  $rss .= '</li>';
91
  }
92
  }
93
 
94
  $content = '<ul>';
95
  $content .= $rss;
96
+ $content .= '<li class="rss"><a href="' . esc_url( $feed ) . '">' . esc_html__( 'Subscribe with RSS', 'clicky' ) . '</a></li>';
97
  $content .= $extra_links;
98
  $content .= '</ul>';
99
 
111
  * Box with latest news from Yoast.com for sidebar.
112
  */
113
  private function yoast_news() {
114
+ $extra_links = '<li class="facebook"><a href="https://www.facebook.com/yoast">' . esc_html__( 'Like Yoast on Facebook', 'clicky' ) . '</a></li>';
115
+ $extra_links .= '<li class="twitter"><a href="https://twitter.com/yoast">' . esc_html__( 'Follow Yoast on Twitter', 'clicky' ) . '</a></li>';
116
+ $extra_links .= '<li class="email"><a href="https://yoast.com/newsletter/">' . esc_html__( 'Subscribe by email', 'clicky' ) . '</a></li>';
117
 
118
  $this->rss_news( 'https://yoast.com/feed/', __( 'Latest news from Yoast', 'clicky' ), $extra_links );
119
  }
admin/class-clicky-admin.php CHANGED
@@ -150,7 +150,7 @@ class Clicky_Admin {
150
  public function insert_post( $post_id ) {
151
  $clicky_goal = array(
152
  'id' => (int) filter_input( INPUT_POST, 'clicky_goal_id' ),
153
- 'value' => floatval( filter_input( INPUT_POST, 'clicky_goal_value' ) ),
154
  );
155
  update_post_meta( $post_id, '_clicky_goal', $clicky_goal );
156
  }
@@ -182,7 +182,7 @@ class Clicky_Admin {
182
  $this_plugin = CLICKY_PLUGIN_FILE;
183
  }
184
  if ( $file === $this_plugin ) {
185
- $settings_link = '<a href="' . $this->plugin_options_url() . '">' . __( 'Settings', 'clicky' ) . '</a>';
186
  array_unshift( $links, $settings_link );
187
  }
188
 
150
  public function insert_post( $post_id ) {
151
  $clicky_goal = array(
152
  'id' => (int) filter_input( INPUT_POST, 'clicky_goal_id' ),
153
+ 'value' => (float) filter_input( INPUT_POST, 'clicky_goal_value' ),
154
  );
155
  update_post_meta( $post_id, '_clicky_goal', $clicky_goal );
156
  }
182
  $this_plugin = CLICKY_PLUGIN_FILE;
183
  }
184
  if ( $file === $this_plugin ) {
185
+ $settings_link = '<a href="' . esc_url( $this->plugin_options_url() ) . '">' . esc_html__( 'Settings', 'clicky' ) . '</a>';
186
  array_unshift( $links, $settings_link );
187
  }
188
 
admin/views/admin-page.php CHANGED
@@ -7,7 +7,7 @@
7
 
8
  ?><div class="wrap">
9
  <h2>
10
- <img id="plugin_icon" src="<?php echo esc_url( CLICKY_PLUGIN_DIR_URL ); ?>images/clicky-32x32.png" class="alignleft" /> Clicky <?php esc_html_e( 'Configuration', 'clicky' ); ?>
11
  </h2>
12
 
13
  <form action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
7
 
8
  ?><div class="wrap">
9
  <h2>
10
+ <img id="plugin_icon" src="<?php echo esc_url( CLICKY_PLUGIN_DIR_URL . 'images/clicky-32x32.png' ); ?>" class="alignleft" /> Clicky <?php esc_html_e( 'Configuration', 'clicky' ); ?>
11
  </h2>
12
 
13
  <form action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>" method="post">
admin/views/meta-box.php CHANGED
@@ -10,7 +10,7 @@
10
  printf(
11
  /* translators: 1: link open tag to clicky website tracking page; 2: link close tag. */
12
  esc_html__( 'Clicky can track Goals for you too, %1$syou can create them here%2$s. To be able to track a goal on this post, you need to specify the goal ID here. Optionally, you can also provide the goal revenue.', 'clicky' ),
13
- '<a target="_blank" href="https://clicky.com/stats/goals-setup?site_id=' . esc_attr( $this->options['site_id'] ) . '">',
14
  '</a>'
15
  );
16
  ?>
10
  printf(
11
  /* translators: 1: link open tag to clicky website tracking page; 2: link close tag. */
12
  esc_html__( 'Clicky can track Goals for you too, %1$syou can create them here%2$s. To be able to track a goal on this post, you need to specify the goal ID here. Optionally, you can also provide the goal revenue.', 'clicky' ),
13
+ '<a target="_blank" href="' . esc_url( 'https://clicky.com/stats/goals-setup?site_id=' . $this->options['site_id'] ) . '">',
14
  '</a>'
15
  );
16
  ?>
clicky.php CHANGED
@@ -8,7 +8,7 @@
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: Clicky for WordPress
11
- * Version: 1.8
12
  * Plugin URI: https://yoast.com/wordpress/plugins/clicky/
13
  * Description: The Clicky for WordPress plugin by Yoast makes it easy for you to add your Clicky analytics tracking code to your WordPress install, while also giving you some advanced tracking options.
14
  * Author: Team Yoast
@@ -23,7 +23,7 @@ if ( ! function_exists( 'add_filter' ) ) {
23
  }
24
 
25
  define( 'CLICKY_PLUGIN_FILE', __FILE__ );
26
- define( 'CLICKY_PLUGIN_VERSION', '1.8' );
27
  define( 'CLICKY_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
28
  define( 'CLICKY_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
29
 
8
  *
9
  * @wordpress-plugin
10
  * Plugin Name: Clicky for WordPress
11
+ * Version: 1.9
12
  * Plugin URI: https://yoast.com/wordpress/plugins/clicky/
13
  * Description: The Clicky for WordPress plugin by Yoast makes it easy for you to add your Clicky analytics tracking code to your WordPress install, while also giving you some advanced tracking options.
14
  * Author: Team Yoast
23
  }
24
 
25
  define( 'CLICKY_PLUGIN_FILE', __FILE__ );
26
+ define( 'CLICKY_PLUGIN_VERSION', '1.9' );
27
  define( 'CLICKY_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
28
  define( 'CLICKY_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
29
 
frontend/class-clicky-visitor-graph.php CHANGED
@@ -109,7 +109,7 @@ class Clicky_Visitor_Graph {
109
 
110
  echo "\n";
111
  echo "<style type='text/css'>\n";
112
- include CLICKY_PLUGIN_DIR_PATH . '/css/adminbar' . $ext;
113
  echo "\n";
114
  echo "</style>\n";
115
  }
109
 
110
  echo "\n";
111
  echo "<style type='text/css'>\n";
112
+ readfile( CLICKY_PLUGIN_DIR_PATH . 'css/adminbar' . $ext );
113
  echo "\n";
114
  echo "</style>\n";
115
  }
frontend/views/comment-author-script.php CHANGED
@@ -16,6 +16,6 @@
16
  }
17
  return '';
18
  }
19
- var username_check = clicky_gc('comment_author_<?php echo esc_attr( md5( get_option( 'siteurl' ) ) ); ?>');
20
  if (username_check) var clicky_custom_session = {username: username_check};
21
  </script>
16
  }
17
  return '';
18
  }
19
+ var username_check = clicky_gc('<?php echo wp_json_encode( 'comment_author_' . md5( get_option( 'siteurl' ) ) ); ?>');
20
  if (username_check) var clicky_custom_session = {username: username_check};
21
  </script>
frontend/views/script.php CHANGED
@@ -16,7 +16,7 @@
16
  ?>
17
 
18
  var clicky_site_ids = clicky_site_ids || [];
19
- clicky_site_ids.push(<?php echo esc_attr( $this->options['site_id'] ); ?>);
20
  </script>
21
  <?php
22
  // @codingStandardsIgnoreLine WordPress.WP.EnqueuedResources.NonEnqueuedScript
16
  ?>
17
 
18
  var clicky_site_ids = clicky_site_ids || [];
19
+ clicky_site_ids.push(<?php echo wp_json_encode( $this->options['site_id'] ); ?>);
20
  </script>
21
  <?php
22
  // @codingStandardsIgnoreLine WordPress.WP.EnqueuedResources.NonEnqueuedScript
languages/clicky-bg_BG.mo CHANGED
Binary file
languages/clicky-cs_CZ.mo ADDED
Binary file
languages/clicky-en_CA.mo CHANGED
Binary file
languages/clicky-en_GB.mo CHANGED
Binary file
languages/clicky-es_ES.mo CHANGED
Binary file
languages/clicky-fa_IR.mo CHANGED
Binary file
languages/clicky-it_IT.mo CHANGED
Binary file
languages/clicky-nl_NL.mo CHANGED
Binary file
languages/clicky-ro_RO.mo CHANGED
Binary file
languages/clicky-sv_SE.mo CHANGED
Binary file
languages/clicky.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Clicky for WordPress package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Clicky for WordPress 1.8\n"
6
  "Report-Msgid-Bugs-To: https://github.com/yoast/clicky/issues\n"
7
- "POT-Creation-Date: 2019-06-17 19:17:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -26,8 +26,6 @@ msgstr ""
26
 
27
  #: admin/class-clicky-admin-page.php:64
28
  #: admin/class-clicky-options-admin.php:246
29
- #: artifact/admin/class-clicky-admin-page.php:64
30
- #: artifact/admin/class-clicky-options-admin.php:246
31
  #. translators: 1: link open tag to clicky forum website; 2: link close tag.
32
  msgid ""
33
  "If you're in need of support with Clicky and / or this plugin, please visit "
@@ -35,42 +33,34 @@ msgid ""
35
  msgstr ""
36
 
37
  #: admin/class-clicky-admin-page.php:65
38
- #: artifact/admin/class-clicky-admin-page.php:65
39
  msgid "Need Support?"
40
  msgstr ""
41
 
42
  #: admin/class-clicky-admin-page.php:80
43
- #: artifact/admin/class-clicky-admin-page.php:80
44
  msgid "No news items, feed might be broken..."
45
  msgstr ""
46
 
47
  #: admin/class-clicky-admin-page.php:96
48
- #: artifact/admin/class-clicky-admin-page.php:96
49
  msgid "Subscribe with RSS"
50
  msgstr ""
51
 
52
  #: admin/class-clicky-admin-page.php:107
53
- #: artifact/admin/class-clicky-admin-page.php:107
54
  msgid "Latest news from Clicky"
55
  msgstr ""
56
 
57
  #: admin/class-clicky-admin-page.php:114
58
- #: artifact/admin/class-clicky-admin-page.php:114
59
  msgid "Like Yoast on Facebook"
60
  msgstr ""
61
 
62
  #: admin/class-clicky-admin-page.php:115
63
- #: artifact/admin/class-clicky-admin-page.php:115
64
  msgid "Follow Yoast on Twitter"
65
  msgstr ""
66
 
67
  #: admin/class-clicky-admin-page.php:116
68
- #: artifact/admin/class-clicky-admin-page.php:116
69
  msgid "Subscribe by email"
70
  msgstr ""
71
 
72
  #: admin/class-clicky-admin-page.php:118
73
- #: artifact/admin/class-clicky-admin-page.php:118
74
  msgid "Latest news from Yoast"
75
  msgstr ""
76
 
@@ -79,33 +69,30 @@ msgid "Clicky for WordPress"
79
  msgstr ""
80
 
81
  #: admin/class-clicky-admin-page.php:132
82
- #: artifact/admin/class-clicky-admin-page.php:132
83
  msgid "Yoast Translate"
84
  msgstr ""
85
 
86
- #: admin/class-clicky-admin.php:54 artifact/admin/class-clicky-admin.php:54
87
  msgid "Clicky Goal Tracking"
88
  msgstr ""
89
 
90
- #: admin/class-clicky-admin.php:72 artifact/admin/class-clicky-admin.php:72
91
  msgid "Clicky settings"
92
  msgstr ""
93
 
94
- #: admin/class-clicky-admin.php:73 artifact/admin/class-clicky-admin.php:73
95
  msgid "Clicky"
96
  msgstr ""
97
 
98
  #: admin/class-clicky-admin.php:80 admin/class-clicky-admin.php:81
99
- #: artifact/admin/class-clicky-admin.php:80
100
- #: artifact/admin/class-clicky-admin.php:81
101
  msgid "Clicky Stats"
102
  msgstr ""
103
 
104
- #: admin/class-clicky-admin.php:108 artifact/admin/class-clicky-admin.php:108
105
  msgid "Clicky is almost ready. "
106
  msgstr ""
107
 
108
- #: admin/class-clicky-admin.php:112 artifact/admin/class-clicky-admin.php:112
109
  #. translators: 1: link open tag to the plugin settings page; 2: link close
110
  #. tag.
111
  msgid ""
@@ -113,63 +100,51 @@ msgid ""
113
  "for it to work."
114
  msgstr ""
115
 
116
- #: admin/class-clicky-admin.php:185 artifact/admin/class-clicky-admin.php:185
117
  msgid "Settings"
118
  msgstr ""
119
 
120
  #: admin/class-clicky-options-admin.php:46 admin/views/admin-page.php:19
121
- #: artifact/admin/class-clicky-options-admin.php:46
122
- #: artifact/admin/views/admin-page.php:19
123
  msgid "Basic settings"
124
  msgstr ""
125
 
126
  #: admin/class-clicky-options-admin.php:52
127
- #: artifact/admin/class-clicky-options-admin.php:52
128
  msgid "Site ID"
129
  msgstr ""
130
 
131
  #: admin/class-clicky-options-admin.php:53
132
- #: artifact/admin/class-clicky-options-admin.php:53
133
  msgid "Site Key"
134
  msgstr ""
135
 
136
  #: admin/class-clicky-options-admin.php:54
137
- #: artifact/admin/class-clicky-options-admin.php:54
138
  msgid "Admin Site Key"
139
  msgstr ""
140
 
141
  #: admin/class-clicky-options-admin.php:73
142
- #: artifact/admin/class-clicky-options-admin.php:73
143
  msgid "Like this plugin?"
144
  msgstr ""
145
 
146
  #: admin/class-clicky-options-admin.php:80
147
- #: artifact/admin/class-clicky-options-admin.php:80
148
  msgid "Need support?"
149
  msgstr ""
150
 
151
  #: admin/class-clicky-options-admin.php:90
152
- #: artifact/admin/class-clicky-options-admin.php:90
153
  msgid "Advanced Settings"
154
  msgstr ""
155
 
156
  #: admin/class-clicky-options-admin.php:94
157
- #: artifact/admin/class-clicky-options-admin.php:94
158
  msgid "Disable Admin Bar stats"
159
  msgstr ""
160
 
161
  #: admin/class-clicky-options-admin.php:95
162
- #: artifact/admin/class-clicky-options-admin.php:95
163
  msgid "If you don't want to display the stats in your admin menu, check this box."
164
  msgstr ""
165
 
166
  #: admin/class-clicky-options-admin.php:98
167
- #: artifact/admin/class-clicky-options-admin.php:98
168
  msgid "Ignore Admin users"
169
  msgstr ""
170
 
171
  #: admin/class-clicky-options-admin.php:99
172
- #: artifact/admin/class-clicky-options-admin.php:99
173
  msgid ""
174
  "If you are using a caching plugin, such as W3 Total Cache or WP-Supercache, "
175
  "please ensure that you have it configured to NOT use the cache for logged "
@@ -177,39 +152,32 @@ msgid ""
177
  msgstr ""
178
 
179
  #: admin/class-clicky-options-admin.php:102
180
- #: artifact/admin/class-clicky-options-admin.php:102
181
  msgid "Disable cookies"
182
  msgstr ""
183
 
184
  #: admin/class-clicky-options-admin.php:103
185
- #: artifact/admin/class-clicky-options-admin.php:103
186
  msgid ""
187
  "If you don't want Clicky to use cookies on your site, check this button. By "
188
  "doing so, uniqueness will instead be determined based on their IP address."
189
  msgstr ""
190
 
191
  #: admin/class-clicky-options-admin.php:106
192
- #: artifact/admin/class-clicky-options-admin.php:106
193
  msgid "Track names of commenters"
194
  msgstr ""
195
 
196
  #: admin/class-clicky-options-admin.php:132
197
- #: artifact/admin/class-clicky-options-admin.php:132
198
  msgid "Outbound Links"
199
  msgstr ""
200
 
201
  #: admin/class-clicky-options-admin.php:140
202
- #: artifact/admin/class-clicky-options-admin.php:140
203
  msgid "For instance: <code>/out/,/go/</code>"
204
  msgstr ""
205
 
206
  #: admin/class-clicky-options-admin.php:144
207
- #: artifact/admin/class-clicky-options-admin.php:144
208
  msgid "Outbound Link Pattern"
209
  msgstr ""
210
 
211
  #: admin/class-clicky-options-admin.php:218
212
- #: artifact/admin/class-clicky-options-admin.php:218
213
  #. translators: 1: link open tag to the clicky user homepage; 2: link close
214
  #. tag.
215
  msgid ""
@@ -220,7 +188,6 @@ msgid ""
220
  msgstr ""
221
 
222
  #: admin/class-clicky-options-admin.php:232
223
- #: artifact/admin/class-clicky-options-admin.php:232
224
  #. translators: 1: link open tag to the clicky knowledge base article; 2: link
225
  #. close tag.
226
  msgid ""
@@ -231,35 +198,35 @@ msgid ""
231
  "links. %1$sRead more here%2$s."
232
  msgstr ""
233
 
234
- #: admin/views/admin-page.php:10 artifact/admin/views/admin-page.php:10
235
  msgid "Configuration"
236
  msgstr ""
237
 
238
- #: admin/views/admin-page.php:20 artifact/admin/views/admin-page.php:20
239
  msgid "Advanced settings"
240
  msgstr ""
241
 
242
- #: admin/views/admin-page.php:32 artifact/admin/views/admin-page.php:32
243
  msgid "Save Clicky settings"
244
  msgstr ""
245
 
246
- #: admin/views/like-box.php:8 artifact/admin/views/like-box.php:8
247
  msgid "Why not do any or all of the following:"
248
  msgstr ""
249
 
250
- #: admin/views/like-box.php:10 artifact/admin/views/like-box.php:10
251
  msgid "Link to it so other folks can find out about it."
252
  msgstr ""
253
 
254
- #: admin/views/like-box.php:11 artifact/admin/views/like-box.php:11
255
  msgid "Give it a 5 star rating on WordPress.org."
256
  msgstr ""
257
 
258
- #: admin/views/like-box.php:12 artifact/admin/views/like-box.php:12
259
  msgid "Let other people know that it works with your WordPress setup."
260
  msgstr ""
261
 
262
- #: admin/views/meta-box.php:12 artifact/admin/views/meta-box.php:12
263
  #. translators: 1: link open tag to clicky website tracking page; 2: link close
264
  #. tag.
265
  msgid ""
@@ -268,32 +235,28 @@ msgid ""
268
  "Optionally, you can also provide the goal revenue."
269
  msgstr ""
270
 
271
- #: admin/views/meta-box.php:20 artifact/admin/views/meta-box.php:20
272
  msgid "Goal ID:"
273
  msgstr ""
274
 
275
- #: admin/views/meta-box.php:24 artifact/admin/views/meta-box.php:24
276
  msgid "Goal Revenue:"
277
  msgstr ""
278
 
279
- #: artifact/frontend/class-clicky-frontend.php:46
280
  #: frontend/class-clicky-frontend.php:46
281
  msgid ""
282
  "Clicky tracking not shown because you're an administrator and you've "
283
  "configured Clicky to ignore administrators."
284
  msgstr ""
285
 
286
- #: artifact/frontend/class-clicky-frontend.php:139
287
  #: frontend/class-clicky-frontend.php:139
288
  msgid "Posted a comment"
289
  msgstr ""
290
 
291
- #: artifact/frontend/class-clicky-visitor-graph.php:131
292
  #: frontend/class-clicky-visitor-graph.php:131
293
  msgid "Visitors over 48 hours. Click for more Clicky Site Stats."
294
  msgstr ""
295
 
296
- #: artifact/vendor/yoast/i18n-module/i18n-module.php:189
297
  #: vendor/yoast/i18n-module/i18n-module.php:189
298
  msgid ""
299
  "As you can see, there is a translation of this plugin in %1$s. This "
@@ -302,7 +265,6 @@ msgid ""
302
  "the translation to %1$s!"
303
  msgstr ""
304
 
305
- #: artifact/vendor/yoast/i18n-module/i18n-module.php:191
306
  #: vendor/yoast/i18n-module/i18n-module.php:191
307
  msgid ""
308
  "You're using WordPress in %1$s. While %2$s has been translated to %1$s for "
@@ -310,7 +272,6 @@ msgid ""
310
  "at %4$s to help complete the translation to %1$s!"
311
  msgstr ""
312
 
313
- #: artifact/vendor/yoast/i18n-module/i18n-module.php:193
314
  #: vendor/yoast/i18n-module/i18n-module.php:193
315
  msgid ""
316
  "You're using WordPress in a language we don't support yet. We'd love for "
@@ -318,12 +279,10 @@ msgid ""
318
  "right now. You can change that! Register at %4$s to help translate it!"
319
  msgstr ""
320
 
321
- #: artifact/vendor/yoast/i18n-module/i18n-module.php:213
322
  #: vendor/yoast/i18n-module/i18n-module.php:213
323
  msgid "Translation of %s"
324
  msgstr ""
325
 
326
- #: artifact/vendor/yoast/i18n-module/i18n-module.php:218
327
  #: vendor/yoast/i18n-module/i18n-module.php:218
328
  msgid "Register now &raquo;"
329
  msgstr ""
2
  # This file is distributed under the same license as the Clicky for WordPress package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Clicky for WordPress 1.9\n"
6
  "Report-Msgid-Bugs-To: https://github.com/yoast/clicky/issues\n"
7
+ "POT-Creation-Date: 2019-11-25 12:26:38+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
26
 
27
  #: admin/class-clicky-admin-page.php:64
28
  #: admin/class-clicky-options-admin.php:246
 
 
29
  #. translators: 1: link open tag to clicky forum website; 2: link close tag.
30
  msgid ""
31
  "If you're in need of support with Clicky and / or this plugin, please visit "
33
  msgstr ""
34
 
35
  #: admin/class-clicky-admin-page.php:65
 
36
  msgid "Need Support?"
37
  msgstr ""
38
 
39
  #: admin/class-clicky-admin-page.php:80
 
40
  msgid "No news items, feed might be broken..."
41
  msgstr ""
42
 
43
  #: admin/class-clicky-admin-page.php:96
 
44
  msgid "Subscribe with RSS"
45
  msgstr ""
46
 
47
  #: admin/class-clicky-admin-page.php:107
 
48
  msgid "Latest news from Clicky"
49
  msgstr ""
50
 
51
  #: admin/class-clicky-admin-page.php:114
 
52
  msgid "Like Yoast on Facebook"
53
  msgstr ""
54
 
55
  #: admin/class-clicky-admin-page.php:115
 
56
  msgid "Follow Yoast on Twitter"
57
  msgstr ""
58
 
59
  #: admin/class-clicky-admin-page.php:116
 
60
  msgid "Subscribe by email"
61
  msgstr ""
62
 
63
  #: admin/class-clicky-admin-page.php:118
 
64
  msgid "Latest news from Yoast"
65
  msgstr ""
66
 
69
  msgstr ""
70
 
71
  #: admin/class-clicky-admin-page.php:132
 
72
  msgid "Yoast Translate"
73
  msgstr ""
74
 
75
+ #: admin/class-clicky-admin.php:54
76
  msgid "Clicky Goal Tracking"
77
  msgstr ""
78
 
79
+ #: admin/class-clicky-admin.php:72
80
  msgid "Clicky settings"
81
  msgstr ""
82
 
83
+ #: admin/class-clicky-admin.php:73
84
  msgid "Clicky"
85
  msgstr ""
86
 
87
  #: admin/class-clicky-admin.php:80 admin/class-clicky-admin.php:81
 
 
88
  msgid "Clicky Stats"
89
  msgstr ""
90
 
91
+ #: admin/class-clicky-admin.php:108
92
  msgid "Clicky is almost ready. "
93
  msgstr ""
94
 
95
+ #: admin/class-clicky-admin.php:112
96
  #. translators: 1: link open tag to the plugin settings page; 2: link close
97
  #. tag.
98
  msgid ""
100
  "for it to work."
101
  msgstr ""
102
 
103
+ #: admin/class-clicky-admin.php:185
104
  msgid "Settings"
105
  msgstr ""
106
 
107
  #: admin/class-clicky-options-admin.php:46 admin/views/admin-page.php:19
 
 
108
  msgid "Basic settings"
109
  msgstr ""
110
 
111
  #: admin/class-clicky-options-admin.php:52
 
112
  msgid "Site ID"
113
  msgstr ""
114
 
115
  #: admin/class-clicky-options-admin.php:53
 
116
  msgid "Site Key"
117
  msgstr ""
118
 
119
  #: admin/class-clicky-options-admin.php:54
 
120
  msgid "Admin Site Key"
121
  msgstr ""
122
 
123
  #: admin/class-clicky-options-admin.php:73
 
124
  msgid "Like this plugin?"
125
  msgstr ""
126
 
127
  #: admin/class-clicky-options-admin.php:80
 
128
  msgid "Need support?"
129
  msgstr ""
130
 
131
  #: admin/class-clicky-options-admin.php:90
 
132
  msgid "Advanced Settings"
133
  msgstr ""
134
 
135
  #: admin/class-clicky-options-admin.php:94
 
136
  msgid "Disable Admin Bar stats"
137
  msgstr ""
138
 
139
  #: admin/class-clicky-options-admin.php:95
 
140
  msgid "If you don't want to display the stats in your admin menu, check this box."
141
  msgstr ""
142
 
143
  #: admin/class-clicky-options-admin.php:98
 
144
  msgid "Ignore Admin users"
145
  msgstr ""
146
 
147
  #: admin/class-clicky-options-admin.php:99
 
148
  msgid ""
149
  "If you are using a caching plugin, such as W3 Total Cache or WP-Supercache, "
150
  "please ensure that you have it configured to NOT use the cache for logged "
152
  msgstr ""
153
 
154
  #: admin/class-clicky-options-admin.php:102
 
155
  msgid "Disable cookies"
156
  msgstr ""
157
 
158
  #: admin/class-clicky-options-admin.php:103
 
159
  msgid ""
160
  "If you don't want Clicky to use cookies on your site, check this button. By "
161
  "doing so, uniqueness will instead be determined based on their IP address."
162
  msgstr ""
163
 
164
  #: admin/class-clicky-options-admin.php:106
 
165
  msgid "Track names of commenters"
166
  msgstr ""
167
 
168
  #: admin/class-clicky-options-admin.php:132
 
169
  msgid "Outbound Links"
170
  msgstr ""
171
 
172
  #: admin/class-clicky-options-admin.php:140
 
173
  msgid "For instance: <code>/out/,/go/</code>"
174
  msgstr ""
175
 
176
  #: admin/class-clicky-options-admin.php:144
 
177
  msgid "Outbound Link Pattern"
178
  msgstr ""
179
 
180
  #: admin/class-clicky-options-admin.php:218
 
181
  #. translators: 1: link open tag to the clicky user homepage; 2: link close
182
  #. tag.
183
  msgid ""
188
  msgstr ""
189
 
190
  #: admin/class-clicky-options-admin.php:232
 
191
  #. translators: 1: link open tag to the clicky knowledge base article; 2: link
192
  #. close tag.
193
  msgid ""
198
  "links. %1$sRead more here%2$s."
199
  msgstr ""
200
 
201
+ #: admin/views/admin-page.php:10
202
  msgid "Configuration"
203
  msgstr ""
204
 
205
+ #: admin/views/admin-page.php:20
206
  msgid "Advanced settings"
207
  msgstr ""
208
 
209
+ #: admin/views/admin-page.php:32
210
  msgid "Save Clicky settings"
211
  msgstr ""
212
 
213
+ #: admin/views/like-box.php:8
214
  msgid "Why not do any or all of the following:"
215
  msgstr ""
216
 
217
+ #: admin/views/like-box.php:10
218
  msgid "Link to it so other folks can find out about it."
219
  msgstr ""
220
 
221
+ #: admin/views/like-box.php:11
222
  msgid "Give it a 5 star rating on WordPress.org."
223
  msgstr ""
224
 
225
+ #: admin/views/like-box.php:12
226
  msgid "Let other people know that it works with your WordPress setup."
227
  msgstr ""
228
 
229
+ #: admin/views/meta-box.php:12
230
  #. translators: 1: link open tag to clicky website tracking page; 2: link close
231
  #. tag.
232
  msgid ""
235
  "Optionally, you can also provide the goal revenue."
236
  msgstr ""
237
 
238
+ #: admin/views/meta-box.php:20
239
  msgid "Goal ID:"
240
  msgstr ""
241
 
242
+ #: admin/views/meta-box.php:24
243
  msgid "Goal Revenue:"
244
  msgstr ""
245
 
 
246
  #: frontend/class-clicky-frontend.php:46
247
  msgid ""
248
  "Clicky tracking not shown because you're an administrator and you've "
249
  "configured Clicky to ignore administrators."
250
  msgstr ""
251
 
 
252
  #: frontend/class-clicky-frontend.php:139
253
  msgid "Posted a comment"
254
  msgstr ""
255
 
 
256
  #: frontend/class-clicky-visitor-graph.php:131
257
  msgid "Visitors over 48 hours. Click for more Clicky Site Stats."
258
  msgstr ""
259
 
 
260
  #: vendor/yoast/i18n-module/i18n-module.php:189
261
  msgid ""
262
  "As you can see, there is a translation of this plugin in %1$s. This "
265
  "the translation to %1$s!"
266
  msgstr ""
267
 
 
268
  #: vendor/yoast/i18n-module/i18n-module.php:191
269
  msgid ""
270
  "You're using WordPress in %1$s. While %2$s has been translated to %1$s for "
272
  "at %4$s to help complete the translation to %1$s!"
273
  msgstr ""
274
 
 
275
  #: vendor/yoast/i18n-module/i18n-module.php:193
276
  msgid ""
277
  "You're using WordPress in a language we don't support yet. We'd love for "
279
  "right now. You can change that! Register at %4$s to help translate it!"
280
  msgstr ""
281
 
 
282
  #: vendor/yoast/i18n-module/i18n-module.php:213
283
  msgid "Translation of %s"
284
  msgstr ""
285
 
 
286
  #: vendor/yoast/i18n-module/i18n-module.php:218
287
  msgid "Register now &raquo;"
288
  msgstr ""
readme.txt CHANGED
@@ -1,9 +1,12 @@
1
  === Clicky by Yoast ===
2
  Contributors: joostdevalk, yoast
3
- Tags: analytics, statistics, clicky, getclicky, affiliate, outbound links, analysis, Yoast
4
- Requires at least: 5.1
5
- Tested up to: 5.2
6
- Stable tag: 1.8
 
 
 
7
 
8
  Integrates the Clicky web analytics service into your blog and adds features for comment tracking & more.
9
 
@@ -38,6 +41,12 @@ Read the authors [review of Clicky Analytics](https://yoast.com/clicky-analytics
38
 
39
  == Changelog ==
40
 
 
 
 
 
 
 
41
  = 1.8 =
42
 
43
  * Lots of code style and escaping improvements.
1
  === Clicky by Yoast ===
2
  Contributors: joostdevalk, yoast
3
+ Tags: analytics, statistics, clicky, getclicky, affiliate
4
+ License: GPLv3
5
+ License URI: http://www.gnu.org/licenses/gpl.html
6
+ Requires at least: 5.3
7
+ Tested up to: 5.4
8
+ Requires PHP: 5.6.20
9
+ Stable tag: 1.9
10
 
11
  Integrates the Clicky web analytics service into your blog and adds features for comment tracking & more.
12
 
41
 
42
  == Changelog ==
43
 
44
+ = 1.9 =
45
+
46
+ * Updated required PHP version to 5.6.
47
+ * Lots of code style and escaping improvements.
48
+ * Fixes a PHP warning for a file that's not found in some setups, props [Miller Media](https://github.com/Miller-Media).
49
+
50
  = 1.8 =
51
 
52
  * Lots of code style and escaping improvements.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb438012fc4a076a1479e73373ea0443a::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit3957b09a29f91c5e67cbbd771be5063a::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit94e5d626b996cdaa85ddda4a4de885ba::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitb9fb574df61967d0b24bb8fdde5c3b97::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb438012fc4a076a1479e73373ea0443a
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb438012fc4a076a1479e73373ea0443a
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb438012fc4a076a1479e73373ea0443a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb438012fc4a076a1479e73373ea0443a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInitb438012fc4a076a1479e73373ea0443a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit3957b09a29f91c5e67cbbd771be5063a
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit3957b09a29f91c5e67cbbd771be5063a', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit3957b09a29f91c5e67cbbd771be5063a', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit94e5d626b996cdaa85ddda4a4de885ba {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit94e5d626b996cdaa85ddda4a4de885ba {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit94e5d626b996cdaa85ddda4a4de885ba', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit94e5d626b996cdaa85ddda4a4de885ba', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInitb9fb574df61967d0b24bb8fdde5c3b97 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitb9fb574df61967d0b24bb8fdde5c3b97', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitb9fb574df61967d0b24bb8fdde5c3b97', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb438012fc4a076a1479e73373ea0443a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -135,10 +135,10 @@ class ComposerStaticInitb438012fc4a076a1479e73373ea0443a
135
  public static function getInitializer(ClassLoader $loader)
136
  {
137
  return \Closure::bind(function () use ($loader) {
138
- $loader->prefixLengthsPsr4 = ComposerStaticInitb438012fc4a076a1479e73373ea0443a::$prefixLengthsPsr4;
139
- $loader->prefixDirsPsr4 = ComposerStaticInitb438012fc4a076a1479e73373ea0443a::$prefixDirsPsr4;
140
- $loader->prefixesPsr0 = ComposerStaticInitb438012fc4a076a1479e73373ea0443a::$prefixesPsr0;
141
- $loader->classMap = ComposerStaticInitb438012fc4a076a1479e73373ea0443a::$classMap;
142
 
143
  }, null, ClassLoader::class);
144
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
135
  public static function getInitializer(ClassLoader $loader)
136
  {
137
  return \Closure::bind(function () use ($loader) {
138
+ $loader->prefixLengthsPsr4 = ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a::$prefixLengthsPsr4;
139
+ $loader->prefixDirsPsr4 = ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a::$prefixDirsPsr4;
140
+ $loader->prefixesPsr0 = ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a::$prefixesPsr0;
141
+ $loader->classMap = ComposerStaticInit3957b09a29f91c5e67cbbd771be5063a::$classMap;
142
 
143
  }, null, ClassLoader::class);
144
  }