Top 10 – Popular posts plugin for WordPress - Version 2.5.7

Version Description

  • Enhancements:

    • Tools page now has the code to Recreate the PRIMARY KEY in case the button gives an error. You will need to run this in phpMyAdmin or Adminer
  • Bug fixes:

    • Fixed translation of " by " which had the incorrect text domain
    • Post types to includes selects "post" in case no option is selected
    • Unchecking all boxes of a "Display number of views on" setting would sometimes pick the default value
Download this release

Release Info

Developer Ajay
Plugin Icon 128x128 Top 10 – Popular posts plugin for WordPress
Version 2.5.7
Comparing to
See all releases

Code changes from version 2.5.6 to 2.5.7

README.md CHANGED
@@ -7,7 +7,7 @@
7
 
8
  __Requires:__ 4.1
9
 
10
- __Tested up to:__ 5.0
11
 
12
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
13
 
7
 
8
  __Requires:__ 4.1
9
 
10
+ __Tested up to:__ 4.9
11
 
12
  __License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)
13
 
includes/activate-deactivate.php CHANGED
@@ -92,9 +92,9 @@ function tptn_single_activate() {
92
  if ( $installed_ver != $tptn_db_version ) {
93
 
94
  $sql = 'ALTER TABLE ' . $table_name . ' DROP PRIMARY KEY ';
95
- $wpdb->query( $sql );
96
  $sql = 'ALTER TABLE ' . $table_name_daily . ' DROP PRIMARY KEY ';
97
- $wpdb->query( $sql );
98
 
99
  $sql = 'CREATE TABLE ' . $table_name . " (
100
  postnumber bigint(20) NOT NULL,
92
  if ( $installed_ver != $tptn_db_version ) {
93
 
94
  $sql = 'ALTER TABLE ' . $table_name . ' DROP PRIMARY KEY ';
95
+ $wpdb->query( $sql ); // WPCS: unprepared SQL ok.
96
  $sql = 'ALTER TABLE ' . $table_name_daily . ' DROP PRIMARY KEY ';
97
+ $wpdb->query( $sql ); // WPCS: unprepared SQL ok.
98
 
99
  $sql = 'CREATE TABLE ' . $table_name . " (
100
  postnumber bigint(20) NOT NULL,
includes/admin/admin-columns.php CHANGED
@@ -189,11 +189,11 @@ add_filter( 'posts_clauses', 'tptn_column_clauses', 10, 2 );
189
  * @since 1.2
190
  */
191
  function tptn_admin_css() {
192
- ?>
193
  <style type="text/css">
194
  #tptn_total, #tptn_daily, #tptn_both { max-width: 100px; }
195
  </style>
196
- <?php
197
  }
198
  add_action( 'admin_head', 'tptn_admin_css' );
199
 
189
  * @since 1.2
190
  */
191
  function tptn_admin_css() {
192
+ ?>
193
  <style type="text/css">
194
  #tptn_total, #tptn_daily, #tptn_both { max-width: 100px; }
195
  </style>
196
+ <?php
197
  }
198
  add_action( 'admin_head', 'tptn_admin_css' );
199
 
includes/admin/admin-metabox.php CHANGED
@@ -104,18 +104,18 @@ function tptn_call_meta_box() {
104
  $exclude_this_post = 0;
105
  }
106
 
107
- ?>
108
  <p>
109
  <label for="total_count"><strong><?php esc_html_e( 'Visit count:', 'top-10' ); ?></strong></label>
110
  <input type="text" id="total_count" name="total_count" value="<?php echo esc_attr( $total_count ); ?>" style="width:100%" />
111
  <em><?php esc_html_e( 'Enter a number above to update the visit count. Leaving the above box blank will set the count to zero', 'top-10' ); ?></em>
112
  </p>
113
 
114
- <?php
115
 
116
  $results = get_post_meta( $post->ID, tptn_get_option( 'thumb_meta' ), true );
117
  $value = ( $results ) ? $results : '';
118
- ?>
119
  <p>
120
  <label for="disable_here"><strong><?php esc_html_e( 'Disable Popular Posts display:', 'top-10' ); ?></strong></label>
121
  <input type="checkbox" id="disable_here" name="disable_here" <?php checked( 1, $disable_here, true ); ?> />
104
  $exclude_this_post = 0;
105
  }
106
 
107
+ ?>
108
  <p>
109
  <label for="total_count"><strong><?php esc_html_e( 'Visit count:', 'top-10' ); ?></strong></label>
110
  <input type="text" id="total_count" name="total_count" value="<?php echo esc_attr( $total_count ); ?>" style="width:100%" />
111
  <em><?php esc_html_e( 'Enter a number above to update the visit count. Leaving the above box blank will set the count to zero', 'top-10' ); ?></em>
112
  </p>
113
 
114
+ <?php
115
 
116
  $results = get_post_meta( $post->ID, tptn_get_option( 'thumb_meta' ), true );
117
  $value = ( $results ) ? $results : '';
118
+ ?>
119
  <p>
120
  <label for="disable_here"><strong><?php esc_html_e( 'Disable Popular Posts display:', 'top-10' ); ?></strong></label>
121
  <input type="checkbox" id="disable_here" name="disable_here" <?php checked( 1, $disable_here, true ); ?> />
includes/admin/admin.php CHANGED
@@ -66,7 +66,7 @@ function tptn_adminhead() {
66
  wp_enqueue_script( 'jquery-ui-tabs' );
67
  wp_enqueue_script( 'plugin-install' );
68
  add_thickbox();
69
- ?>
70
  <script type="text/javascript">
71
  //<![CDATA[
72
  // Function to clear the cache.
@@ -209,7 +209,7 @@ function tptn_adminhead() {
209
 
210
  //]]>
211
  </script>
212
- <?php
213
  }
214
 
215
 
@@ -292,13 +292,13 @@ add_filter( 'admin_footer_text', 'tptn_admin_footer' );
292
  * return void
293
  */
294
  function tptn_admin_head() {
295
- ?>
296
  <style type="text/css" media="screen">
297
  #dashboard_right_now .tptn-article-count:before {
298
  content: "\f331";
299
  }
300
  </style>
301
- <?php
302
  }
303
  add_filter( 'admin_head', 'tptn_admin_head' );
304
 
66
  wp_enqueue_script( 'jquery-ui-tabs' );
67
  wp_enqueue_script( 'plugin-install' );
68
  add_thickbox();
69
+ ?>
70
  <script type="text/javascript">
71
  //<![CDATA[
72
  // Function to clear the cache.
209
 
210
  //]]>
211
  </script>
212
+ <?php
213
  }
214
 
215
 
292
  * return void
293
  */
294
  function tptn_admin_head() {
295
+ ?>
296
  <style type="text/css" media="screen">
297
  #dashboard_right_now .tptn-article-count:before {
298
  content: "\f331";
299
  }
300
  </style>
301
+ <?php
302
  }
303
  add_filter( 'admin_head', 'tptn_admin_head' );
304
 
includes/admin/class-top-ten-statistics-table.php CHANGED
@@ -87,7 +87,8 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
87
  WHERE ttd.dp_date >= %s
88
  ) AS ttd
89
  ON ttt.postnumber=ttd.postnumber
90
- ", $from_date
 
91
  );
92
 
93
  // Create the base WHERE clause.
@@ -187,7 +188,8 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
187
  INNER JOIN {$wpdb->posts} ON ttt.postnumber=ID
188
  WHERE blog_id=%d
189
  AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'inherit')
190
- ", get_current_blog_id()
 
191
  );
192
 
193
  if ( isset( $args['search'] ) ) {
@@ -312,7 +314,8 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
312
  array(
313
  'post_type' => $item['post_type'],
314
  'author' => ( false === $author_info ) ? 0 : $author_info->ID,
315
- ), 'edit.php'
 
316
  )
317
  ),
318
  esc_html( $author_name )
@@ -435,46 +438,50 @@ class Top_Ten_Statistics_Table extends WP_List_Table {
435
  * @param string $which Which part of the table are we.
436
  */
437
  public function extra_tablenav( $which ) {
438
- ?>
439
  <div class="alignleft actions">
440
- <?php
441
- if ( 'top' === $which ) {
442
- $post_types = get_post_types(
443
- array(
444
- 'public' => true,
445
- )
446
- );
447
- $all = array(
448
- 'all' => 'All',
449
- );
450
- $post_types = $all + $post_types;
451
 
452
- if ( $post_types ) {
453
 
454
- echo '<select name="post-type-filter">';
455
 
456
- foreach ( $post_types as $post_type ) {
457
- $selected = '';
458
- if ( isset( $_REQUEST['post-type-filter'] ) && $_REQUEST['post-type-filter'] === $post_type ) {
459
- $selected = ' selected = "selected"';
460
- }
461
- ?>
462
  <option value="<?php echo esc_attr( $post_type ); ?>" <?php echo esc_attr( $selected ); ?>><?php echo esc_attr( $post_type ); ?></option>
463
- <?php
464
- }
465
 
466
- echo '</select>';
467
 
468
- submit_button(
469
- __( 'Filter', 'top-10' ), 'button', 'filter_action', false, array(
470
- 'id' => 'top-10-query-submit',
471
- )
472
- );
 
 
 
 
 
473
  }
474
- }
475
- ?>
476
  </div>
477
- <?php
478
  }
479
  }
480
 
@@ -562,7 +569,7 @@ class Top_Ten_Statistics {
562
  <br class="clear" />
563
  </div><!-- /poststuff -->
564
  </div>
565
- <?php
566
  }
567
 
568
  /**
87
  WHERE ttd.dp_date >= %s
88
  ) AS ttd
89
  ON ttt.postnumber=ttd.postnumber
90
+ ",
91
+ $from_date
92
  );
93
 
94
  // Create the base WHERE clause.
188
  INNER JOIN {$wpdb->posts} ON ttt.postnumber=ID
189
  WHERE blog_id=%d
190
  AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'inherit')
191
+ ",
192
+ get_current_blog_id()
193
  );
194
 
195
  if ( isset( $args['search'] ) ) {
314
  array(
315
  'post_type' => $item['post_type'],
316
  'author' => ( false === $author_info ) ? 0 : $author_info->ID,
317
+ ),
318
+ 'edit.php'
319
  )
320
  ),
321
  esc_html( $author_name )
438
  * @param string $which Which part of the table are we.
439
  */
440
  public function extra_tablenav( $which ) {
441
+ ?>
442
  <div class="alignleft actions">
443
+ <?php
444
+ if ( 'top' === $which ) {
445
+ $post_types = get_post_types(
446
+ array(
447
+ 'public' => true,
448
+ )
449
+ );
450
+ $all = array(
451
+ 'all' => 'All',
452
+ );
453
+ $post_types = $all + $post_types;
454
 
455
+ if ( $post_types ) {
456
 
457
+ echo '<select name="post-type-filter">';
458
 
459
+ foreach ( $post_types as $post_type ) {
460
+ $selected = '';
461
+ if ( isset( $_REQUEST['post-type-filter'] ) && $_REQUEST['post-type-filter'] === $post_type ) {
462
+ $selected = ' selected = "selected"';
463
+ }
464
+ ?>
465
  <option value="<?php echo esc_attr( $post_type ); ?>" <?php echo esc_attr( $selected ); ?>><?php echo esc_attr( $post_type ); ?></option>
466
+ <?php
467
+ }
468
 
469
+ echo '</select>';
470
 
471
+ submit_button(
472
+ __( 'Filter', 'top-10' ),
473
+ 'button',
474
+ 'filter_action',
475
+ false,
476
+ array(
477
+ 'id' => 'top-10-query-submit',
478
+ )
479
+ );
480
+ }
481
  }
482
+ ?>
 
483
  </div>
484
+ <?php
485
  }
486
  }
487
 
569
  <br class="clear" />
570
  </div><!-- /poststuff -->
571
  </div>
572
+ <?php
573
  }
574
 
575
  /**
includes/admin/register-settings.php CHANGED
@@ -176,7 +176,8 @@ function tptn_register_settings() {
176
  foreach ( $settings as $setting ) {
177
 
178
  $args = wp_parse_args(
179
- $setting, array(
 
180
  'section' => $section,
181
  'id' => null,
182
  'name' => '',
@@ -222,7 +223,8 @@ function tptn_get_registered_settings() {
222
  $tptn_settings = array(
223
  /*** General settings */
224
  'general' => apply_filters(
225
- 'tptn_settings_general', array(
 
226
  'trackers' => array(
227
  'id' => 'trackers',
228
  'name' => esc_html__( 'Enable trackers', 'top-10' ),
@@ -323,7 +325,8 @@ function tptn_get_registered_settings() {
323
  ),
324
  /*** Output settings */
325
  'counter' => apply_filters(
326
- 'tptn_settings_counter', array(
 
327
  'add_to' => array(
328
  'id' => 'add_to',
329
  'name' => esc_html__( 'Display number of views on', 'top-10' ) . ':',
@@ -415,7 +418,8 @@ function tptn_get_registered_settings() {
415
  ),
416
  /*** List settings */
417
  'list' => apply_filters(
418
- 'tptn_settings_list', array(
 
419
  'limit' => array(
420
  'id' => 'limit',
421
  'name' => esc_html__( 'Number of posts to display', 'top-10' ),
@@ -434,7 +438,7 @@ function tptn_get_registered_settings() {
434
  'post_types' => array(
435
  'id' => 'post_types',
436
  'name' => esc_html__( 'Post types to include', 'top-10' ),
437
- 'desc' => esc_html__( 'Select which post types you want to include in the list of posts. This field can be overridden using a comma separated list of post types when using the manual display.', 'top-10' ),
438
  'type' => 'posttypes',
439
  'options' => 'post',
440
  ),
@@ -609,7 +613,8 @@ function tptn_get_registered_settings() {
609
  ),
610
  /*** Thumbnail settings */
611
  'thumbnail' => apply_filters(
612
- 'tptn_settings_thumbnail', array(
 
613
  'post_thumb_op' => array(
614
  'id' => 'post_thumb_op',
615
  'name' => esc_html__( 'Location of the post thumbnail', 'top-10' ),
@@ -702,7 +707,8 @@ function tptn_get_registered_settings() {
702
  ),
703
  /*** Styles settings */
704
  'styles' => apply_filters(
705
- 'tptn_settings_styles', array(
 
706
  'tptn_styles' => array(
707
  'id' => 'tptn_styles',
708
  'name' => esc_html__( 'Popular posts style', 'top-10' ),
@@ -723,7 +729,8 @@ function tptn_get_registered_settings() {
723
  ),
724
  /*** Maintenance settings */
725
  'maintenance' => apply_filters(
726
- 'tptn_settings_maintenance', array(
 
727
  'cron_on' => array(
728
  'id' => 'cron_on',
729
  'name' => esc_html__( 'Enable scheduled maintenance', 'top-10' ),
176
  foreach ( $settings as $setting ) {
177
 
178
  $args = wp_parse_args(
179
+ $setting,
180
+ array(
181
  'section' => $section,
182
  'id' => null,
183
  'name' => '',
223
  $tptn_settings = array(
224
  /*** General settings */
225
  'general' => apply_filters(
226
+ 'tptn_settings_general',
227
+ array(
228
  'trackers' => array(
229
  'id' => 'trackers',
230
  'name' => esc_html__( 'Enable trackers', 'top-10' ),
325
  ),
326
  /*** Output settings */
327
  'counter' => apply_filters(
328
+ 'tptn_settings_counter',
329
+ array(
330
  'add_to' => array(
331
  'id' => 'add_to',
332
  'name' => esc_html__( 'Display number of views on', 'top-10' ) . ':',
418
  ),
419
  /*** List settings */
420
  'list' => apply_filters(
421
+ 'tptn_settings_list',
422
+ array(
423
  'limit' => array(
424
  'id' => 'limit',
425
  'name' => esc_html__( 'Number of posts to display', 'top-10' ),
438
  'post_types' => array(
439
  'id' => 'post_types',
440
  'name' => esc_html__( 'Post types to include', 'top-10' ),
441
+ 'desc' => esc_html__( 'At least one option should be selected above. Select which post types you want to include in the list of posts. This field can be overridden using a comma separated list of post types when using the manual display.', 'top-10' ),
442
  'type' => 'posttypes',
443
  'options' => 'post',
444
  ),
613
  ),
614
  /*** Thumbnail settings */
615
  'thumbnail' => apply_filters(
616
+ 'tptn_settings_thumbnail',
617
+ array(
618
  'post_thumb_op' => array(
619
  'id' => 'post_thumb_op',
620
  'name' => esc_html__( 'Location of the post thumbnail', 'top-10' ),
707
  ),
708
  /*** Styles settings */
709
  'styles' => apply_filters(
710
+ 'tptn_settings_styles',
711
+ array(
712
  'tptn_styles' => array(
713
  'id' => 'tptn_styles',
714
  'name' => esc_html__( 'Popular posts style', 'top-10' ),
729
  ),
730
  /*** Maintenance settings */
731
  'maintenance' => apply_filters(
732
+ 'tptn_settings_maintenance',
733
+ array(
734
  'cron_on' => array(
735
  'id' => 'cron_on',
736
  'name' => esc_html__( 'Enable scheduled maintenance', 'top-10' ),
includes/admin/save-settings.php CHANGED
@@ -271,7 +271,7 @@ add_filter( 'tptn_settings_sanitize_checkbox', 'tptn_sanitize_checkbox_field' );
271
  */
272
  function tptn_sanitize_posttypes_field( $value ) {
273
 
274
- $post_types = is_array( $value ) ? array_map( 'sanitize_text_field', wp_unslash( $value ) ) : array( 'post', 'page' );
275
 
276
  return implode( ',', $post_types );
277
  }
271
  */
272
  function tptn_sanitize_posttypes_field( $value ) {
273
 
274
+ $post_types = is_array( $value ) ? array_map( 'sanitize_text_field', wp_unslash( $value ) ) : array( 'post' );
275
 
276
  return implode( ',', $post_types );
277
  }
includes/admin/settings-page.php CHANGED
@@ -332,7 +332,7 @@ function tptn_multicheck_callback( $args ) {
332
  $html = '';
333
 
334
  if ( ! empty( $args['options'] ) ) {
335
- $html .= sprintf( '<input type="hidden" name="tptn_settings[%1$s]" value="-1" />', $args['id'] );
336
 
337
  foreach ( $args['options'] as $key => $option ) {
338
  if ( isset( $tptn_settings[ $args['id'] ][ $key ] ) ) {
@@ -590,6 +590,8 @@ function tptn_posttypes_callback( $args ) {
590
  );
591
  $posts_types_inc = array_intersect( $wp_post_types, $post_types );
592
 
 
 
593
  foreach ( $wp_post_types as $wp_post_type ) {
594
 
595
  $html .= sprintf( '<input name="tptn_settings[%1$s][%2$s]" id="tptn_settings[%1$s][%2$s]" type="checkbox" value="%2$s" %3$s /> ', sanitize_key( $args['id'] ), esc_attr( $wp_post_type ), checked( true, in_array( $wp_post_type, $posts_types_inc, true ), false ) );
@@ -651,7 +653,8 @@ function tptn_tags_search() {
651
  }
652
 
653
  $results = get_terms(
654
- $taxonomy, array(
 
655
  'name__like' => $s,
656
  'fields' => 'names',
657
  'hide_empty' => false,
332
  $html = '';
333
 
334
  if ( ! empty( $args['options'] ) ) {
335
+ $html .= sprintf( '<input type="hidden" name="tptn_settings[%1$s]" value="-1" />', sanitize_key( $args['id'] ) );
336
 
337
  foreach ( $args['options'] as $key => $option ) {
338
  if ( isset( $tptn_settings[ $args['id'] ][ $key ] ) ) {
590
  );
591
  $posts_types_inc = array_intersect( $wp_post_types, $post_types );
592
 
593
+ $html .= sprintf( '<input type="hidden" name="tptn_settings[%1$s]" value="-1" />', sanitize_key( $args['id'] ) );
594
+
595
  foreach ( $wp_post_types as $wp_post_type ) {
596
 
597
  $html .= sprintf( '<input name="tptn_settings[%1$s][%2$s]" id="tptn_settings[%1$s][%2$s]" type="checkbox" value="%2$s" %3$s /> ', sanitize_key( $args['id'] ), esc_attr( $wp_post_type ), checked( true, in_array( $wp_post_type, $posts_types_inc, true ), false ) );
653
  }
654
 
655
  $results = get_terms(
656
+ $taxonomy,
657
+ array(
658
  'name__like' => $s,
659
  'fields' => 'names',
660
  'hide_empty' => false,
includes/admin/tools.php CHANGED
@@ -88,7 +88,10 @@ function tptn_tools_page() {
88
  <input name="tptn_recreate_primary_key" type="submit" id="tptn_recreate_primary_key" value="<?php esc_attr_e( 'Recreate Primary Key', 'top-10' ); ?>" class="button button-secondary" />
89
  </p>
90
  <p class="description">
91
- <?php esc_html_e( 'Deletes and reinitializes the primary key in the database tables.', 'top-10' ); ?>
 
 
 
92
  </p>
93
 
94
  <h2 style="padding-left:0px"><?php esc_html_e( 'Reset database', 'top-10' ); ?></h2>
@@ -180,7 +183,7 @@ function tptn_merge_blogids( $daily = false ) {
180
  }
181
 
182
  if ( $daily ) {
183
- $wpdb->query(
184
  "
185
  INSERT INTO `$table_name` (postnumber, cntaccess, dp_date, blog_id) (
186
  SELECT
@@ -195,7 +198,7 @@ function tptn_merge_blogids( $daily = false ) {
195
  "
196
  );
197
  } else {
198
- $wpdb->query(
199
  "
200
  INSERT INTO `$table_name` (postnumber, cntaccess, blog_id) (
201
  SELECT
@@ -239,3 +242,30 @@ function tptn_recreate_primary_key() {
239
  $wpdb->show_errors();
240
  }
241
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  <input name="tptn_recreate_primary_key" type="submit" id="tptn_recreate_primary_key" value="<?php esc_attr_e( 'Recreate Primary Key', 'top-10' ); ?>" class="button button-secondary" />
89
  </p>
90
  <p class="description">
91
+ <?php esc_html_e( 'Deletes and reinitializes the primary key in the database tables. If the above function gives an error, then you can run the below code in phpMyAdmin or Adminer. Remember to backup your database first!', 'top-10' ); ?>
92
+ </p>
93
+ <p>
94
+ <code style="display:block;"><?php echo tptn_recreate_primary_key_html(); // WPCS: XSS ok. ?></code>
95
  </p>
96
 
97
  <h2 style="padding-left:0px"><?php esc_html_e( 'Reset database', 'top-10' ); ?></h2>
183
  }
184
 
185
  if ( $daily ) {
186
+ $wpdb->query( // WPCS: unprepared SQL OK.
187
  "
188
  INSERT INTO `$table_name` (postnumber, cntaccess, dp_date, blog_id) (
189
  SELECT
198
  "
199
  );
200
  } else {
201
+ $wpdb->query( // WPCS: unprepared SQL OK.
202
  "
203
  INSERT INTO `$table_name` (postnumber, cntaccess, blog_id) (
204
  SELECT
242
  $wpdb->show_errors();
243
  }
244
 
245
+ /**
246
+ * Retrieves the SQL code to recreate the PRIMARY KEY.
247
+ *
248
+ * @since 2.5.7
249
+ */
250
+ function tptn_recreate_primary_key_html() {
251
+ global $wpdb;
252
+
253
+ $table_name = $wpdb->base_prefix . 'top_ten';
254
+ $table_name_daily = $wpdb->base_prefix . 'top_ten_daily';
255
+
256
+ $sql = 'ALTER TABLE ' . $table_name . ' DROP PRIMARY KEY; ';
257
+ $sql .= '<br />';
258
+ $sql .= 'ALTER TABLE ' . $table_name_daily . ' DROP PRIMARY KEY; ';
259
+ $sql .= '<br />';
260
+ $sql .= 'ALTER TABLE ' . $table_name . ' ADD PRIMARY KEY(postnumber, blog_id); ';
261
+ $sql .= '<br />';
262
+ $sql .= 'ALTER TABLE ' . $table_name_daily . ' ADD PRIMARY KEY(postnumber, dp_date, blog_id); ';
263
+
264
+ /**
265
+ * Filters the SQL code to recreate the PRIMARY KEY.
266
+ *
267
+ * @since 2.5.7
268
+ * @param string $sql SQL code to recreate PRIMARY KEY.
269
+ */
270
+ return apply_filters( 'tptn_recreate_primary_key_html', $sql );
271
+ }
includes/counter.php CHANGED
@@ -16,7 +16,7 @@ function tptn_pc_content( $content ) {
16
  global $post;
17
 
18
  $exclude_on_post_ids = explode( ',', tptn_get_option( 'exclude_on_post_ids' ) );
19
- $add_to = tptn_get_option( 'add_to' );
20
 
21
  if ( isset( $post ) ) {
22
  if ( in_array( $post->ID, $exclude_on_post_ids ) ) {
@@ -56,7 +56,7 @@ function tptn_rss_filter( $content ) {
56
 
57
  $id = intval( $post->ID );
58
 
59
- $add_to = tptn_get_option( 'add_to' );
60
 
61
  if ( ! empty( $add_to['feed'] ) ) {
62
  return $content . '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
16
  global $post;
17
 
18
  $exclude_on_post_ids = explode( ',', tptn_get_option( 'exclude_on_post_ids' ) );
19
+ $add_to = tptn_get_option( 'add_to', false );
20
 
21
  if ( isset( $post ) ) {
22
  if ( in_array( $post->ID, $exclude_on_post_ids ) ) {
56
 
57
  $id = intval( $post->ID );
58
 
59
+ $add_to = tptn_get_option( 'add_to', false );
60
 
61
  if ( ! empty( $add_to['feed'] ) ) {
62
  return $content . '<div class="tptn_counter" id="tptn_counter_' . $id . '">' . get_tptn_post_count( $id ) . '</div>';
includes/formatting.php CHANGED
@@ -25,7 +25,7 @@ function tptn_excerpt( $id, $excerpt_length = 0, $use_excerpt = true ) {
25
  $content = get_post( $id )->post_content;
26
  }
27
 
28
- $output = strip_tags( strip_shortcodes( $content ) );
29
 
30
  if ( $excerpt_length > 0 ) {
31
  $output = wp_trim_words( $output, $excerpt_length );
25
  $content = get_post( $id )->post_content;
26
  }
27
 
28
+ $output = wp_strip_all_tags( strip_shortcodes( $content ) );
29
 
30
  if ( $excerpt_length > 0 ) {
31
  $output = wp_trim_words( $output, $excerpt_length );
includes/modules/class-top-ten-count-widget.php CHANGED
@@ -80,7 +80,7 @@ class Top_Ten_Count_Widget extends WP_Widget {
80
  */
81
  public function update( $new_instance, $old_instance ) {
82
  $instance = $old_instance;
83
- $instance['title'] = strip_tags( $new_instance['title'] );
84
 
85
  /**
86
  * Filters Update widget options array.
80
  */
81
  public function update( $new_instance, $old_instance ) {
82
  $instance = $old_instance;
83
+ $instance['title'] = wp_strip_all_tags( $new_instance['title'] );
84
 
85
  /**
86
  * Filters Update widget options array.
includes/modules/class-top-ten-widget.php CHANGED
@@ -185,12 +185,12 @@ class Top_Ten_Widget extends WP_Widget {
185
  */
186
  public function update( $new_instance, $old_instance ) {
187
  $instance = $old_instance;
188
- $instance['title'] = strip_tags( $new_instance['title'] );
189
  $instance['limit'] = $new_instance['limit'];
190
  $instance['offset'] = $new_instance['offset'];
191
  $instance['daily'] = $new_instance['daily'];
192
- $instance['daily_range'] = strip_tags( $new_instance['daily_range'] );
193
- $instance['hour_range'] = strip_tags( $new_instance['hour_range'] );
194
  $instance['disp_list_count'] = isset( $new_instance['disp_list_count'] ) ? true : false;
195
  $instance['show_excerpt'] = isset( $new_instance['show_excerpt'] ) ? true : false;
196
  $instance['show_author'] = isset( $new_instance['show_author'] ) ? true : false;
@@ -239,7 +239,7 @@ class Top_Ten_Widget extends WP_Widget {
239
  }
240
  }
241
 
242
- $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? strip_tags( tptn_get_option( 'title' ) ) : $instance['title'] );
243
 
244
  $limit = isset( $instance['limit'] ) ? $instance['limit'] : tptn_get_option( 'limit' );
245
  if ( empty( $limit ) ) {
185
  */
186
  public function update( $new_instance, $old_instance ) {
187
  $instance = $old_instance;
188
+ $instance['title'] = wp_strip_all_tags( $new_instance['title'] );
189
  $instance['limit'] = $new_instance['limit'];
190
  $instance['offset'] = $new_instance['offset'];
191
  $instance['daily'] = $new_instance['daily'];
192
+ $instance['daily_range'] = wp_strip_all_tags( $new_instance['daily_range'] );
193
+ $instance['hour_range'] = wp_strip_all_tags( $new_instance['hour_range'] );
194
  $instance['disp_list_count'] = isset( $new_instance['disp_list_count'] ) ? true : false;
195
  $instance['show_excerpt'] = isset( $new_instance['show_excerpt'] ) ? true : false;
196
  $instance['show_author'] = isset( $new_instance['show_author'] ) ? true : false;
239
  }
240
  }
241
 
242
+ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? wp_strip_all_tags( tptn_get_option( 'title' ) ) : $instance['title'] );
243
 
244
  $limit = isset( $instance['limit'] ) ? $instance['limit'] : tptn_get_option( 'limit' );
245
  if ( empty( $limit ) ) {
includes/modules/shortcode.php CHANGED
@@ -25,7 +25,9 @@ function tptn_shortcode( $atts, $content = null ) {
25
  'is_shortcode' => 1,
26
  'offset' => 0,
27
  )
28
- ), $atts, 'top-10'
 
 
29
  );
30
 
31
  return tptn_pop_posts( $atts );
@@ -45,7 +47,8 @@ function tptn_shortcode_views( $atts, $content = null ) {
45
  $a = shortcode_atts(
46
  array(
47
  'daily' => '0',
48
- ), $atts
 
49
  );
50
 
51
  return get_tptn_post_count_only( get_the_ID(), ( $a['daily'] ? 'daily' : 'total' ) );
25
  'is_shortcode' => 1,
26
  'offset' => 0,
27
  )
28
+ ),
29
+ $atts,
30
+ 'top-10'
31
  );
32
 
33
  return tptn_pop_posts( $atts );
47
  $a = shortcode_atts(
48
  array(
49
  'daily' => '0',
50
+ ),
51
+ $atts
52
  );
53
 
54
  return get_tptn_post_count_only( get_the_ID(), ( $a['daily'] ? 'daily' : 'total' ) );
includes/public/display-posts.php CHANGED
@@ -22,7 +22,7 @@ function tptn_pop_posts( $args ) {
22
  global $tptn_settings;
23
 
24
  // if set, save $exclude_categories.
25
- if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) {
26
  $exclude_categories = explode( ',', $args['exclude_categories'] );
27
  $args['strict_limit'] = false;
28
  }
@@ -387,7 +387,7 @@ function get_tptn_pop_posts( $args = array() ) {
387
  // Convert it back to string.
388
  $exclude_post_ids = implode( ',', array_filter( $exclude_post_ids ) );
389
 
390
- if ( '' != $exclude_post_ids ) {
391
  $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
392
  }
393
  $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types.
22
  global $tptn_settings;
23
 
24
  // if set, save $exclude_categories.
25
+ if ( isset( $args['exclude_categories'] ) && '' != $args['exclude_categories'] ) { // WPCS: loose comparison ok.
26
  $exclude_categories = explode( ',', $args['exclude_categories'] );
27
  $args['strict_limit'] = false;
28
  }
387
  // Convert it back to string.
388
  $exclude_post_ids = implode( ',', array_filter( $exclude_post_ids ) );
389
 
390
+ if ( '' != $exclude_post_ids ) { // WPCS: loose comparison ok.
391
  $where .= " AND $wpdb->posts.ID NOT IN ({$exclude_post_ids}) ";
392
  }
393
  $where .= " AND $wpdb->posts.post_type IN ('" . join( "', '", $post_types ) . "') "; // Array of post types.
includes/public/output-generator.php CHANGED
@@ -237,7 +237,7 @@ function tptn_author( $args, $result ) {
237
  $author_name = apply_filters( 'tptn_author_name', $author_name, $author_info );
238
 
239
  if ( ! empty( $author_name ) ) {
240
- $tptn_author = '<span class="crp_author"> ' . __( ' by ', 'contextual-related-posts' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
241
  } else {
242
  $tptn_author = '';
243
  }
237
  $author_name = apply_filters( 'tptn_author_name', $author_name, $author_info );
238
 
239
  if ( ! empty( $author_name ) ) {
240
+ $tptn_author = '<span class="crp_author"> ' . __( ' by ', 'top-10' ) . '<a href="' . $author_link . '">' . $author_name . '</a></span> ';
241
  } else {
242
  $tptn_author = '';
243
  }
includes/public/styles.php CHANGED
@@ -15,8 +15,8 @@ function tptn_header() {
15
  $tptn_custom_css = stripslashes( tptn_get_option( 'custom_css' ) );
16
 
17
  // Add CSS to header.
18
- if ( '' != $tptn_custom_css ) {
19
- echo '<style type="text/css">' . $tptn_custom_css . '</style>';
20
  }
21
  }
22
  add_action( 'wp_head', 'tptn_header' );
15
  $tptn_custom_css = stripslashes( tptn_get_option( 'custom_css' ) );
16
 
17
  // Add CSS to header.
18
+ if ( '' != $tptn_custom_css ) { // WPCS: loose comparison ok.
19
+ echo '<style type="text/css">' . $tptn_custom_css . '</style>'; // WPCS: XSS ok.
20
  }
21
  }
22
  add_action( 'wp_head', 'tptn_header' );
includes/tracker.php CHANGED
@@ -203,9 +203,9 @@ function tptn_tracker_parser() {
203
  $top_ten_daily = $wpdb->base_prefix . 'top_ten_daily';
204
  $str = '';
205
 
206
- $id = isset( $_POST['top_ten_id'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['top_ten_id'] ) ) ) : 0; // Input var okay.
207
- $blog_id = isset( $_POST['top_ten_blog_id'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['top_ten_blog_id'] ) ) ) : 0; // Input var okay.
208
- $activate_counter = isset( $_POST['activate_counter'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['activate_counter'] ) ) ) : 0; // Input var okay.
209
 
210
  if ( $id > 0 ) {
211
 
203
  $top_ten_daily = $wpdb->base_prefix . 'top_ten_daily';
204
  $str = '';
205
 
206
+ $id = isset( $_POST['top_ten_id'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['top_ten_id'] ) ) ) : 0; // WPCS: CSRF ok.
207
+ $blog_id = isset( $_POST['top_ten_blog_id'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['top_ten_blog_id'] ) ) ) : 0; // WPCS: CSRF ok.
208
+ $activate_counter = isset( $_POST['activate_counter'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['activate_counter'] ) ) ) : 0; // WPCS: CSRF ok.
209
 
210
  if ( $id > 0 ) {
211
 
languages/top-10-en_US.mo CHANGED
Binary file
languages/top-10-en_US.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-11-26 11:13+0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
- "X-Generator: Poedit 2.0.4\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
@@ -44,7 +44,7 @@ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
44
  msgstr ""
45
 
46
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:44
47
- #: includes/admin/class-top-ten-statistics-table.php:574
48
  msgid "Popular Posts"
49
  msgstr ""
50
 
@@ -117,7 +117,7 @@ msgstr ""
117
  msgid "Settings"
118
  msgstr ""
119
 
120
- #: includes/admin/admin.php:37 includes/admin/tools.php:62
121
  msgid "Top 10 Tools"
122
  msgstr ""
123
 
@@ -126,7 +126,7 @@ msgid "Tools"
126
  msgstr ""
127
 
128
  #: includes/admin/admin.php:44
129
- #: includes/admin/class-top-ten-statistics-table.php:529
130
  msgid "Top 10 Popular Posts"
131
  msgstr ""
132
 
@@ -170,74 +170,74 @@ msgstr ""
170
  msgid "popular_posts"
171
  msgstr ""
172
 
173
- #: includes/admin/class-top-ten-statistics-table.php:208
174
  msgid "No popular posts available."
175
  msgstr ""
176
 
177
- #: includes/admin/class-top-ten-statistics-table.php:257
178
  msgid "View"
179
  msgstr ""
180
 
181
- #: includes/admin/class-top-ten-statistics-table.php:258
182
  msgid "Edit"
183
  msgstr ""
184
 
185
- #: includes/admin/class-top-ten-statistics-table.php:259
186
  msgid "Delete"
187
  msgstr ""
188
 
189
- #: includes/admin/class-top-ten-statistics-table.php:282
190
  msgid "Y/m/d g:i:s a"
191
  msgstr ""
192
 
193
- #: includes/admin/class-top-ten-statistics-table.php:290
194
  #, php-format
195
  msgid "%s ago"
196
  msgstr ""
197
 
198
- #: includes/admin/class-top-ten-statistics-table.php:292
199
  msgid "Y/m/d"
200
  msgstr ""
201
 
202
- #: includes/admin/class-top-ten-statistics-table.php:330
203
  #: includes/modules/class-top-ten-count-widget.php:53
204
  #: includes/modules/class-top-ten-widget.php:80
205
  msgid "Title"
206
  msgstr ""
207
 
208
- #: includes/admin/class-top-ten-statistics-table.php:331
209
  msgid "Total visits"
210
  msgstr ""
211
 
212
- #: includes/admin/class-top-ten-statistics-table.php:332
213
  msgid "Daily visits"
214
  msgstr ""
215
 
216
- #: includes/admin/class-top-ten-statistics-table.php:333
217
  msgid "Post type"
218
  msgstr ""
219
 
220
- #: includes/admin/class-top-ten-statistics-table.php:334
221
  msgid "Author"
222
  msgstr ""
223
 
224
- #: includes/admin/class-top-ten-statistics-table.php:335
225
  msgid "Date"
226
  msgstr ""
227
 
228
- #: includes/admin/class-top-ten-statistics-table.php:369
229
  msgid "Delete Count"
230
  msgstr ""
231
 
232
- #: includes/admin/class-top-ten-statistics-table.php:413
233
  msgid "Are you sure you want to do this"
234
  msgstr ""
235
 
236
- #: includes/admin/class-top-ten-statistics-table.php:469
237
  msgid "Filter"
238
  msgstr ""
239
 
240
- #: includes/admin/class-top-ten-statistics-table.php:549
241
  msgid "Search Table"
242
  msgstr ""
243
 
@@ -365,83 +365,83 @@ msgid ""
365
  "fixes for older versions of Top 10."
366
  msgstr ""
367
 
368
- #: includes/admin/register-settings.php:228
369
  msgid "Enable trackers"
370
  msgstr ""
371
 
372
- #: includes/admin/register-settings.php:237
373
  #: includes/modules/class-top-ten-widget.php:95
374
  msgid "Overall"
375
  msgstr ""
376
 
377
- #: includes/admin/register-settings.php:238
378
- #: includes/admin/register-settings.php:767
379
  msgid "Daily"
380
  msgstr ""
381
 
382
- #: includes/admin/register-settings.php:243
383
  msgid "Enable cache"
384
  msgstr ""
385
 
386
- #: includes/admin/register-settings.php:244
387
  msgid ""
388
  "If activated, Top 10 will use the Transients API to cache the popular posts "
389
  "output for 1 hour."
390
  msgstr ""
391
 
392
- #: includes/admin/register-settings.php:250
393
  msgid "Time to cache"
394
  msgstr ""
395
 
396
- #: includes/admin/register-settings.php:251
397
  msgid "Enter the number of seconds to cache the output."
398
  msgstr ""
399
 
400
- #: includes/admin/register-settings.php:257
401
  msgid "Start daily counts from midnight"
402
  msgstr ""
403
 
404
- #: includes/admin/register-settings.php:258
405
  msgid ""
406
  "Daily counter will display number of visits from midnight. This option is "
407
  "checked by default and mimics the way most normal counters work. Turning "
408
  "this off will allow you to use the hourly setting in the next option."
409
  msgstr ""
410
 
411
- #: includes/admin/register-settings.php:264
412
  msgid "Default custom period range"
413
  msgstr ""
414
 
415
- #: includes/admin/register-settings.php:265
416
  msgid ""
417
  "The next two options allow you to set the default range for the custom "
418
  "period. This was previously called the daily range. This can be overridden "
419
  "in the widget."
420
  msgstr ""
421
 
422
- #: includes/admin/register-settings.php:270
423
  msgid "Day(s)"
424
  msgstr ""
425
 
426
- #: includes/admin/register-settings.php:279
427
  msgid "Hour(s)"
428
  msgstr ""
429
 
430
- #: includes/admin/register-settings.php:289
431
  msgid "Delete options on uninstall"
432
  msgstr ""
433
 
434
- #: includes/admin/register-settings.php:290
435
  msgid ""
436
  "If this is checked, all settings related to Top 10 are removed from the "
437
  "database if you choose to uninstall/delete the plugin."
438
  msgstr ""
439
 
440
- #: includes/admin/register-settings.php:296
441
  msgid "Delete counter data on uninstall"
442
  msgstr ""
443
 
444
- #: includes/admin/register-settings.php:297
445
  msgid ""
446
  "If this is checked, the tables containing the counter statistics are removed "
447
  "from the database if you choose to uninstall/delete the plugin. Keep this "
@@ -449,93 +449,93 @@ msgid ""
449
  "counter data."
450
  msgstr ""
451
 
452
- #: includes/admin/register-settings.php:303
453
  msgid "Show metabox"
454
  msgstr ""
455
 
456
- #: includes/admin/register-settings.php:304
457
  msgid ""
458
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
459
  "Also applies to Pages and Custom Post Types."
460
  msgstr ""
461
 
462
- #: includes/admin/register-settings.php:310
463
  msgid "Limit meta box to Admins only"
464
  msgstr ""
465
 
466
- #: includes/admin/register-settings.php:311
467
  msgid ""
468
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
469
  "default, Contributors and above will be able to see the meta box. Applies "
470
  "only if the above option is selected."
471
  msgstr ""
472
 
473
- #: includes/admin/register-settings.php:317
474
  msgid "Link to Top 10 plugin page"
475
  msgstr ""
476
 
477
- #: includes/admin/register-settings.php:318
478
  msgid ""
479
  "A no-follow link to the plugin homepage will be added as the last item of "
480
  "the popular posts."
481
  msgstr ""
482
 
483
- #: includes/admin/register-settings.php:329
484
  msgid "Display number of views on"
485
  msgstr ""
486
 
487
- #: includes/admin/register-settings.php:331
488
- #: includes/admin/register-settings.php:494
489
  #, php-format
490
  msgid ""
491
  "If you choose to disable this, please add %1$s to your template file where "
492
  "you want it displayed"
493
  msgstr ""
494
 
495
- #: includes/admin/register-settings.php:338
496
  msgid "Posts"
497
  msgstr ""
498
 
499
- #: includes/admin/register-settings.php:339
500
  msgid "Pages"
501
  msgstr ""
502
 
503
- #: includes/admin/register-settings.php:340
504
  msgid "Home page"
505
  msgstr ""
506
 
507
- #: includes/admin/register-settings.php:341
508
  msgid "Feeds"
509
  msgstr ""
510
 
511
- #: includes/admin/register-settings.php:342
512
  msgid "Category archives"
513
  msgstr ""
514
 
515
- #: includes/admin/register-settings.php:343
516
  msgid "Tag archives"
517
  msgstr ""
518
 
519
- #: includes/admin/register-settings.php:344
520
  msgid "Other archives"
521
  msgstr ""
522
 
523
- #: includes/admin/register-settings.php:349
524
  msgid "Format to display the post views"
525
  msgstr ""
526
 
527
- #: includes/admin/register-settings.php:351
528
  #, php-format
529
  msgid ""
530
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
531
  "overall counts across all posts. Default display is %4$s"
532
  msgstr ""
533
 
534
- #: includes/admin/register-settings.php:357
535
  msgid "What do display when there are no visits?"
536
  msgstr ""
537
 
538
- #: includes/admin/register-settings.php:359
539
  msgid ""
540
  "This text applies only when there are 0 hits for the post and it isn't a "
541
  "single page. e.g. if you display post views on the homepage or archives then "
@@ -543,89 +543,89 @@ msgid ""
543
  "option."
544
  msgstr ""
545
 
546
- #: includes/admin/register-settings.php:365
547
  msgid "Always display latest post count"
548
  msgstr ""
549
 
550
- #: includes/admin/register-settings.php:366
551
  msgid ""
552
  "This option uses JavaScript and will increase your page load time. Turn this "
553
  "off if you are not using caching plugins or are OK with displaying older "
554
  "cached counts."
555
  msgstr ""
556
 
557
- #: includes/admin/register-settings.php:372
558
  msgid "Tracker type"
559
  msgstr ""
560
 
561
- #: includes/admin/register-settings.php:380
562
  msgid "Track user groups"
563
  msgstr ""
564
 
565
- #: includes/admin/register-settings.php:381
566
  msgid ""
567
  "Uncheck above to disable tracking if the current user falls into any one of "
568
  "these groups."
569
  msgstr ""
570
 
571
- #: includes/admin/register-settings.php:388
572
  msgid "Authors"
573
  msgstr ""
574
 
575
- #: includes/admin/register-settings.php:389
576
  msgid "Editors"
577
  msgstr ""
578
 
579
- #: includes/admin/register-settings.php:390
580
  msgid "Admins"
581
  msgstr ""
582
 
583
- #: includes/admin/register-settings.php:395
584
  msgid "Track logged-in users"
585
  msgstr ""
586
 
587
- #: includes/admin/register-settings.php:396
588
  msgid ""
589
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
590
  "tracked if this is disabled. Unchecking this will override the above setting."
591
  msgstr ""
592
 
593
- #: includes/admin/register-settings.php:402
594
  msgid "Page views in admin"
595
  msgstr ""
596
 
597
- #: includes/admin/register-settings.php:403
598
  msgid ""
599
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
600
  "and All Pages. You can selectively disable these by pulling down the Screen "
601
  "Options from the top right of the respective screens."
602
  msgstr ""
603
 
604
- #: includes/admin/register-settings.php:409
605
  msgid "Show views to non-admins"
606
  msgstr ""
607
 
608
- #: includes/admin/register-settings.php:410
609
  msgid ""
610
  "If you disable this then non-admins won't see the above columns or view the "
611
  "independent pages with the top posts."
612
  msgstr ""
613
 
614
- #: includes/admin/register-settings.php:421
615
  msgid "Number of posts to display"
616
  msgstr ""
617
 
618
- #: includes/admin/register-settings.php:422
619
  msgid ""
620
  "Maximum number of posts that will be displayed in the list. This option is "
621
  "used if you don not specify the number of posts in the widget or shortcodes"
622
  msgstr ""
623
 
624
- #: includes/admin/register-settings.php:429
625
  msgid "Published age of posts"
626
  msgstr ""
627
 
628
- #: includes/admin/register-settings.php:430
629
  msgid ""
630
  "This options allows you to only show posts that have been published within "
631
  "the above day range. Applies to both overall posts and daily posts lists. e."
@@ -633,43 +633,43 @@ msgid ""
633
  "posts lists. Enter 0 for no restriction."
634
  msgstr ""
635
 
636
- #: includes/admin/register-settings.php:436
637
  msgid "Post types to include"
638
  msgstr ""
639
 
640
- #: includes/admin/register-settings.php:437
641
  msgid ""
642
- "Select which post types you want to include in the list of posts. This field "
643
- "can be overridden using a comma separated list of post types when using the "
644
- "manual display."
645
  msgstr ""
646
 
647
- #: includes/admin/register-settings.php:443
648
  msgid "Post/page IDs to exclude"
649
  msgstr ""
650
 
651
- #: includes/admin/register-settings.php:444
652
  msgid ""
653
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
654
  "188,320,500"
655
  msgstr ""
656
 
657
- #: includes/admin/register-settings.php:450
658
  msgid "Exclude Categories"
659
  msgstr ""
660
 
661
- #: includes/admin/register-settings.php:451
662
  msgid ""
663
  "Comma separated list of category slugs. The field above has an autocomplete "
664
  "so simply start typing in the starting letters and it will prompt you with "
665
  "options. Does not support custom taxonomies."
666
  msgstr ""
667
 
668
- #: includes/admin/register-settings.php:462
669
  msgid "Exclude category IDs"
670
  msgstr ""
671
 
672
- #: includes/admin/register-settings.php:463
673
  msgid ""
674
  "This is a readonly field that is automatically populated based on the above "
675
  "input when the settings are saved. These might differ from the IDs visible "
@@ -677,144 +677,144 @@ msgid ""
677
  "term_taxonomy_id which is unique to this taxonomy."
678
  msgstr ""
679
 
680
- #: includes/admin/register-settings.php:470
681
  msgid "Customize the output"
682
  msgstr ""
683
 
684
- #: includes/admin/register-settings.php:476
685
  msgid "Heading of posts"
686
  msgstr ""
687
 
688
- #: includes/admin/register-settings.php:477
689
- #: includes/admin/register-settings.php:485
690
  msgid "Displayed before the list of the posts as a the master heading"
691
  msgstr ""
692
 
693
- #: includes/admin/register-settings.php:479
694
  msgid "Popular posts:"
695
  msgstr ""
696
 
697
- #: includes/admin/register-settings.php:484
698
  msgid "Heading of posts for daily/custom period lists"
699
  msgstr ""
700
 
701
- #: includes/admin/register-settings.php:487
702
  msgid "Currently trending:"
703
  msgstr ""
704
 
705
- #: includes/admin/register-settings.php:492
706
  msgid "Show when no posts are found"
707
  msgstr ""
708
 
709
- #: includes/admin/register-settings.php:498
710
  msgid "Blank output"
711
  msgstr ""
712
 
713
- #: includes/admin/register-settings.php:499
714
  msgid "Display custom text"
715
  msgstr ""
716
 
717
- #: includes/admin/register-settings.php:504
718
  msgid "Custom text"
719
  msgstr ""
720
 
721
- #: includes/admin/register-settings.php:505
722
  msgid ""
723
  "Enter the custom text that will be displayed if the second option is "
724
  "selected above"
725
  msgstr ""
726
 
727
- #: includes/admin/register-settings.php:507 includes/deprecated.php:173
728
  msgid "No top posts yet"
729
  msgstr ""
730
 
731
- #: includes/admin/register-settings.php:511
732
  msgid "Show post excerpt"
733
  msgstr ""
734
 
735
- #: includes/admin/register-settings.php:518
736
  msgid "Length of excerpt (in words)"
737
  msgstr ""
738
 
739
- #: includes/admin/register-settings.php:526
740
  msgid "Show date"
741
  msgstr ""
742
 
743
- #: includes/admin/register-settings.php:533
744
  msgid "Show author"
745
  msgstr ""
746
 
747
- #: includes/admin/register-settings.php:540
748
  msgid "Show number of views"
749
  msgstr ""
750
 
751
- #: includes/admin/register-settings.php:547
752
  msgid "Limit post title length (in characters)"
753
  msgstr ""
754
 
755
- #: includes/admin/register-settings.php:555
756
  msgid "Open links in new window"
757
  msgstr ""
758
 
759
- #: includes/admin/register-settings.php:562
760
  msgid "Add nofollow to links"
761
  msgstr ""
762
 
763
- #: includes/admin/register-settings.php:569
764
  msgid "Exclude display on these post IDs"
765
  msgstr ""
766
 
767
- #: includes/admin/register-settings.php:570
768
  msgid ""
769
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
770
  "on. e.g. 188,320,500"
771
  msgstr ""
772
 
773
- #: includes/admin/register-settings.php:576
774
  msgid "HTML to display"
775
  msgstr ""
776
 
777
- #: includes/admin/register-settings.php:582
778
  msgid "Before the list of posts"
779
  msgstr ""
780
 
781
- #: includes/admin/register-settings.php:589
782
  msgid "After the list of posts"
783
  msgstr ""
784
 
785
- #: includes/admin/register-settings.php:596
786
  msgid "Before each list item"
787
  msgstr ""
788
 
789
- #: includes/admin/register-settings.php:603
790
  msgid "After each list item"
791
  msgstr ""
792
 
793
- #: includes/admin/register-settings.php:615
794
  msgid "Location of the post thumbnail"
795
  msgstr ""
796
 
797
- #: includes/admin/register-settings.php:620
798
  msgid "Display thumbnails inline with posts, before title"
799
  msgstr ""
800
 
801
- #: includes/admin/register-settings.php:621
802
  msgid "Display thumbnails inline with posts, after title"
803
  msgstr ""
804
 
805
- #: includes/admin/register-settings.php:622
806
  msgid "Display only thumbnails, no text"
807
  msgstr ""
808
 
809
- #: includes/admin/register-settings.php:623
810
  msgid "Do not display thumbnails, only text"
811
  msgstr ""
812
 
813
- #: includes/admin/register-settings.php:628
814
  msgid "Thumbnail size"
815
  msgstr ""
816
 
817
- #: includes/admin/register-settings.php:630
818
  msgid ""
819
  "You can choose from existing image sizes above or create a custom size. If "
820
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -822,174 +822,174 @@ msgid ""
822
  "width and/or height below, existing images will not be automatically resized."
823
  msgstr ""
824
 
825
- #: includes/admin/register-settings.php:630
826
  #, php-format
827
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
828
  msgstr ""
829
 
830
- #: includes/admin/register-settings.php:637
831
  #: includes/modules/class-top-ten-widget.php:145
832
  msgid "Thumbnail width"
833
  msgstr ""
834
 
835
- #: includes/admin/register-settings.php:645
836
  #: includes/modules/class-top-ten-widget.php:139
837
  msgid "Thumbnail height"
838
  msgstr ""
839
 
840
- #: includes/admin/register-settings.php:653
841
  msgid "Hard crop thumbnails"
842
  msgstr ""
843
 
844
- #: includes/admin/register-settings.php:654
845
  msgid ""
846
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
847
  "above vs. maintaining proportions."
848
  msgstr ""
849
 
850
- #: includes/admin/register-settings.php:660
851
  msgid "Thumbnail size attributes"
852
  msgstr ""
853
 
854
- #: includes/admin/register-settings.php:666
855
  #, php-format
856
  msgid "Use CSS to set the width and height: e.g. %s"
857
  msgstr ""
858
 
859
- #: includes/admin/register-settings.php:668
860
  #, php-format
861
  msgid "Use HTML attributes to set the width and height: e.g. %s"
862
  msgstr ""
863
 
864
- #: includes/admin/register-settings.php:669
865
  msgid ""
866
  "No width or height set. You will need to use external styles to force any "
867
  "width or height of your choice."
868
  msgstr ""
869
 
870
- #: includes/admin/register-settings.php:674
871
  msgid "Thumbnail meta field name"
872
  msgstr ""
873
 
874
- #: includes/admin/register-settings.php:675
875
  msgid ""
876
  "The value of this field should contain the URL of the image and can be set "
877
  "in the metabox in the Edit Post screen"
878
  msgstr ""
879
 
880
- #: includes/admin/register-settings.php:681
881
  msgid "Get first image"
882
  msgstr ""
883
 
884
- #: includes/admin/register-settings.php:682
885
  msgid ""
886
  "The plugin will fetch the first image in the post content if this is "
887
  "enabled. This can slow down the loading of your page if the first image in "
888
  "the followed posts is large in file-size."
889
  msgstr ""
890
 
891
- #: includes/admin/register-settings.php:688
892
  msgid "Use default thumbnail?"
893
  msgstr ""
894
 
895
- #: includes/admin/register-settings.php:689
896
  msgid ""
897
  "If checked, when no thumbnail is found, show a default one from the URL "
898
  "below. If not checked and no thumbnail is found, no image will be shown."
899
  msgstr ""
900
 
901
- #: includes/admin/register-settings.php:695
902
- #: includes/admin/settings-page.php:684
903
  msgid "Default thumbnail"
904
  msgstr ""
905
 
906
- #: includes/admin/register-settings.php:696
907
  msgid ""
908
  "Enter the full URL of the image that you wish to display if no thumbnail is "
909
  "found. This image will be displayed below."
910
  msgstr ""
911
 
912
- #: includes/admin/register-settings.php:708
913
  msgid "Popular posts style"
914
  msgstr ""
915
 
916
- #: includes/admin/register-settings.php:716
917
  msgid "Custom CSS"
918
  msgstr ""
919
 
920
- #: includes/admin/register-settings.php:718
921
  #, php-format
922
  msgid ""
923
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
924
  "CSS classes to style."
925
  msgstr ""
926
 
927
- #: includes/admin/register-settings.php:729
928
  msgid "Enable scheduled maintenance"
929
  msgstr ""
930
 
931
- #: includes/admin/register-settings.php:730
932
  msgid ""
933
  "Cleaning the database at regular intervals could improve performance, "
934
  "especially on high traffic blogs. Enabling maintenance will automatically "
935
  "delete entries older than 90 days in the daily tables."
936
  msgstr ""
937
 
938
- #: includes/admin/register-settings.php:736
939
  msgid "Time to run maintenance"
940
  msgstr ""
941
 
942
- #: includes/admin/register-settings.php:737
943
  msgid "The next two options allow you to set the time to run the cron."
944
  msgstr ""
945
 
946
- #: includes/admin/register-settings.php:742
947
  msgid "Hour"
948
  msgstr ""
949
 
950
- #: includes/admin/register-settings.php:752
951
  msgid "Minute"
952
  msgstr ""
953
 
954
- #: includes/admin/register-settings.php:762
955
  msgid "Run maintenance"
956
  msgstr ""
957
 
958
- #: includes/admin/register-settings.php:768
959
  msgid "Weekly"
960
  msgstr ""
961
 
962
- #: includes/admin/register-settings.php:769
963
  msgid "Fortnightly"
964
  msgstr ""
965
 
966
- #: includes/admin/register-settings.php:770
967
  msgid "Monthly"
968
  msgstr ""
969
 
970
- #: includes/admin/register-settings.php:979
971
  msgid "No styles"
972
  msgstr ""
973
 
974
- #: includes/admin/register-settings.php:980
975
  msgid "Select this option if you plan to add your own styles"
976
  msgstr ""
977
 
978
- #: includes/admin/register-settings.php:984
979
  msgid "Text only"
980
  msgstr ""
981
 
982
- #: includes/admin/register-settings.php:985
983
  msgid ""
984
  "Disable thumbnails and no longer include the default style sheet included in "
985
  "the plugin"
986
  msgstr ""
987
 
988
- #: includes/admin/register-settings.php:989
989
  msgid "Left thumbnails"
990
  msgstr ""
991
 
992
- #: includes/admin/register-settings.php:990
993
  msgid ""
994
  "Enabling this option will set the post thumbnail to be before text. "
995
  "Disabling this option will not revert any settings."
@@ -1076,56 +1076,71 @@ msgid "Follow me"
1076
  msgstr ""
1077
 
1078
  #: includes/admin/tools.php:30
1079
- msgid "Top 10 popular posts reset"
1080
  msgstr ""
1081
 
1082
  #: includes/admin/tools.php:36
1083
- msgid "Top 10 daily popular posts reset"
1084
  msgstr ""
1085
 
1086
  #: includes/admin/tools.php:42
 
 
 
 
1087
  msgid "Old settings key has been deleted"
1088
  msgstr ""
1089
 
1090
- #: includes/admin/tools.php:49
1091
  msgid "Duplicate rows cleaned from the tables"
1092
  msgstr ""
1093
 
1094
- #: includes/admin/tools.php:56
1095
  msgid "Post counts across blog IDs 0 and 1 have been merged"
1096
  msgstr ""
1097
 
1098
- #: includes/admin/tools.php:72 includes/admin/tools.php:74
1099
  msgid "Clear cache"
1100
  msgstr ""
1101
 
1102
- #: includes/admin/tools.php:77
1103
  msgid ""
1104
  "Clear the Top 10 cache. This will also be cleared automatically when you "
1105
  "save the settings page."
1106
  msgstr ""
1107
 
1108
- #: includes/admin/tools.php:80
 
 
 
 
 
 
 
 
 
 
 
1109
  msgid "Reset database"
1110
  msgstr ""
1111
 
1112
- #: includes/admin/tools.php:82
1113
  msgid "Reset Popular Posts Network-wide"
1114
  msgstr ""
1115
 
1116
- #: includes/admin/tools.php:82
1117
  msgid "Are you sure you want to reset the popular posts?"
1118
  msgstr ""
1119
 
1120
- #: includes/admin/tools.php:83
1121
  msgid "Reset Daily Popular Posts Network-wide"
1122
  msgstr ""
1123
 
1124
- #: includes/admin/tools.php:83
1125
  msgid "Are you sure you want to reset the daily popular posts?"
1126
  msgstr ""
1127
 
1128
- #: includes/admin/tools.php:86
1129
  msgid ""
1130
  "This will reset the Top 10 tables. If you are running Top 10 on multisite "
1131
  "then it will delete the popular posts across the entire network. This cannot "
@@ -1133,19 +1148,19 @@ msgid ""
1133
  "proceeding"
1134
  msgstr ""
1135
 
1136
- #: includes/admin/tools.php:89
1137
  msgid "Other tools"
1138
  msgstr ""
1139
 
1140
- #: includes/admin/tools.php:91
1141
  msgid "Delete old settings"
1142
  msgstr ""
1143
 
1144
- #: includes/admin/tools.php:91
1145
  msgid "This will delete the settings before v2.5.x. Proceed?"
1146
  msgstr ""
1147
 
1148
- #: includes/admin/tools.php:94
1149
  msgid ""
1150
  "From v2.5.x, Top 10 stores the settings in a new key in the database. This "
1151
  "will delete the old settings for the current blog. It is recommended that "
@@ -1153,27 +1168,27 @@ msgid ""
1153
  "if you are comfortable with the new settings."
1154
  msgstr ""
1155
 
1156
- #: includes/admin/tools.php:98
1157
  msgid "Merge blog ID 0 and 1 post counts"
1158
  msgstr ""
1159
 
1160
- #: includes/admin/tools.php:98
1161
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1162
  msgstr ""
1163
 
1164
- #: includes/admin/tools.php:101
1165
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1166
  msgstr ""
1167
 
1168
- #: includes/admin/tools.php:105
1169
  msgid "Merge duplicates across blog IDs"
1170
  msgstr ""
1171
 
1172
- #: includes/admin/tools.php:105
1173
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1174
  msgstr ""
1175
 
1176
- #: includes/admin/tools.php:108
1177
  msgid ""
1178
  "In older versions, the plugin created entries with duplicate post IDs. "
1179
  "Clicking the button below will merge these duplicate IDs"
2
  msgstr ""
3
  "Project-Id-Version: Top 10\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2018-11-03 23:06+0000\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
8
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
13
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
14
  "esc_attr_e\n"
15
  "X-Poedit-Basepath: ..\n"
16
+ "X-Generator: Poedit 2.1.1\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: .\n"
44
  msgstr ""
45
 
46
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:44
47
+ #: includes/admin/class-top-ten-statistics-table.php:581
48
  msgid "Popular Posts"
49
  msgstr ""
50
 
117
  msgid "Settings"
118
  msgstr ""
119
 
120
+ #: includes/admin/admin.php:37 includes/admin/tools.php:68
121
  msgid "Top 10 Tools"
122
  msgstr ""
123
 
126
  msgstr ""
127
 
128
  #: includes/admin/admin.php:44
129
+ #: includes/admin/class-top-ten-statistics-table.php:536
130
  msgid "Top 10 Popular Posts"
131
  msgstr ""
132
 
170
  msgid "popular_posts"
171
  msgstr ""
172
 
173
+ #: includes/admin/class-top-ten-statistics-table.php:210
174
  msgid "No popular posts available."
175
  msgstr ""
176
 
177
+ #: includes/admin/class-top-ten-statistics-table.php:259
178
  msgid "View"
179
  msgstr ""
180
 
181
+ #: includes/admin/class-top-ten-statistics-table.php:260
182
  msgid "Edit"
183
  msgstr ""
184
 
185
+ #: includes/admin/class-top-ten-statistics-table.php:261
186
  msgid "Delete"
187
  msgstr ""
188
 
189
+ #: includes/admin/class-top-ten-statistics-table.php:284
190
  msgid "Y/m/d g:i:s a"
191
  msgstr ""
192
 
193
+ #: includes/admin/class-top-ten-statistics-table.php:292
194
  #, php-format
195
  msgid "%s ago"
196
  msgstr ""
197
 
198
+ #: includes/admin/class-top-ten-statistics-table.php:294
199
  msgid "Y/m/d"
200
  msgstr ""
201
 
202
+ #: includes/admin/class-top-ten-statistics-table.php:333
203
  #: includes/modules/class-top-ten-count-widget.php:53
204
  #: includes/modules/class-top-ten-widget.php:80
205
  msgid "Title"
206
  msgstr ""
207
 
208
+ #: includes/admin/class-top-ten-statistics-table.php:334
209
  msgid "Total visits"
210
  msgstr ""
211
 
212
+ #: includes/admin/class-top-ten-statistics-table.php:335
213
  msgid "Daily visits"
214
  msgstr ""
215
 
216
+ #: includes/admin/class-top-ten-statistics-table.php:336
217
  msgid "Post type"
218
  msgstr ""
219
 
220
+ #: includes/admin/class-top-ten-statistics-table.php:337
221
  msgid "Author"
222
  msgstr ""
223
 
224
+ #: includes/admin/class-top-ten-statistics-table.php:338
225
  msgid "Date"
226
  msgstr ""
227
 
228
+ #: includes/admin/class-top-ten-statistics-table.php:372
229
  msgid "Delete Count"
230
  msgstr ""
231
 
232
+ #: includes/admin/class-top-ten-statistics-table.php:416
233
  msgid "Are you sure you want to do this"
234
  msgstr ""
235
 
236
+ #: includes/admin/class-top-ten-statistics-table.php:472
237
  msgid "Filter"
238
  msgstr ""
239
 
240
+ #: includes/admin/class-top-ten-statistics-table.php:556
241
  msgid "Search Table"
242
  msgstr ""
243
 
365
  "fixes for older versions of Top 10."
366
  msgstr ""
367
 
368
+ #: includes/admin/register-settings.php:230
369
  msgid "Enable trackers"
370
  msgstr ""
371
 
372
+ #: includes/admin/register-settings.php:239
373
  #: includes/modules/class-top-ten-widget.php:95
374
  msgid "Overall"
375
  msgstr ""
376
 
377
+ #: includes/admin/register-settings.php:240
378
+ #: includes/admin/register-settings.php:774
379
  msgid "Daily"
380
  msgstr ""
381
 
382
+ #: includes/admin/register-settings.php:245
383
  msgid "Enable cache"
384
  msgstr ""
385
 
386
+ #: includes/admin/register-settings.php:246
387
  msgid ""
388
  "If activated, Top 10 will use the Transients API to cache the popular posts "
389
  "output for 1 hour."
390
  msgstr ""
391
 
392
+ #: includes/admin/register-settings.php:252
393
  msgid "Time to cache"
394
  msgstr ""
395
 
396
+ #: includes/admin/register-settings.php:253
397
  msgid "Enter the number of seconds to cache the output."
398
  msgstr ""
399
 
400
+ #: includes/admin/register-settings.php:259
401
  msgid "Start daily counts from midnight"
402
  msgstr ""
403
 
404
+ #: includes/admin/register-settings.php:260
405
  msgid ""
406
  "Daily counter will display number of visits from midnight. This option is "
407
  "checked by default and mimics the way most normal counters work. Turning "
408
  "this off will allow you to use the hourly setting in the next option."
409
  msgstr ""
410
 
411
+ #: includes/admin/register-settings.php:266
412
  msgid "Default custom period range"
413
  msgstr ""
414
 
415
+ #: includes/admin/register-settings.php:267
416
  msgid ""
417
  "The next two options allow you to set the default range for the custom "
418
  "period. This was previously called the daily range. This can be overridden "
419
  "in the widget."
420
  msgstr ""
421
 
422
+ #: includes/admin/register-settings.php:272
423
  msgid "Day(s)"
424
  msgstr ""
425
 
426
+ #: includes/admin/register-settings.php:281
427
  msgid "Hour(s)"
428
  msgstr ""
429
 
430
+ #: includes/admin/register-settings.php:291
431
  msgid "Delete options on uninstall"
432
  msgstr ""
433
 
434
+ #: includes/admin/register-settings.php:292
435
  msgid ""
436
  "If this is checked, all settings related to Top 10 are removed from the "
437
  "database if you choose to uninstall/delete the plugin."
438
  msgstr ""
439
 
440
+ #: includes/admin/register-settings.php:298
441
  msgid "Delete counter data on uninstall"
442
  msgstr ""
443
 
444
+ #: includes/admin/register-settings.php:299
445
  msgid ""
446
  "If this is checked, the tables containing the counter statistics are removed "
447
  "from the database if you choose to uninstall/delete the plugin. Keep this "
449
  "counter data."
450
  msgstr ""
451
 
452
+ #: includes/admin/register-settings.php:305
453
  msgid "Show metabox"
454
  msgstr ""
455
 
456
+ #: includes/admin/register-settings.php:306
457
  msgid ""
458
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
459
  "Also applies to Pages and Custom Post Types."
460
  msgstr ""
461
 
462
+ #: includes/admin/register-settings.php:312
463
  msgid "Limit meta box to Admins only"
464
  msgstr ""
465
 
466
+ #: includes/admin/register-settings.php:313
467
  msgid ""
468
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
469
  "default, Contributors and above will be able to see the meta box. Applies "
470
  "only if the above option is selected."
471
  msgstr ""
472
 
473
+ #: includes/admin/register-settings.php:319
474
  msgid "Link to Top 10 plugin page"
475
  msgstr ""
476
 
477
+ #: includes/admin/register-settings.php:320
478
  msgid ""
479
  "A no-follow link to the plugin homepage will be added as the last item of "
480
  "the popular posts."
481
  msgstr ""
482
 
483
+ #: includes/admin/register-settings.php:332
484
  msgid "Display number of views on"
485
  msgstr ""
486
 
487
+ #: includes/admin/register-settings.php:334
488
+ #: includes/admin/register-settings.php:498
489
  #, php-format
490
  msgid ""
491
  "If you choose to disable this, please add %1$s to your template file where "
492
  "you want it displayed"
493
  msgstr ""
494
 
495
+ #: includes/admin/register-settings.php:341
496
  msgid "Posts"
497
  msgstr ""
498
 
499
+ #: includes/admin/register-settings.php:342
500
  msgid "Pages"
501
  msgstr ""
502
 
503
+ #: includes/admin/register-settings.php:343
504
  msgid "Home page"
505
  msgstr ""
506
 
507
+ #: includes/admin/register-settings.php:344
508
  msgid "Feeds"
509
  msgstr ""
510
 
511
+ #: includes/admin/register-settings.php:345
512
  msgid "Category archives"
513
  msgstr ""
514
 
515
+ #: includes/admin/register-settings.php:346
516
  msgid "Tag archives"
517
  msgstr ""
518
 
519
+ #: includes/admin/register-settings.php:347
520
  msgid "Other archives"
521
  msgstr ""
522
 
523
+ #: includes/admin/register-settings.php:352
524
  msgid "Format to display the post views"
525
  msgstr ""
526
 
527
+ #: includes/admin/register-settings.php:354
528
  #, php-format
529
  msgid ""
530
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
531
  "overall counts across all posts. Default display is %4$s"
532
  msgstr ""
533
 
534
+ #: includes/admin/register-settings.php:360
535
  msgid "What do display when there are no visits?"
536
  msgstr ""
537
 
538
+ #: includes/admin/register-settings.php:362
539
  msgid ""
540
  "This text applies only when there are 0 hits for the post and it isn't a "
541
  "single page. e.g. if you display post views on the homepage or archives then "
543
  "option."
544
  msgstr ""
545
 
546
+ #: includes/admin/register-settings.php:368
547
  msgid "Always display latest post count"
548
  msgstr ""
549
 
550
+ #: includes/admin/register-settings.php:369
551
  msgid ""
552
  "This option uses JavaScript and will increase your page load time. Turn this "
553
  "off if you are not using caching plugins or are OK with displaying older "
554
  "cached counts."
555
  msgstr ""
556
 
557
+ #: includes/admin/register-settings.php:375
558
  msgid "Tracker type"
559
  msgstr ""
560
 
561
+ #: includes/admin/register-settings.php:383
562
  msgid "Track user groups"
563
  msgstr ""
564
 
565
+ #: includes/admin/register-settings.php:384
566
  msgid ""
567
  "Uncheck above to disable tracking if the current user falls into any one of "
568
  "these groups."
569
  msgstr ""
570
 
571
+ #: includes/admin/register-settings.php:391
572
  msgid "Authors"
573
  msgstr ""
574
 
575
+ #: includes/admin/register-settings.php:392
576
  msgid "Editors"
577
  msgstr ""
578
 
579
+ #: includes/admin/register-settings.php:393
580
  msgid "Admins"
581
  msgstr ""
582
 
583
+ #: includes/admin/register-settings.php:398
584
  msgid "Track logged-in users"
585
  msgstr ""
586
 
587
+ #: includes/admin/register-settings.php:399
588
  msgid ""
589
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
590
  "tracked if this is disabled. Unchecking this will override the above setting."
591
  msgstr ""
592
 
593
+ #: includes/admin/register-settings.php:405
594
  msgid "Page views in admin"
595
  msgstr ""
596
 
597
+ #: includes/admin/register-settings.php:406
598
  msgid ""
599
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
600
  "and All Pages. You can selectively disable these by pulling down the Screen "
601
  "Options from the top right of the respective screens."
602
  msgstr ""
603
 
604
+ #: includes/admin/register-settings.php:412
605
  msgid "Show views to non-admins"
606
  msgstr ""
607
 
608
+ #: includes/admin/register-settings.php:413
609
  msgid ""
610
  "If you disable this then non-admins won't see the above columns or view the "
611
  "independent pages with the top posts."
612
  msgstr ""
613
 
614
+ #: includes/admin/register-settings.php:425
615
  msgid "Number of posts to display"
616
  msgstr ""
617
 
618
+ #: includes/admin/register-settings.php:426
619
  msgid ""
620
  "Maximum number of posts that will be displayed in the list. This option is "
621
  "used if you don not specify the number of posts in the widget or shortcodes"
622
  msgstr ""
623
 
624
+ #: includes/admin/register-settings.php:433
625
  msgid "Published age of posts"
626
  msgstr ""
627
 
628
+ #: includes/admin/register-settings.php:434
629
  msgid ""
630
  "This options allows you to only show posts that have been published within "
631
  "the above day range. Applies to both overall posts and daily posts lists. e."
633
  "posts lists. Enter 0 for no restriction."
634
  msgstr ""
635
 
636
+ #: includes/admin/register-settings.php:440
637
  msgid "Post types to include"
638
  msgstr ""
639
 
640
+ #: includes/admin/register-settings.php:441
641
  msgid ""
642
+ "At least one option should be selected above. Select which post types you "
643
+ "want to include in the list of posts. This field can be overridden using a "
644
+ "comma separated list of post types when using the manual display."
645
  msgstr ""
646
 
647
+ #: includes/admin/register-settings.php:447
648
  msgid "Post/page IDs to exclude"
649
  msgstr ""
650
 
651
+ #: includes/admin/register-settings.php:448
652
  msgid ""
653
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
654
  "188,320,500"
655
  msgstr ""
656
 
657
+ #: includes/admin/register-settings.php:454
658
  msgid "Exclude Categories"
659
  msgstr ""
660
 
661
+ #: includes/admin/register-settings.php:455
662
  msgid ""
663
  "Comma separated list of category slugs. The field above has an autocomplete "
664
  "so simply start typing in the starting letters and it will prompt you with "
665
  "options. Does not support custom taxonomies."
666
  msgstr ""
667
 
668
+ #: includes/admin/register-settings.php:466
669
  msgid "Exclude category IDs"
670
  msgstr ""
671
 
672
+ #: includes/admin/register-settings.php:467
673
  msgid ""
674
  "This is a readonly field that is automatically populated based on the above "
675
  "input when the settings are saved. These might differ from the IDs visible "
677
  "term_taxonomy_id which is unique to this taxonomy."
678
  msgstr ""
679
 
680
+ #: includes/admin/register-settings.php:474
681
  msgid "Customize the output"
682
  msgstr ""
683
 
684
+ #: includes/admin/register-settings.php:480
685
  msgid "Heading of posts"
686
  msgstr ""
687
 
688
+ #: includes/admin/register-settings.php:481
689
+ #: includes/admin/register-settings.php:489
690
  msgid "Displayed before the list of the posts as a the master heading"
691
  msgstr ""
692
 
693
+ #: includes/admin/register-settings.php:483
694
  msgid "Popular posts:"
695
  msgstr ""
696
 
697
+ #: includes/admin/register-settings.php:488
698
  msgid "Heading of posts for daily/custom period lists"
699
  msgstr ""
700
 
701
+ #: includes/admin/register-settings.php:491
702
  msgid "Currently trending:"
703
  msgstr ""
704
 
705
+ #: includes/admin/register-settings.php:496
706
  msgid "Show when no posts are found"
707
  msgstr ""
708
 
709
+ #: includes/admin/register-settings.php:502
710
  msgid "Blank output"
711
  msgstr ""
712
 
713
+ #: includes/admin/register-settings.php:503
714
  msgid "Display custom text"
715
  msgstr ""
716
 
717
+ #: includes/admin/register-settings.php:508
718
  msgid "Custom text"
719
  msgstr ""
720
 
721
+ #: includes/admin/register-settings.php:509
722
  msgid ""
723
  "Enter the custom text that will be displayed if the second option is "
724
  "selected above"
725
  msgstr ""
726
 
727
+ #: includes/admin/register-settings.php:511 includes/deprecated.php:173
728
  msgid "No top posts yet"
729
  msgstr ""
730
 
731
+ #: includes/admin/register-settings.php:515
732
  msgid "Show post excerpt"
733
  msgstr ""
734
 
735
+ #: includes/admin/register-settings.php:522
736
  msgid "Length of excerpt (in words)"
737
  msgstr ""
738
 
739
+ #: includes/admin/register-settings.php:530
740
  msgid "Show date"
741
  msgstr ""
742
 
743
+ #: includes/admin/register-settings.php:537
744
  msgid "Show author"
745
  msgstr ""
746
 
747
+ #: includes/admin/register-settings.php:544
748
  msgid "Show number of views"
749
  msgstr ""
750
 
751
+ #: includes/admin/register-settings.php:551
752
  msgid "Limit post title length (in characters)"
753
  msgstr ""
754
 
755
+ #: includes/admin/register-settings.php:559
756
  msgid "Open links in new window"
757
  msgstr ""
758
 
759
+ #: includes/admin/register-settings.php:566
760
  msgid "Add nofollow to links"
761
  msgstr ""
762
 
763
+ #: includes/admin/register-settings.php:573
764
  msgid "Exclude display on these post IDs"
765
  msgstr ""
766
 
767
+ #: includes/admin/register-settings.php:574
768
  msgid ""
769
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
770
  "on. e.g. 188,320,500"
771
  msgstr ""
772
 
773
+ #: includes/admin/register-settings.php:580
774
  msgid "HTML to display"
775
  msgstr ""
776
 
777
+ #: includes/admin/register-settings.php:586
778
  msgid "Before the list of posts"
779
  msgstr ""
780
 
781
+ #: includes/admin/register-settings.php:593
782
  msgid "After the list of posts"
783
  msgstr ""
784
 
785
+ #: includes/admin/register-settings.php:600
786
  msgid "Before each list item"
787
  msgstr ""
788
 
789
+ #: includes/admin/register-settings.php:607
790
  msgid "After each list item"
791
  msgstr ""
792
 
793
+ #: includes/admin/register-settings.php:620
794
  msgid "Location of the post thumbnail"
795
  msgstr ""
796
 
797
+ #: includes/admin/register-settings.php:625
798
  msgid "Display thumbnails inline with posts, before title"
799
  msgstr ""
800
 
801
+ #: includes/admin/register-settings.php:626
802
  msgid "Display thumbnails inline with posts, after title"
803
  msgstr ""
804
 
805
+ #: includes/admin/register-settings.php:627
806
  msgid "Display only thumbnails, no text"
807
  msgstr ""
808
 
809
+ #: includes/admin/register-settings.php:628
810
  msgid "Do not display thumbnails, only text"
811
  msgstr ""
812
 
813
+ #: includes/admin/register-settings.php:633
814
  msgid "Thumbnail size"
815
  msgstr ""
816
 
817
+ #: includes/admin/register-settings.php:635
818
  msgid ""
819
  "You can choose from existing image sizes above or create a custom size. If "
820
  "you have chosen Custom size above, then enter the width, height and crop "
822
  "width and/or height below, existing images will not be automatically resized."
823
  msgstr ""
824
 
825
+ #: includes/admin/register-settings.php:635
826
  #, php-format
827
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
828
  msgstr ""
829
 
830
+ #: includes/admin/register-settings.php:642
831
  #: includes/modules/class-top-ten-widget.php:145
832
  msgid "Thumbnail width"
833
  msgstr ""
834
 
835
+ #: includes/admin/register-settings.php:650
836
  #: includes/modules/class-top-ten-widget.php:139
837
  msgid "Thumbnail height"
838
  msgstr ""
839
 
840
+ #: includes/admin/register-settings.php:658
841
  msgid "Hard crop thumbnails"
842
  msgstr ""
843
 
844
+ #: includes/admin/register-settings.php:659
845
  msgid ""
846
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
847
  "above vs. maintaining proportions."
848
  msgstr ""
849
 
850
+ #: includes/admin/register-settings.php:665
851
  msgid "Thumbnail size attributes"
852
  msgstr ""
853
 
854
+ #: includes/admin/register-settings.php:671
855
  #, php-format
856
  msgid "Use CSS to set the width and height: e.g. %s"
857
  msgstr ""
858
 
859
+ #: includes/admin/register-settings.php:673
860
  #, php-format
861
  msgid "Use HTML attributes to set the width and height: e.g. %s"
862
  msgstr ""
863
 
864
+ #: includes/admin/register-settings.php:674
865
  msgid ""
866
  "No width or height set. You will need to use external styles to force any "
867
  "width or height of your choice."
868
  msgstr ""
869
 
870
+ #: includes/admin/register-settings.php:679
871
  msgid "Thumbnail meta field name"
872
  msgstr ""
873
 
874
+ #: includes/admin/register-settings.php:680
875
  msgid ""
876
  "The value of this field should contain the URL of the image and can be set "
877
  "in the metabox in the Edit Post screen"
878
  msgstr ""
879
 
880
+ #: includes/admin/register-settings.php:686
881
  msgid "Get first image"
882
  msgstr ""
883
 
884
+ #: includes/admin/register-settings.php:687
885
  msgid ""
886
  "The plugin will fetch the first image in the post content if this is "
887
  "enabled. This can slow down the loading of your page if the first image in "
888
  "the followed posts is large in file-size."
889
  msgstr ""
890
 
891
+ #: includes/admin/register-settings.php:693
892
  msgid "Use default thumbnail?"
893
  msgstr ""
894
 
895
+ #: includes/admin/register-settings.php:694
896
  msgid ""
897
  "If checked, when no thumbnail is found, show a default one from the URL "
898
  "below. If not checked and no thumbnail is found, no image will be shown."
899
  msgstr ""
900
 
901
+ #: includes/admin/register-settings.php:700
902
+ #: includes/admin/settings-page.php:687
903
  msgid "Default thumbnail"
904
  msgstr ""
905
 
906
+ #: includes/admin/register-settings.php:701
907
  msgid ""
908
  "Enter the full URL of the image that you wish to display if no thumbnail is "
909
  "found. This image will be displayed below."
910
  msgstr ""
911
 
912
+ #: includes/admin/register-settings.php:714
913
  msgid "Popular posts style"
914
  msgstr ""
915
 
916
+ #: includes/admin/register-settings.php:722
917
  msgid "Custom CSS"
918
  msgstr ""
919
 
920
+ #: includes/admin/register-settings.php:724
921
  #, php-format
922
  msgid ""
923
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
924
  "CSS classes to style."
925
  msgstr ""
926
 
927
+ #: includes/admin/register-settings.php:736
928
  msgid "Enable scheduled maintenance"
929
  msgstr ""
930
 
931
+ #: includes/admin/register-settings.php:737
932
  msgid ""
933
  "Cleaning the database at regular intervals could improve performance, "
934
  "especially on high traffic blogs. Enabling maintenance will automatically "
935
  "delete entries older than 90 days in the daily tables."
936
  msgstr ""
937
 
938
+ #: includes/admin/register-settings.php:743
939
  msgid "Time to run maintenance"
940
  msgstr ""
941
 
942
+ #: includes/admin/register-settings.php:744
943
  msgid "The next two options allow you to set the time to run the cron."
944
  msgstr ""
945
 
946
+ #: includes/admin/register-settings.php:749
947
  msgid "Hour"
948
  msgstr ""
949
 
950
+ #: includes/admin/register-settings.php:759
951
  msgid "Minute"
952
  msgstr ""
953
 
954
+ #: includes/admin/register-settings.php:769
955
  msgid "Run maintenance"
956
  msgstr ""
957
 
958
+ #: includes/admin/register-settings.php:775
959
  msgid "Weekly"
960
  msgstr ""
961
 
962
+ #: includes/admin/register-settings.php:776
963
  msgid "Fortnightly"
964
  msgstr ""
965
 
966
+ #: includes/admin/register-settings.php:777
967
  msgid "Monthly"
968
  msgstr ""
969
 
970
+ #: includes/admin/register-settings.php:986
971
  msgid "No styles"
972
  msgstr ""
973
 
974
+ #: includes/admin/register-settings.php:987
975
  msgid "Select this option if you plan to add your own styles"
976
  msgstr ""
977
 
978
+ #: includes/admin/register-settings.php:991
979
  msgid "Text only"
980
  msgstr ""
981
 
982
+ #: includes/admin/register-settings.php:992
983
  msgid ""
984
  "Disable thumbnails and no longer include the default style sheet included in "
985
  "the plugin"
986
  msgstr ""
987
 
988
+ #: includes/admin/register-settings.php:996
989
  msgid "Left thumbnails"
990
  msgstr ""
991
 
992
+ #: includes/admin/register-settings.php:997
993
  msgid ""
994
  "Enabling this option will set the post thumbnail to be before text. "
995
  "Disabling this option will not revert any settings."
1076
  msgstr ""
1077
 
1078
  #: includes/admin/tools.php:30
1079
+ msgid "Primary Key has been recreated"
1080
  msgstr ""
1081
 
1082
  #: includes/admin/tools.php:36
1083
+ msgid "Top 10 popular posts reset"
1084
  msgstr ""
1085
 
1086
  #: includes/admin/tools.php:42
1087
+ msgid "Top 10 daily popular posts reset"
1088
+ msgstr ""
1089
+
1090
+ #: includes/admin/tools.php:48
1091
  msgid "Old settings key has been deleted"
1092
  msgstr ""
1093
 
1094
+ #: includes/admin/tools.php:55
1095
  msgid "Duplicate rows cleaned from the tables"
1096
  msgstr ""
1097
 
1098
+ #: includes/admin/tools.php:62
1099
  msgid "Post counts across blog IDs 0 and 1 have been merged"
1100
  msgstr ""
1101
 
1102
+ #: includes/admin/tools.php:78 includes/admin/tools.php:80
1103
  msgid "Clear cache"
1104
  msgstr ""
1105
 
1106
+ #: includes/admin/tools.php:83
1107
  msgid ""
1108
  "Clear the Top 10 cache. This will also be cleared automatically when you "
1109
  "save the settings page."
1110
  msgstr ""
1111
 
1112
+ #: includes/admin/tools.php:86 includes/admin/tools.php:88
1113
+ msgid "Recreate Primary Key"
1114
+ msgstr ""
1115
+
1116
+ #: includes/admin/tools.php:91
1117
+ msgid ""
1118
+ "Deletes and reinitializes the primary key in the database tables. If the "
1119
+ "above function gives an error, then you can run the below code in phpMyAdmin "
1120
+ "or Adminer. Remember to backup your database first!"
1121
+ msgstr ""
1122
+
1123
+ #: includes/admin/tools.php:97
1124
  msgid "Reset database"
1125
  msgstr ""
1126
 
1127
+ #: includes/admin/tools.php:99
1128
  msgid "Reset Popular Posts Network-wide"
1129
  msgstr ""
1130
 
1131
+ #: includes/admin/tools.php:99
1132
  msgid "Are you sure you want to reset the popular posts?"
1133
  msgstr ""
1134
 
1135
+ #: includes/admin/tools.php:100
1136
  msgid "Reset Daily Popular Posts Network-wide"
1137
  msgstr ""
1138
 
1139
+ #: includes/admin/tools.php:100
1140
  msgid "Are you sure you want to reset the daily popular posts?"
1141
  msgstr ""
1142
 
1143
+ #: includes/admin/tools.php:103
1144
  msgid ""
1145
  "This will reset the Top 10 tables. If you are running Top 10 on multisite "
1146
  "then it will delete the popular posts across the entire network. This cannot "
1148
  "proceeding"
1149
  msgstr ""
1150
 
1151
+ #: includes/admin/tools.php:106
1152
  msgid "Other tools"
1153
  msgstr ""
1154
 
1155
+ #: includes/admin/tools.php:108
1156
  msgid "Delete old settings"
1157
  msgstr ""
1158
 
1159
+ #: includes/admin/tools.php:108
1160
  msgid "This will delete the settings before v2.5.x. Proceed?"
1161
  msgstr ""
1162
 
1163
+ #: includes/admin/tools.php:111
1164
  msgid ""
1165
  "From v2.5.x, Top 10 stores the settings in a new key in the database. This "
1166
  "will delete the old settings for the current blog. It is recommended that "
1168
  "if you are comfortable with the new settings."
1169
  msgstr ""
1170
 
1171
+ #: includes/admin/tools.php:115
1172
  msgid "Merge blog ID 0 and 1 post counts"
1173
  msgstr ""
1174
 
1175
+ #: includes/admin/tools.php:115
1176
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1177
  msgstr ""
1178
 
1179
+ #: includes/admin/tools.php:118
1180
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1181
  msgstr ""
1182
 
1183
+ #: includes/admin/tools.php:122
1184
  msgid "Merge duplicates across blog IDs"
1185
  msgstr ""
1186
 
1187
+ #: includes/admin/tools.php:122
1188
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1189
  msgstr ""
1190
 
1191
+ #: includes/admin/tools.php:125
1192
  msgid ""
1193
  "In older versions, the plugin created entries with duplicate post IDs. "
1194
  "Clicking the button below will merge these duplicate IDs"
languages/top-10-en_US.pot CHANGED
@@ -3,7 +3,7 @@ msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
- "POT-Creation-Date: 2017-11-26 11:14+0000\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
@@ -14,7 +14,7 @@ msgstr ""
14
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
15
  "esc_attr_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
- "X-Generator: Poedit 2.0.4\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SearchPath-0: .\n"
@@ -45,7 +45,7 @@ msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
45
  msgstr ""
46
 
47
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:44
48
- #: includes/admin/class-top-ten-statistics-table.php:574
49
  msgid "Popular Posts"
50
  msgstr ""
51
 
@@ -118,7 +118,7 @@ msgstr ""
118
  msgid "Settings"
119
  msgstr ""
120
 
121
- #: includes/admin/admin.php:37 includes/admin/tools.php:62
122
  msgid "Top 10 Tools"
123
  msgstr ""
124
 
@@ -127,7 +127,7 @@ msgid "Tools"
127
  msgstr ""
128
 
129
  #: includes/admin/admin.php:44
130
- #: includes/admin/class-top-ten-statistics-table.php:529
131
  msgid "Top 10 Popular Posts"
132
  msgstr ""
133
 
@@ -171,74 +171,74 @@ msgstr ""
171
  msgid "popular_posts"
172
  msgstr ""
173
 
174
- #: includes/admin/class-top-ten-statistics-table.php:208
175
  msgid "No popular posts available."
176
  msgstr ""
177
 
178
- #: includes/admin/class-top-ten-statistics-table.php:257
179
  msgid "View"
180
  msgstr ""
181
 
182
- #: includes/admin/class-top-ten-statistics-table.php:258
183
  msgid "Edit"
184
  msgstr ""
185
 
186
- #: includes/admin/class-top-ten-statistics-table.php:259
187
  msgid "Delete"
188
  msgstr ""
189
 
190
- #: includes/admin/class-top-ten-statistics-table.php:282
191
  msgid "Y/m/d g:i:s a"
192
  msgstr ""
193
 
194
- #: includes/admin/class-top-ten-statistics-table.php:290
195
  #, php-format
196
  msgid "%s ago"
197
  msgstr ""
198
 
199
- #: includes/admin/class-top-ten-statistics-table.php:292
200
  msgid "Y/m/d"
201
  msgstr ""
202
 
203
- #: includes/admin/class-top-ten-statistics-table.php:330
204
  #: includes/modules/class-top-ten-count-widget.php:53
205
  #: includes/modules/class-top-ten-widget.php:80
206
  msgid "Title"
207
  msgstr ""
208
 
209
- #: includes/admin/class-top-ten-statistics-table.php:331
210
  msgid "Total visits"
211
  msgstr ""
212
 
213
- #: includes/admin/class-top-ten-statistics-table.php:332
214
  msgid "Daily visits"
215
  msgstr ""
216
 
217
- #: includes/admin/class-top-ten-statistics-table.php:333
218
  msgid "Post type"
219
  msgstr ""
220
 
221
- #: includes/admin/class-top-ten-statistics-table.php:334
222
  msgid "Author"
223
  msgstr ""
224
 
225
- #: includes/admin/class-top-ten-statistics-table.php:335
226
  msgid "Date"
227
  msgstr ""
228
 
229
- #: includes/admin/class-top-ten-statistics-table.php:369
230
  msgid "Delete Count"
231
  msgstr ""
232
 
233
- #: includes/admin/class-top-ten-statistics-table.php:413
234
  msgid "Are you sure you want to do this"
235
  msgstr ""
236
 
237
- #: includes/admin/class-top-ten-statistics-table.php:469
238
  msgid "Filter"
239
  msgstr ""
240
 
241
- #: includes/admin/class-top-ten-statistics-table.php:549
242
  msgid "Search Table"
243
  msgstr ""
244
 
@@ -366,83 +366,83 @@ msgid ""
366
  "fixes for older versions of Top 10."
367
  msgstr ""
368
 
369
- #: includes/admin/register-settings.php:228
370
  msgid "Enable trackers"
371
  msgstr ""
372
 
373
- #: includes/admin/register-settings.php:237
374
  #: includes/modules/class-top-ten-widget.php:95
375
  msgid "Overall"
376
  msgstr ""
377
 
378
- #: includes/admin/register-settings.php:238
379
- #: includes/admin/register-settings.php:767
380
  msgid "Daily"
381
  msgstr ""
382
 
383
- #: includes/admin/register-settings.php:243
384
  msgid "Enable cache"
385
  msgstr ""
386
 
387
- #: includes/admin/register-settings.php:244
388
  msgid ""
389
  "If activated, Top 10 will use the Transients API to cache the popular posts "
390
  "output for 1 hour."
391
  msgstr ""
392
 
393
- #: includes/admin/register-settings.php:250
394
  msgid "Time to cache"
395
  msgstr ""
396
 
397
- #: includes/admin/register-settings.php:251
398
  msgid "Enter the number of seconds to cache the output."
399
  msgstr ""
400
 
401
- #: includes/admin/register-settings.php:257
402
  msgid "Start daily counts from midnight"
403
  msgstr ""
404
 
405
- #: includes/admin/register-settings.php:258
406
  msgid ""
407
  "Daily counter will display number of visits from midnight. This option is "
408
  "checked by default and mimics the way most normal counters work. Turning "
409
  "this off will allow you to use the hourly setting in the next option."
410
  msgstr ""
411
 
412
- #: includes/admin/register-settings.php:264
413
  msgid "Default custom period range"
414
  msgstr ""
415
 
416
- #: includes/admin/register-settings.php:265
417
  msgid ""
418
  "The next two options allow you to set the default range for the custom "
419
  "period. This was previously called the daily range. This can be overridden "
420
  "in the widget."
421
  msgstr ""
422
 
423
- #: includes/admin/register-settings.php:270
424
  msgid "Day(s)"
425
  msgstr ""
426
 
427
- #: includes/admin/register-settings.php:279
428
  msgid "Hour(s)"
429
  msgstr ""
430
 
431
- #: includes/admin/register-settings.php:289
432
  msgid "Delete options on uninstall"
433
  msgstr ""
434
 
435
- #: includes/admin/register-settings.php:290
436
  msgid ""
437
  "If this is checked, all settings related to Top 10 are removed from the "
438
  "database if you choose to uninstall/delete the plugin."
439
  msgstr ""
440
 
441
- #: includes/admin/register-settings.php:296
442
  msgid "Delete counter data on uninstall"
443
  msgstr ""
444
 
445
- #: includes/admin/register-settings.php:297
446
  msgid ""
447
  "If this is checked, the tables containing the counter statistics are removed "
448
  "from the database if you choose to uninstall/delete the plugin. Keep this "
@@ -450,93 +450,93 @@ msgid ""
450
  "counter data."
451
  msgstr ""
452
 
453
- #: includes/admin/register-settings.php:303
454
  msgid "Show metabox"
455
  msgstr ""
456
 
457
- #: includes/admin/register-settings.php:304
458
  msgid ""
459
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
460
  "Also applies to Pages and Custom Post Types."
461
  msgstr ""
462
 
463
- #: includes/admin/register-settings.php:310
464
  msgid "Limit meta box to Admins only"
465
  msgstr ""
466
 
467
- #: includes/admin/register-settings.php:311
468
  msgid ""
469
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
470
  "default, Contributors and above will be able to see the meta box. Applies "
471
  "only if the above option is selected."
472
  msgstr ""
473
 
474
- #: includes/admin/register-settings.php:317
475
  msgid "Link to Top 10 plugin page"
476
  msgstr ""
477
 
478
- #: includes/admin/register-settings.php:318
479
  msgid ""
480
  "A no-follow link to the plugin homepage will be added as the last item of "
481
  "the popular posts."
482
  msgstr ""
483
 
484
- #: includes/admin/register-settings.php:329
485
  msgid "Display number of views on"
486
  msgstr ""
487
 
488
- #: includes/admin/register-settings.php:331
489
- #: includes/admin/register-settings.php:494
490
  #, php-format
491
  msgid ""
492
  "If you choose to disable this, please add %1$s to your template file where "
493
  "you want it displayed"
494
  msgstr ""
495
 
496
- #: includes/admin/register-settings.php:338
497
  msgid "Posts"
498
  msgstr ""
499
 
500
- #: includes/admin/register-settings.php:339
501
  msgid "Pages"
502
  msgstr ""
503
 
504
- #: includes/admin/register-settings.php:340
505
  msgid "Home page"
506
  msgstr ""
507
 
508
- #: includes/admin/register-settings.php:341
509
  msgid "Feeds"
510
  msgstr ""
511
 
512
- #: includes/admin/register-settings.php:342
513
  msgid "Category archives"
514
  msgstr ""
515
 
516
- #: includes/admin/register-settings.php:343
517
  msgid "Tag archives"
518
  msgstr ""
519
 
520
- #: includes/admin/register-settings.php:344
521
  msgid "Other archives"
522
  msgstr ""
523
 
524
- #: includes/admin/register-settings.php:349
525
  msgid "Format to display the post views"
526
  msgstr ""
527
 
528
- #: includes/admin/register-settings.php:351
529
  #, php-format
530
  msgid ""
531
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
532
  "overall counts across all posts. Default display is %4$s"
533
  msgstr ""
534
 
535
- #: includes/admin/register-settings.php:357
536
  msgid "What do display when there are no visits?"
537
  msgstr ""
538
 
539
- #: includes/admin/register-settings.php:359
540
  msgid ""
541
  "This text applies only when there are 0 hits for the post and it isn't a "
542
  "single page. e.g. if you display post views on the homepage or archives then "
@@ -544,89 +544,89 @@ msgid ""
544
  "option."
545
  msgstr ""
546
 
547
- #: includes/admin/register-settings.php:365
548
  msgid "Always display latest post count"
549
  msgstr ""
550
 
551
- #: includes/admin/register-settings.php:366
552
  msgid ""
553
  "This option uses JavaScript and will increase your page load time. Turn this "
554
  "off if you are not using caching plugins or are OK with displaying older "
555
  "cached counts."
556
  msgstr ""
557
 
558
- #: includes/admin/register-settings.php:372
559
  msgid "Tracker type"
560
  msgstr ""
561
 
562
- #: includes/admin/register-settings.php:380
563
  msgid "Track user groups"
564
  msgstr ""
565
 
566
- #: includes/admin/register-settings.php:381
567
  msgid ""
568
  "Uncheck above to disable tracking if the current user falls into any one of "
569
  "these groups."
570
  msgstr ""
571
 
572
- #: includes/admin/register-settings.php:388
573
  msgid "Authors"
574
  msgstr ""
575
 
576
- #: includes/admin/register-settings.php:389
577
  msgid "Editors"
578
  msgstr ""
579
 
580
- #: includes/admin/register-settings.php:390
581
  msgid "Admins"
582
  msgstr ""
583
 
584
- #: includes/admin/register-settings.php:395
585
  msgid "Track logged-in users"
586
  msgstr ""
587
 
588
- #: includes/admin/register-settings.php:396
589
  msgid ""
590
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
591
  "tracked if this is disabled. Unchecking this will override the above setting."
592
  msgstr ""
593
 
594
- #: includes/admin/register-settings.php:402
595
  msgid "Page views in admin"
596
  msgstr ""
597
 
598
- #: includes/admin/register-settings.php:403
599
  msgid ""
600
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
601
  "and All Pages. You can selectively disable these by pulling down the Screen "
602
  "Options from the top right of the respective screens."
603
  msgstr ""
604
 
605
- #: includes/admin/register-settings.php:409
606
  msgid "Show views to non-admins"
607
  msgstr ""
608
 
609
- #: includes/admin/register-settings.php:410
610
  msgid ""
611
  "If you disable this then non-admins won't see the above columns or view the "
612
  "independent pages with the top posts."
613
  msgstr ""
614
 
615
- #: includes/admin/register-settings.php:421
616
  msgid "Number of posts to display"
617
  msgstr ""
618
 
619
- #: includes/admin/register-settings.php:422
620
  msgid ""
621
  "Maximum number of posts that will be displayed in the list. This option is "
622
  "used if you don not specify the number of posts in the widget or shortcodes"
623
  msgstr ""
624
 
625
- #: includes/admin/register-settings.php:429
626
  msgid "Published age of posts"
627
  msgstr ""
628
 
629
- #: includes/admin/register-settings.php:430
630
  msgid ""
631
  "This options allows you to only show posts that have been published within "
632
  "the above day range. Applies to both overall posts and daily posts lists. e."
@@ -634,43 +634,43 @@ msgid ""
634
  "posts lists. Enter 0 for no restriction."
635
  msgstr ""
636
 
637
- #: includes/admin/register-settings.php:436
638
  msgid "Post types to include"
639
  msgstr ""
640
 
641
- #: includes/admin/register-settings.php:437
642
  msgid ""
643
- "Select which post types you want to include in the list of posts. This field "
644
- "can be overridden using a comma separated list of post types when using the "
645
- "manual display."
646
  msgstr ""
647
 
648
- #: includes/admin/register-settings.php:443
649
  msgid "Post/page IDs to exclude"
650
  msgstr ""
651
 
652
- #: includes/admin/register-settings.php:444
653
  msgid ""
654
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
655
  "188,320,500"
656
  msgstr ""
657
 
658
- #: includes/admin/register-settings.php:450
659
  msgid "Exclude Categories"
660
  msgstr ""
661
 
662
- #: includes/admin/register-settings.php:451
663
  msgid ""
664
  "Comma separated list of category slugs. The field above has an autocomplete "
665
  "so simply start typing in the starting letters and it will prompt you with "
666
  "options. Does not support custom taxonomies."
667
  msgstr ""
668
 
669
- #: includes/admin/register-settings.php:462
670
  msgid "Exclude category IDs"
671
  msgstr ""
672
 
673
- #: includes/admin/register-settings.php:463
674
  msgid ""
675
  "This is a readonly field that is automatically populated based on the above "
676
  "input when the settings are saved. These might differ from the IDs visible "
@@ -678,144 +678,144 @@ msgid ""
678
  "term_taxonomy_id which is unique to this taxonomy."
679
  msgstr ""
680
 
681
- #: includes/admin/register-settings.php:470
682
  msgid "Customize the output"
683
  msgstr ""
684
 
685
- #: includes/admin/register-settings.php:476
686
  msgid "Heading of posts"
687
  msgstr ""
688
 
689
- #: includes/admin/register-settings.php:477
690
- #: includes/admin/register-settings.php:485
691
  msgid "Displayed before the list of the posts as a the master heading"
692
  msgstr ""
693
 
694
- #: includes/admin/register-settings.php:479
695
  msgid "Popular posts:"
696
  msgstr ""
697
 
698
- #: includes/admin/register-settings.php:484
699
  msgid "Heading of posts for daily/custom period lists"
700
  msgstr ""
701
 
702
- #: includes/admin/register-settings.php:487
703
  msgid "Currently trending:"
704
  msgstr ""
705
 
706
- #: includes/admin/register-settings.php:492
707
  msgid "Show when no posts are found"
708
  msgstr ""
709
 
710
- #: includes/admin/register-settings.php:498
711
  msgid "Blank output"
712
  msgstr ""
713
 
714
- #: includes/admin/register-settings.php:499
715
  msgid "Display custom text"
716
  msgstr ""
717
 
718
- #: includes/admin/register-settings.php:504
719
  msgid "Custom text"
720
  msgstr ""
721
 
722
- #: includes/admin/register-settings.php:505
723
  msgid ""
724
  "Enter the custom text that will be displayed if the second option is "
725
  "selected above"
726
  msgstr ""
727
 
728
- #: includes/admin/register-settings.php:507 includes/deprecated.php:173
729
  msgid "No top posts yet"
730
  msgstr ""
731
 
732
- #: includes/admin/register-settings.php:511
733
  msgid "Show post excerpt"
734
  msgstr ""
735
 
736
- #: includes/admin/register-settings.php:518
737
  msgid "Length of excerpt (in words)"
738
  msgstr ""
739
 
740
- #: includes/admin/register-settings.php:526
741
  msgid "Show date"
742
  msgstr ""
743
 
744
- #: includes/admin/register-settings.php:533
745
  msgid "Show author"
746
  msgstr ""
747
 
748
- #: includes/admin/register-settings.php:540
749
  msgid "Show number of views"
750
  msgstr ""
751
 
752
- #: includes/admin/register-settings.php:547
753
  msgid "Limit post title length (in characters)"
754
  msgstr ""
755
 
756
- #: includes/admin/register-settings.php:555
757
  msgid "Open links in new window"
758
  msgstr ""
759
 
760
- #: includes/admin/register-settings.php:562
761
  msgid "Add nofollow to links"
762
  msgstr ""
763
 
764
- #: includes/admin/register-settings.php:569
765
  msgid "Exclude display on these post IDs"
766
  msgstr ""
767
 
768
- #: includes/admin/register-settings.php:570
769
  msgid ""
770
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
771
  "on. e.g. 188,320,500"
772
  msgstr ""
773
 
774
- #: includes/admin/register-settings.php:576
775
  msgid "HTML to display"
776
  msgstr ""
777
 
778
- #: includes/admin/register-settings.php:582
779
  msgid "Before the list of posts"
780
  msgstr ""
781
 
782
- #: includes/admin/register-settings.php:589
783
  msgid "After the list of posts"
784
  msgstr ""
785
 
786
- #: includes/admin/register-settings.php:596
787
  msgid "Before each list item"
788
  msgstr ""
789
 
790
- #: includes/admin/register-settings.php:603
791
  msgid "After each list item"
792
  msgstr ""
793
 
794
- #: includes/admin/register-settings.php:615
795
  msgid "Location of the post thumbnail"
796
  msgstr ""
797
 
798
- #: includes/admin/register-settings.php:620
799
  msgid "Display thumbnails inline with posts, before title"
800
  msgstr ""
801
 
802
- #: includes/admin/register-settings.php:621
803
  msgid "Display thumbnails inline with posts, after title"
804
  msgstr ""
805
 
806
- #: includes/admin/register-settings.php:622
807
  msgid "Display only thumbnails, no text"
808
  msgstr ""
809
 
810
- #: includes/admin/register-settings.php:623
811
  msgid "Do not display thumbnails, only text"
812
  msgstr ""
813
 
814
- #: includes/admin/register-settings.php:628
815
  msgid "Thumbnail size"
816
  msgstr ""
817
 
818
- #: includes/admin/register-settings.php:630
819
  msgid ""
820
  "You can choose from existing image sizes above or create a custom size. If "
821
  "you have chosen Custom size above, then enter the width, height and crop "
@@ -823,174 +823,174 @@ msgid ""
823
  "width and/or height below, existing images will not be automatically resized."
824
  msgstr ""
825
 
826
- #: includes/admin/register-settings.php:630
827
  #, php-format
828
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
829
  msgstr ""
830
 
831
- #: includes/admin/register-settings.php:637
832
  #: includes/modules/class-top-ten-widget.php:145
833
  msgid "Thumbnail width"
834
  msgstr ""
835
 
836
- #: includes/admin/register-settings.php:645
837
  #: includes/modules/class-top-ten-widget.php:139
838
  msgid "Thumbnail height"
839
  msgstr ""
840
 
841
- #: includes/admin/register-settings.php:653
842
  msgid "Hard crop thumbnails"
843
  msgstr ""
844
 
845
- #: includes/admin/register-settings.php:654
846
  msgid ""
847
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
848
  "above vs. maintaining proportions."
849
  msgstr ""
850
 
851
- #: includes/admin/register-settings.php:660
852
  msgid "Thumbnail size attributes"
853
  msgstr ""
854
 
855
- #: includes/admin/register-settings.php:666
856
  #, php-format
857
  msgid "Use CSS to set the width and height: e.g. %s"
858
  msgstr ""
859
 
860
- #: includes/admin/register-settings.php:668
861
  #, php-format
862
  msgid "Use HTML attributes to set the width and height: e.g. %s"
863
  msgstr ""
864
 
865
- #: includes/admin/register-settings.php:669
866
  msgid ""
867
  "No width or height set. You will need to use external styles to force any "
868
  "width or height of your choice."
869
  msgstr ""
870
 
871
- #: includes/admin/register-settings.php:674
872
  msgid "Thumbnail meta field name"
873
  msgstr ""
874
 
875
- #: includes/admin/register-settings.php:675
876
  msgid ""
877
  "The value of this field should contain the URL of the image and can be set "
878
  "in the metabox in the Edit Post screen"
879
  msgstr ""
880
 
881
- #: includes/admin/register-settings.php:681
882
  msgid "Get first image"
883
  msgstr ""
884
 
885
- #: includes/admin/register-settings.php:682
886
  msgid ""
887
  "The plugin will fetch the first image in the post content if this is "
888
  "enabled. This can slow down the loading of your page if the first image in "
889
  "the followed posts is large in file-size."
890
  msgstr ""
891
 
892
- #: includes/admin/register-settings.php:688
893
  msgid "Use default thumbnail?"
894
  msgstr ""
895
 
896
- #: includes/admin/register-settings.php:689
897
  msgid ""
898
  "If checked, when no thumbnail is found, show a default one from the URL "
899
  "below. If not checked and no thumbnail is found, no image will be shown."
900
  msgstr ""
901
 
902
- #: includes/admin/register-settings.php:695
903
- #: includes/admin/settings-page.php:684
904
  msgid "Default thumbnail"
905
  msgstr ""
906
 
907
- #: includes/admin/register-settings.php:696
908
  msgid ""
909
  "Enter the full URL of the image that you wish to display if no thumbnail is "
910
  "found. This image will be displayed below."
911
  msgstr ""
912
 
913
- #: includes/admin/register-settings.php:708
914
  msgid "Popular posts style"
915
  msgstr ""
916
 
917
- #: includes/admin/register-settings.php:716
918
  msgid "Custom CSS"
919
  msgstr ""
920
 
921
- #: includes/admin/register-settings.php:718
922
  #, php-format
923
  msgid ""
924
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
925
  "CSS classes to style."
926
  msgstr ""
927
 
928
- #: includes/admin/register-settings.php:729
929
  msgid "Enable scheduled maintenance"
930
  msgstr ""
931
 
932
- #: includes/admin/register-settings.php:730
933
  msgid ""
934
  "Cleaning the database at regular intervals could improve performance, "
935
  "especially on high traffic blogs. Enabling maintenance will automatically "
936
  "delete entries older than 90 days in the daily tables."
937
  msgstr ""
938
 
939
- #: includes/admin/register-settings.php:736
940
  msgid "Time to run maintenance"
941
  msgstr ""
942
 
943
- #: includes/admin/register-settings.php:737
944
  msgid "The next two options allow you to set the time to run the cron."
945
  msgstr ""
946
 
947
- #: includes/admin/register-settings.php:742
948
  msgid "Hour"
949
  msgstr ""
950
 
951
- #: includes/admin/register-settings.php:752
952
  msgid "Minute"
953
  msgstr ""
954
 
955
- #: includes/admin/register-settings.php:762
956
  msgid "Run maintenance"
957
  msgstr ""
958
 
959
- #: includes/admin/register-settings.php:768
960
  msgid "Weekly"
961
  msgstr ""
962
 
963
- #: includes/admin/register-settings.php:769
964
  msgid "Fortnightly"
965
  msgstr ""
966
 
967
- #: includes/admin/register-settings.php:770
968
  msgid "Monthly"
969
  msgstr ""
970
 
971
- #: includes/admin/register-settings.php:979
972
  msgid "No styles"
973
  msgstr ""
974
 
975
- #: includes/admin/register-settings.php:980
976
  msgid "Select this option if you plan to add your own styles"
977
  msgstr ""
978
 
979
- #: includes/admin/register-settings.php:984
980
  msgid "Text only"
981
  msgstr ""
982
 
983
- #: includes/admin/register-settings.php:985
984
  msgid ""
985
  "Disable thumbnails and no longer include the default style sheet included in "
986
  "the plugin"
987
  msgstr ""
988
 
989
- #: includes/admin/register-settings.php:989
990
  msgid "Left thumbnails"
991
  msgstr ""
992
 
993
- #: includes/admin/register-settings.php:990
994
  msgid ""
995
  "Enabling this option will set the post thumbnail to be before text. "
996
  "Disabling this option will not revert any settings."
@@ -1077,56 +1077,71 @@ msgid "Follow me"
1077
  msgstr ""
1078
 
1079
  #: includes/admin/tools.php:30
1080
- msgid "Top 10 popular posts reset"
1081
  msgstr ""
1082
 
1083
  #: includes/admin/tools.php:36
1084
- msgid "Top 10 daily popular posts reset"
1085
  msgstr ""
1086
 
1087
  #: includes/admin/tools.php:42
 
 
 
 
1088
  msgid "Old settings key has been deleted"
1089
  msgstr ""
1090
 
1091
- #: includes/admin/tools.php:49
1092
  msgid "Duplicate rows cleaned from the tables"
1093
  msgstr ""
1094
 
1095
- #: includes/admin/tools.php:56
1096
  msgid "Post counts across blog IDs 0 and 1 have been merged"
1097
  msgstr ""
1098
 
1099
- #: includes/admin/tools.php:72 includes/admin/tools.php:74
1100
  msgid "Clear cache"
1101
  msgstr ""
1102
 
1103
- #: includes/admin/tools.php:77
1104
  msgid ""
1105
  "Clear the Top 10 cache. This will also be cleared automatically when you "
1106
  "save the settings page."
1107
  msgstr ""
1108
 
1109
- #: includes/admin/tools.php:80
 
 
 
 
 
 
 
 
 
 
 
1110
  msgid "Reset database"
1111
  msgstr ""
1112
 
1113
- #: includes/admin/tools.php:82
1114
  msgid "Reset Popular Posts Network-wide"
1115
  msgstr ""
1116
 
1117
- #: includes/admin/tools.php:82
1118
  msgid "Are you sure you want to reset the popular posts?"
1119
  msgstr ""
1120
 
1121
- #: includes/admin/tools.php:83
1122
  msgid "Reset Daily Popular Posts Network-wide"
1123
  msgstr ""
1124
 
1125
- #: includes/admin/tools.php:83
1126
  msgid "Are you sure you want to reset the daily popular posts?"
1127
  msgstr ""
1128
 
1129
- #: includes/admin/tools.php:86
1130
  msgid ""
1131
  "This will reset the Top 10 tables. If you are running Top 10 on multisite "
1132
  "then it will delete the popular posts across the entire network. This cannot "
@@ -1134,19 +1149,19 @@ msgid ""
1134
  "proceeding"
1135
  msgstr ""
1136
 
1137
- #: includes/admin/tools.php:89
1138
  msgid "Other tools"
1139
  msgstr ""
1140
 
1141
- #: includes/admin/tools.php:91
1142
  msgid "Delete old settings"
1143
  msgstr ""
1144
 
1145
- #: includes/admin/tools.php:91
1146
  msgid "This will delete the settings before v2.5.x. Proceed?"
1147
  msgstr ""
1148
 
1149
- #: includes/admin/tools.php:94
1150
  msgid ""
1151
  "From v2.5.x, Top 10 stores the settings in a new key in the database. This "
1152
  "will delete the old settings for the current blog. It is recommended that "
@@ -1154,27 +1169,27 @@ msgid ""
1154
  "if you are comfortable with the new settings."
1155
  msgstr ""
1156
 
1157
- #: includes/admin/tools.php:98
1158
  msgid "Merge blog ID 0 and 1 post counts"
1159
  msgstr ""
1160
 
1161
- #: includes/admin/tools.php:98
1162
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1163
  msgstr ""
1164
 
1165
- #: includes/admin/tools.php:101
1166
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1167
  msgstr ""
1168
 
1169
- #: includes/admin/tools.php:105
1170
  msgid "Merge duplicates across blog IDs"
1171
  msgstr ""
1172
 
1173
- #: includes/admin/tools.php:105
1174
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1175
  msgstr ""
1176
 
1177
- #: includes/admin/tools.php:108
1178
  msgid ""
1179
  "In older versions, the plugin created entries with duplicate post IDs. "
1180
  "Clicking the button below will merge these duplicate IDs"
3
  msgstr ""
4
  "Project-Id-Version: Top 10\n"
5
  "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2018-11-03 23:07+0000\n"
7
  "PO-Revision-Date: \n"
8
  "Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
9
  "Language-Team: WebberZone <plugins@webberzone.com>\n"
14
  "X-Poedit-KeywordsList: __;_e;_c;__ngettext;esc_html__;esc_attr__;esc_html_e;"
15
  "esc_attr_e\n"
16
  "X-Poedit-Basepath: ..\n"
17
+ "X-Generator: Poedit 2.1.1\n"
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
  "X-Poedit-SearchPath-0: .\n"
45
  msgstr ""
46
 
47
  #: includes/admin/admin-dashboard.php:127 includes/admin/admin.php:44
48
+ #: includes/admin/class-top-ten-statistics-table.php:581
49
  msgid "Popular Posts"
50
  msgstr ""
51
 
118
  msgid "Settings"
119
  msgstr ""
120
 
121
+ #: includes/admin/admin.php:37 includes/admin/tools.php:68
122
  msgid "Top 10 Tools"
123
  msgstr ""
124
 
127
  msgstr ""
128
 
129
  #: includes/admin/admin.php:44
130
+ #: includes/admin/class-top-ten-statistics-table.php:536
131
  msgid "Top 10 Popular Posts"
132
  msgstr ""
133
 
171
  msgid "popular_posts"
172
  msgstr ""
173
 
174
+ #: includes/admin/class-top-ten-statistics-table.php:210
175
  msgid "No popular posts available."
176
  msgstr ""
177
 
178
+ #: includes/admin/class-top-ten-statistics-table.php:259
179
  msgid "View"
180
  msgstr ""
181
 
182
+ #: includes/admin/class-top-ten-statistics-table.php:260
183
  msgid "Edit"
184
  msgstr ""
185
 
186
+ #: includes/admin/class-top-ten-statistics-table.php:261
187
  msgid "Delete"
188
  msgstr ""
189
 
190
+ #: includes/admin/class-top-ten-statistics-table.php:284
191
  msgid "Y/m/d g:i:s a"
192
  msgstr ""
193
 
194
+ #: includes/admin/class-top-ten-statistics-table.php:292
195
  #, php-format
196
  msgid "%s ago"
197
  msgstr ""
198
 
199
+ #: includes/admin/class-top-ten-statistics-table.php:294
200
  msgid "Y/m/d"
201
  msgstr ""
202
 
203
+ #: includes/admin/class-top-ten-statistics-table.php:333
204
  #: includes/modules/class-top-ten-count-widget.php:53
205
  #: includes/modules/class-top-ten-widget.php:80
206
  msgid "Title"
207
  msgstr ""
208
 
209
+ #: includes/admin/class-top-ten-statistics-table.php:334
210
  msgid "Total visits"
211
  msgstr ""
212
 
213
+ #: includes/admin/class-top-ten-statistics-table.php:335
214
  msgid "Daily visits"
215
  msgstr ""
216
 
217
+ #: includes/admin/class-top-ten-statistics-table.php:336
218
  msgid "Post type"
219
  msgstr ""
220
 
221
+ #: includes/admin/class-top-ten-statistics-table.php:337
222
  msgid "Author"
223
  msgstr ""
224
 
225
+ #: includes/admin/class-top-ten-statistics-table.php:338
226
  msgid "Date"
227
  msgstr ""
228
 
229
+ #: includes/admin/class-top-ten-statistics-table.php:372
230
  msgid "Delete Count"
231
  msgstr ""
232
 
233
+ #: includes/admin/class-top-ten-statistics-table.php:416
234
  msgid "Are you sure you want to do this"
235
  msgstr ""
236
 
237
+ #: includes/admin/class-top-ten-statistics-table.php:472
238
  msgid "Filter"
239
  msgstr ""
240
 
241
+ #: includes/admin/class-top-ten-statistics-table.php:556
242
  msgid "Search Table"
243
  msgstr ""
244
 
366
  "fixes for older versions of Top 10."
367
  msgstr ""
368
 
369
+ #: includes/admin/register-settings.php:230
370
  msgid "Enable trackers"
371
  msgstr ""
372
 
373
+ #: includes/admin/register-settings.php:239
374
  #: includes/modules/class-top-ten-widget.php:95
375
  msgid "Overall"
376
  msgstr ""
377
 
378
+ #: includes/admin/register-settings.php:240
379
+ #: includes/admin/register-settings.php:774
380
  msgid "Daily"
381
  msgstr ""
382
 
383
+ #: includes/admin/register-settings.php:245
384
  msgid "Enable cache"
385
  msgstr ""
386
 
387
+ #: includes/admin/register-settings.php:246
388
  msgid ""
389
  "If activated, Top 10 will use the Transients API to cache the popular posts "
390
  "output for 1 hour."
391
  msgstr ""
392
 
393
+ #: includes/admin/register-settings.php:252
394
  msgid "Time to cache"
395
  msgstr ""
396
 
397
+ #: includes/admin/register-settings.php:253
398
  msgid "Enter the number of seconds to cache the output."
399
  msgstr ""
400
 
401
+ #: includes/admin/register-settings.php:259
402
  msgid "Start daily counts from midnight"
403
  msgstr ""
404
 
405
+ #: includes/admin/register-settings.php:260
406
  msgid ""
407
  "Daily counter will display number of visits from midnight. This option is "
408
  "checked by default and mimics the way most normal counters work. Turning "
409
  "this off will allow you to use the hourly setting in the next option."
410
  msgstr ""
411
 
412
+ #: includes/admin/register-settings.php:266
413
  msgid "Default custom period range"
414
  msgstr ""
415
 
416
+ #: includes/admin/register-settings.php:267
417
  msgid ""
418
  "The next two options allow you to set the default range for the custom "
419
  "period. This was previously called the daily range. This can be overridden "
420
  "in the widget."
421
  msgstr ""
422
 
423
+ #: includes/admin/register-settings.php:272
424
  msgid "Day(s)"
425
  msgstr ""
426
 
427
+ #: includes/admin/register-settings.php:281
428
  msgid "Hour(s)"
429
  msgstr ""
430
 
431
+ #: includes/admin/register-settings.php:291
432
  msgid "Delete options on uninstall"
433
  msgstr ""
434
 
435
+ #: includes/admin/register-settings.php:292
436
  msgid ""
437
  "If this is checked, all settings related to Top 10 are removed from the "
438
  "database if you choose to uninstall/delete the plugin."
439
  msgstr ""
440
 
441
+ #: includes/admin/register-settings.php:298
442
  msgid "Delete counter data on uninstall"
443
  msgstr ""
444
 
445
+ #: includes/admin/register-settings.php:299
446
  msgid ""
447
  "If this is checked, the tables containing the counter statistics are removed "
448
  "from the database if you choose to uninstall/delete the plugin. Keep this "
450
  "counter data."
451
  msgstr ""
452
 
453
+ #: includes/admin/register-settings.php:305
454
  msgid "Show metabox"
455
  msgstr ""
456
 
457
+ #: includes/admin/register-settings.php:306
458
  msgid ""
459
  "This will add the Top 10 metabox on Edit Posts or Add New Posts screens. "
460
  "Also applies to Pages and Custom Post Types."
461
  msgstr ""
462
 
463
+ #: includes/admin/register-settings.php:312
464
  msgid "Limit meta box to Admins only"
465
  msgstr ""
466
 
467
+ #: includes/admin/register-settings.php:313
468
  msgid ""
469
  "If selected, the meta box will be hidden from anyone who is not an Admin. By "
470
  "default, Contributors and above will be able to see the meta box. Applies "
471
  "only if the above option is selected."
472
  msgstr ""
473
 
474
+ #: includes/admin/register-settings.php:319
475
  msgid "Link to Top 10 plugin page"
476
  msgstr ""
477
 
478
+ #: includes/admin/register-settings.php:320
479
  msgid ""
480
  "A no-follow link to the plugin homepage will be added as the last item of "
481
  "the popular posts."
482
  msgstr ""
483
 
484
+ #: includes/admin/register-settings.php:332
485
  msgid "Display number of views on"
486
  msgstr ""
487
 
488
+ #: includes/admin/register-settings.php:334
489
+ #: includes/admin/register-settings.php:498
490
  #, php-format
491
  msgid ""
492
  "If you choose to disable this, please add %1$s to your template file where "
493
  "you want it displayed"
494
  msgstr ""
495
 
496
+ #: includes/admin/register-settings.php:341
497
  msgid "Posts"
498
  msgstr ""
499
 
500
+ #: includes/admin/register-settings.php:342
501
  msgid "Pages"
502
  msgstr ""
503
 
504
+ #: includes/admin/register-settings.php:343
505
  msgid "Home page"
506
  msgstr ""
507
 
508
+ #: includes/admin/register-settings.php:344
509
  msgid "Feeds"
510
  msgstr ""
511
 
512
+ #: includes/admin/register-settings.php:345
513
  msgid "Category archives"
514
  msgstr ""
515
 
516
+ #: includes/admin/register-settings.php:346
517
  msgid "Tag archives"
518
  msgstr ""
519
 
520
+ #: includes/admin/register-settings.php:347
521
  msgid "Other archives"
522
  msgstr ""
523
 
524
+ #: includes/admin/register-settings.php:352
525
  msgid "Format to display the post views"
526
  msgstr ""
527
 
528
+ #: includes/admin/register-settings.php:354
529
  #, php-format
530
  msgid ""
531
  "Use %1$s to display the total count, %2$s for daily count and %3$s for "
532
  "overall counts across all posts. Default display is %4$s"
533
  msgstr ""
534
 
535
+ #: includes/admin/register-settings.php:360
536
  msgid "What do display when there are no visits?"
537
  msgstr ""
538
 
539
+ #: includes/admin/register-settings.php:362
540
  msgid ""
541
  "This text applies only when there are 0 hits for the post and it isn't a "
542
  "single page. e.g. if you display post views on the homepage or archives then "
544
  "option."
545
  msgstr ""
546
 
547
+ #: includes/admin/register-settings.php:368
548
  msgid "Always display latest post count"
549
  msgstr ""
550
 
551
+ #: includes/admin/register-settings.php:369
552
  msgid ""
553
  "This option uses JavaScript and will increase your page load time. Turn this "
554
  "off if you are not using caching plugins or are OK with displaying older "
555
  "cached counts."
556
  msgstr ""
557
 
558
+ #: includes/admin/register-settings.php:375
559
  msgid "Tracker type"
560
  msgstr ""
561
 
562
+ #: includes/admin/register-settings.php:383
563
  msgid "Track user groups"
564
  msgstr ""
565
 
566
+ #: includes/admin/register-settings.php:384
567
  msgid ""
568
  "Uncheck above to disable tracking if the current user falls into any one of "
569
  "these groups."
570
  msgstr ""
571
 
572
+ #: includes/admin/register-settings.php:391
573
  msgid "Authors"
574
  msgstr ""
575
 
576
+ #: includes/admin/register-settings.php:392
577
  msgid "Editors"
578
  msgstr ""
579
 
580
+ #: includes/admin/register-settings.php:393
581
  msgid "Admins"
582
  msgstr ""
583
 
584
+ #: includes/admin/register-settings.php:398
585
  msgid "Track logged-in users"
586
  msgstr ""
587
 
588
+ #: includes/admin/register-settings.php:399
589
  msgid ""
590
  "Uncheck to stop tracking logged in users. Only logged out visitors will be "
591
  "tracked if this is disabled. Unchecking this will override the above setting."
592
  msgstr ""
593
 
594
+ #: includes/admin/register-settings.php:405
595
  msgid "Page views in admin"
596
  msgstr ""
597
 
598
+ #: includes/admin/register-settings.php:406
599
  msgid ""
600
  "Adds three columns called Total Views, Today's Views and Views to All Posts "
601
  "and All Pages. You can selectively disable these by pulling down the Screen "
602
  "Options from the top right of the respective screens."
603
  msgstr ""
604
 
605
+ #: includes/admin/register-settings.php:412
606
  msgid "Show views to non-admins"
607
  msgstr ""
608
 
609
+ #: includes/admin/register-settings.php:413
610
  msgid ""
611
  "If you disable this then non-admins won't see the above columns or view the "
612
  "independent pages with the top posts."
613
  msgstr ""
614
 
615
+ #: includes/admin/register-settings.php:425
616
  msgid "Number of posts to display"
617
  msgstr ""
618
 
619
+ #: includes/admin/register-settings.php:426
620
  msgid ""
621
  "Maximum number of posts that will be displayed in the list. This option is "
622
  "used if you don not specify the number of posts in the widget or shortcodes"
623
  msgstr ""
624
 
625
+ #: includes/admin/register-settings.php:433
626
  msgid "Published age of posts"
627
  msgstr ""
628
 
629
+ #: includes/admin/register-settings.php:434
630
  msgid ""
631
  "This options allows you to only show posts that have been published within "
632
  "the above day range. Applies to both overall posts and daily posts lists. e."
634
  "posts lists. Enter 0 for no restriction."
635
  msgstr ""
636
 
637
+ #: includes/admin/register-settings.php:440
638
  msgid "Post types to include"
639
  msgstr ""
640
 
641
+ #: includes/admin/register-settings.php:441
642
  msgid ""
643
+ "At least one option should be selected above. Select which post types you "
644
+ "want to include in the list of posts. This field can be overridden using a "
645
+ "comma separated list of post types when using the manual display."
646
  msgstr ""
647
 
648
+ #: includes/admin/register-settings.php:447
649
  msgid "Post/page IDs to exclude"
650
  msgstr ""
651
 
652
+ #: includes/admin/register-settings.php:448
653
  msgid ""
654
  "Comma-separated list of post or page IDs to exclude from the list. e.g. "
655
  "188,320,500"
656
  msgstr ""
657
 
658
+ #: includes/admin/register-settings.php:454
659
  msgid "Exclude Categories"
660
  msgstr ""
661
 
662
+ #: includes/admin/register-settings.php:455
663
  msgid ""
664
  "Comma separated list of category slugs. The field above has an autocomplete "
665
  "so simply start typing in the starting letters and it will prompt you with "
666
  "options. Does not support custom taxonomies."
667
  msgstr ""
668
 
669
+ #: includes/admin/register-settings.php:466
670
  msgid "Exclude category IDs"
671
  msgstr ""
672
 
673
+ #: includes/admin/register-settings.php:467
674
  msgid ""
675
  "This is a readonly field that is automatically populated based on the above "
676
  "input when the settings are saved. These might differ from the IDs visible "
678
  "term_taxonomy_id which is unique to this taxonomy."
679
  msgstr ""
680
 
681
+ #: includes/admin/register-settings.php:474
682
  msgid "Customize the output"
683
  msgstr ""
684
 
685
+ #: includes/admin/register-settings.php:480
686
  msgid "Heading of posts"
687
  msgstr ""
688
 
689
+ #: includes/admin/register-settings.php:481
690
+ #: includes/admin/register-settings.php:489
691
  msgid "Displayed before the list of the posts as a the master heading"
692
  msgstr ""
693
 
694
+ #: includes/admin/register-settings.php:483
695
  msgid "Popular posts:"
696
  msgstr ""
697
 
698
+ #: includes/admin/register-settings.php:488
699
  msgid "Heading of posts for daily/custom period lists"
700
  msgstr ""
701
 
702
+ #: includes/admin/register-settings.php:491
703
  msgid "Currently trending:"
704
  msgstr ""
705
 
706
+ #: includes/admin/register-settings.php:496
707
  msgid "Show when no posts are found"
708
  msgstr ""
709
 
710
+ #: includes/admin/register-settings.php:502
711
  msgid "Blank output"
712
  msgstr ""
713
 
714
+ #: includes/admin/register-settings.php:503
715
  msgid "Display custom text"
716
  msgstr ""
717
 
718
+ #: includes/admin/register-settings.php:508
719
  msgid "Custom text"
720
  msgstr ""
721
 
722
+ #: includes/admin/register-settings.php:509
723
  msgid ""
724
  "Enter the custom text that will be displayed if the second option is "
725
  "selected above"
726
  msgstr ""
727
 
728
+ #: includes/admin/register-settings.php:511 includes/deprecated.php:173
729
  msgid "No top posts yet"
730
  msgstr ""
731
 
732
+ #: includes/admin/register-settings.php:515
733
  msgid "Show post excerpt"
734
  msgstr ""
735
 
736
+ #: includes/admin/register-settings.php:522
737
  msgid "Length of excerpt (in words)"
738
  msgstr ""
739
 
740
+ #: includes/admin/register-settings.php:530
741
  msgid "Show date"
742
  msgstr ""
743
 
744
+ #: includes/admin/register-settings.php:537
745
  msgid "Show author"
746
  msgstr ""
747
 
748
+ #: includes/admin/register-settings.php:544
749
  msgid "Show number of views"
750
  msgstr ""
751
 
752
+ #: includes/admin/register-settings.php:551
753
  msgid "Limit post title length (in characters)"
754
  msgstr ""
755
 
756
+ #: includes/admin/register-settings.php:559
757
  msgid "Open links in new window"
758
  msgstr ""
759
 
760
+ #: includes/admin/register-settings.php:566
761
  msgid "Add nofollow to links"
762
  msgstr ""
763
 
764
+ #: includes/admin/register-settings.php:573
765
  msgid "Exclude display on these post IDs"
766
  msgstr ""
767
 
768
+ #: includes/admin/register-settings.php:574
769
  msgid ""
770
  "Comma-separated list of post or page IDs to exclude displaying the top posts "
771
  "on. e.g. 188,320,500"
772
  msgstr ""
773
 
774
+ #: includes/admin/register-settings.php:580
775
  msgid "HTML to display"
776
  msgstr ""
777
 
778
+ #: includes/admin/register-settings.php:586
779
  msgid "Before the list of posts"
780
  msgstr ""
781
 
782
+ #: includes/admin/register-settings.php:593
783
  msgid "After the list of posts"
784
  msgstr ""
785
 
786
+ #: includes/admin/register-settings.php:600
787
  msgid "Before each list item"
788
  msgstr ""
789
 
790
+ #: includes/admin/register-settings.php:607
791
  msgid "After each list item"
792
  msgstr ""
793
 
794
+ #: includes/admin/register-settings.php:620
795
  msgid "Location of the post thumbnail"
796
  msgstr ""
797
 
798
+ #: includes/admin/register-settings.php:625
799
  msgid "Display thumbnails inline with posts, before title"
800
  msgstr ""
801
 
802
+ #: includes/admin/register-settings.php:626
803
  msgid "Display thumbnails inline with posts, after title"
804
  msgstr ""
805
 
806
+ #: includes/admin/register-settings.php:627
807
  msgid "Display only thumbnails, no text"
808
  msgstr ""
809
 
810
+ #: includes/admin/register-settings.php:628
811
  msgid "Do not display thumbnails, only text"
812
  msgstr ""
813
 
814
+ #: includes/admin/register-settings.php:633
815
  msgid "Thumbnail size"
816
  msgstr ""
817
 
818
+ #: includes/admin/register-settings.php:635
819
  msgid ""
820
  "You can choose from existing image sizes above or create a custom size. If "
821
  "you have chosen Custom size above, then enter the width, height and crop "
823
  "width and/or height below, existing images will not be automatically resized."
824
  msgstr ""
825
 
826
+ #: includes/admin/register-settings.php:635
827
  #, php-format
828
  msgid "I recommend using %1$s or %2$s to regenerate all image sizes."
829
  msgstr ""
830
 
831
+ #: includes/admin/register-settings.php:642
832
  #: includes/modules/class-top-ten-widget.php:145
833
  msgid "Thumbnail width"
834
  msgstr ""
835
 
836
+ #: includes/admin/register-settings.php:650
837
  #: includes/modules/class-top-ten-widget.php:139
838
  msgid "Thumbnail height"
839
  msgstr ""
840
 
841
+ #: includes/admin/register-settings.php:658
842
  msgid "Hard crop thumbnails"
843
  msgstr ""
844
 
845
+ #: includes/admin/register-settings.php:659
846
  msgid ""
847
  "Check this box to hard crop the thumbnails. i.e. force the width and height "
848
  "above vs. maintaining proportions."
849
  msgstr ""
850
 
851
+ #: includes/admin/register-settings.php:665
852
  msgid "Thumbnail size attributes"
853
  msgstr ""
854
 
855
+ #: includes/admin/register-settings.php:671
856
  #, php-format
857
  msgid "Use CSS to set the width and height: e.g. %s"
858
  msgstr ""
859
 
860
+ #: includes/admin/register-settings.php:673
861
  #, php-format
862
  msgid "Use HTML attributes to set the width and height: e.g. %s"
863
  msgstr ""
864
 
865
+ #: includes/admin/register-settings.php:674
866
  msgid ""
867
  "No width or height set. You will need to use external styles to force any "
868
  "width or height of your choice."
869
  msgstr ""
870
 
871
+ #: includes/admin/register-settings.php:679
872
  msgid "Thumbnail meta field name"
873
  msgstr ""
874
 
875
+ #: includes/admin/register-settings.php:680
876
  msgid ""
877
  "The value of this field should contain the URL of the image and can be set "
878
  "in the metabox in the Edit Post screen"
879
  msgstr ""
880
 
881
+ #: includes/admin/register-settings.php:686
882
  msgid "Get first image"
883
  msgstr ""
884
 
885
+ #: includes/admin/register-settings.php:687
886
  msgid ""
887
  "The plugin will fetch the first image in the post content if this is "
888
  "enabled. This can slow down the loading of your page if the first image in "
889
  "the followed posts is large in file-size."
890
  msgstr ""
891
 
892
+ #: includes/admin/register-settings.php:693
893
  msgid "Use default thumbnail?"
894
  msgstr ""
895
 
896
+ #: includes/admin/register-settings.php:694
897
  msgid ""
898
  "If checked, when no thumbnail is found, show a default one from the URL "
899
  "below. If not checked and no thumbnail is found, no image will be shown."
900
  msgstr ""
901
 
902
+ #: includes/admin/register-settings.php:700
903
+ #: includes/admin/settings-page.php:687
904
  msgid "Default thumbnail"
905
  msgstr ""
906
 
907
+ #: includes/admin/register-settings.php:701
908
  msgid ""
909
  "Enter the full URL of the image that you wish to display if no thumbnail is "
910
  "found. This image will be displayed below."
911
  msgstr ""
912
 
913
+ #: includes/admin/register-settings.php:714
914
  msgid "Popular posts style"
915
  msgstr ""
916
 
917
+ #: includes/admin/register-settings.php:722
918
  msgid "Custom CSS"
919
  msgstr ""
920
 
921
+ #: includes/admin/register-settings.php:724
922
  #, php-format
923
  msgid ""
924
  "Do not include %3$sstyle%4$s tags. Check out the %1$sFAQ%2$s for available "
925
  "CSS classes to style."
926
  msgstr ""
927
 
928
+ #: includes/admin/register-settings.php:736
929
  msgid "Enable scheduled maintenance"
930
  msgstr ""
931
 
932
+ #: includes/admin/register-settings.php:737
933
  msgid ""
934
  "Cleaning the database at regular intervals could improve performance, "
935
  "especially on high traffic blogs. Enabling maintenance will automatically "
936
  "delete entries older than 90 days in the daily tables."
937
  msgstr ""
938
 
939
+ #: includes/admin/register-settings.php:743
940
  msgid "Time to run maintenance"
941
  msgstr ""
942
 
943
+ #: includes/admin/register-settings.php:744
944
  msgid "The next two options allow you to set the time to run the cron."
945
  msgstr ""
946
 
947
+ #: includes/admin/register-settings.php:749
948
  msgid "Hour"
949
  msgstr ""
950
 
951
+ #: includes/admin/register-settings.php:759
952
  msgid "Minute"
953
  msgstr ""
954
 
955
+ #: includes/admin/register-settings.php:769
956
  msgid "Run maintenance"
957
  msgstr ""
958
 
959
+ #: includes/admin/register-settings.php:775
960
  msgid "Weekly"
961
  msgstr ""
962
 
963
+ #: includes/admin/register-settings.php:776
964
  msgid "Fortnightly"
965
  msgstr ""
966
 
967
+ #: includes/admin/register-settings.php:777
968
  msgid "Monthly"
969
  msgstr ""
970
 
971
+ #: includes/admin/register-settings.php:986
972
  msgid "No styles"
973
  msgstr ""
974
 
975
+ #: includes/admin/register-settings.php:987
976
  msgid "Select this option if you plan to add your own styles"
977
  msgstr ""
978
 
979
+ #: includes/admin/register-settings.php:991
980
  msgid "Text only"
981
  msgstr ""
982
 
983
+ #: includes/admin/register-settings.php:992
984
  msgid ""
985
  "Disable thumbnails and no longer include the default style sheet included in "
986
  "the plugin"
987
  msgstr ""
988
 
989
+ #: includes/admin/register-settings.php:996
990
  msgid "Left thumbnails"
991
  msgstr ""
992
 
993
+ #: includes/admin/register-settings.php:997
994
  msgid ""
995
  "Enabling this option will set the post thumbnail to be before text. "
996
  "Disabling this option will not revert any settings."
1077
  msgstr ""
1078
 
1079
  #: includes/admin/tools.php:30
1080
+ msgid "Primary Key has been recreated"
1081
  msgstr ""
1082
 
1083
  #: includes/admin/tools.php:36
1084
+ msgid "Top 10 popular posts reset"
1085
  msgstr ""
1086
 
1087
  #: includes/admin/tools.php:42
1088
+ msgid "Top 10 daily popular posts reset"
1089
+ msgstr ""
1090
+
1091
+ #: includes/admin/tools.php:48
1092
  msgid "Old settings key has been deleted"
1093
  msgstr ""
1094
 
1095
+ #: includes/admin/tools.php:55
1096
  msgid "Duplicate rows cleaned from the tables"
1097
  msgstr ""
1098
 
1099
+ #: includes/admin/tools.php:62
1100
  msgid "Post counts across blog IDs 0 and 1 have been merged"
1101
  msgstr ""
1102
 
1103
+ #: includes/admin/tools.php:78 includes/admin/tools.php:80
1104
  msgid "Clear cache"
1105
  msgstr ""
1106
 
1107
+ #: includes/admin/tools.php:83
1108
  msgid ""
1109
  "Clear the Top 10 cache. This will also be cleared automatically when you "
1110
  "save the settings page."
1111
  msgstr ""
1112
 
1113
+ #: includes/admin/tools.php:86 includes/admin/tools.php:88
1114
+ msgid "Recreate Primary Key"
1115
+ msgstr ""
1116
+
1117
+ #: includes/admin/tools.php:91
1118
+ msgid ""
1119
+ "Deletes and reinitializes the primary key in the database tables. If the "
1120
+ "above function gives an error, then you can run the below code in phpMyAdmin "
1121
+ "or Adminer. Remember to backup your database first!"
1122
+ msgstr ""
1123
+
1124
+ #: includes/admin/tools.php:97
1125
  msgid "Reset database"
1126
  msgstr ""
1127
 
1128
+ #: includes/admin/tools.php:99
1129
  msgid "Reset Popular Posts Network-wide"
1130
  msgstr ""
1131
 
1132
+ #: includes/admin/tools.php:99
1133
  msgid "Are you sure you want to reset the popular posts?"
1134
  msgstr ""
1135
 
1136
+ #: includes/admin/tools.php:100
1137
  msgid "Reset Daily Popular Posts Network-wide"
1138
  msgstr ""
1139
 
1140
+ #: includes/admin/tools.php:100
1141
  msgid "Are you sure you want to reset the daily popular posts?"
1142
  msgstr ""
1143
 
1144
+ #: includes/admin/tools.php:103
1145
  msgid ""
1146
  "This will reset the Top 10 tables. If you are running Top 10 on multisite "
1147
  "then it will delete the popular posts across the entire network. This cannot "
1149
  "proceeding"
1150
  msgstr ""
1151
 
1152
+ #: includes/admin/tools.php:106
1153
  msgid "Other tools"
1154
  msgstr ""
1155
 
1156
+ #: includes/admin/tools.php:108
1157
  msgid "Delete old settings"
1158
  msgstr ""
1159
 
1160
+ #: includes/admin/tools.php:108
1161
  msgid "This will delete the settings before v2.5.x. Proceed?"
1162
  msgstr ""
1163
 
1164
+ #: includes/admin/tools.php:111
1165
  msgid ""
1166
  "From v2.5.x, Top 10 stores the settings in a new key in the database. This "
1167
  "will delete the old settings for the current blog. It is recommended that "
1169
  "if you are comfortable with the new settings."
1170
  msgstr ""
1171
 
1172
+ #: includes/admin/tools.php:115
1173
  msgid "Merge blog ID 0 and 1 post counts"
1174
  msgstr ""
1175
 
1176
+ #: includes/admin/tools.php:115
1177
  msgid "This will merge post counts for blog IDs 0 and 1. Proceed?"
1178
  msgstr ""
1179
 
1180
+ #: includes/admin/tools.php:118
1181
  msgid "This will merge post counts for posts with table entries of 0 and 1"
1182
  msgstr ""
1183
 
1184
+ #: includes/admin/tools.php:122
1185
  msgid "Merge duplicates across blog IDs"
1186
  msgstr ""
1187
 
1188
+ #: includes/admin/tools.php:122
1189
  msgid "This will delete the duplicate entries in the tables. Proceed?"
1190
  msgstr ""
1191
 
1192
+ #: includes/admin/tools.php:125
1193
  msgid ""
1194
  "In older versions, the plugin created entries with duplicate post IDs. "
1195
  "Clicking the button below will merge these duplicate IDs"
readme.txt CHANGED
@@ -170,6 +170,16 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
170
 
171
  == Changelog ==
172
 
 
 
 
 
 
 
 
 
 
 
173
  = 2.5.6 =
174
 
175
  * Features:
170
 
171
  == Changelog ==
172
 
173
+ = 2.5.7 =
174
+
175
+ * Enhancements:
176
+ * Tools page now has the code to Recreate the PRIMARY KEY in case the button gives an error. You will need to run this in phpMyAdmin or Adminer
177
+
178
+ * Bug fixes:
179
+ * Fixed translation of " by " which had the incorrect text domain
180
+ * Post types to includes selects "post" in case no option is selected
181
+ * Unchecking all boxes of a "Display number of views on" setting would sometimes pick the default value
182
+
183
  = 2.5.6 =
184
 
185
  * Features:
top-10.php CHANGED
@@ -14,7 +14,7 @@
14
  * Plugin Name: Top 10
15
  * Plugin URI: https://webberzone.com/plugins/top-10/
16
  * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
- * Version: 2.5.6
18
  * Author: Ajay D'Souza
19
  * Author URI: https://webberzone.com
20
  * License: GPL-2.0+
14
  * Plugin Name: Top 10
15
  * Plugin URI: https://webberzone.com/plugins/top-10/
16
  * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17
+ * Version: 2.5.7
18
  * Author: Ajay D'Souza
19
  * Author URI: https://webberzone.com
20
  * License: GPL-2.0+