Count per Day - Version 3.6.1

Version Description

Download this release

Release Info

Developer easyplugin
Plugin Icon 128x128 Count per Day
Version 3.6.1
Comparing to
See all releases

Code changes from version 3.5.8 to 3.6.1

Files changed (3) hide show
  1. counter-core.php +1 -4
  2. counter.php +5 -6
  3. readme.txt +8 -1
counter-core.php CHANGED
@@ -464,7 +464,7 @@ function createTables()
464
$s[] = "DROP INDEX `$row->Key_name`";
465
$s = array_unique($s);
466
467
- $sql = "ALTER TABLE `$cpd_c` ";
468
if (sizeof($s))
469
$sql .= implode(',', $s).', ';
470
$sql .= 'ADD KEY `idx_dateip` (`date`,`ip`), ADD KEY `idx_page` (`page`)';
@@ -766,9 +766,6 @@ function cpdInfo()
766
$t = '<span style="white-space:nowrap">'.date_i18n('Y-m-d H:i').'</span>';
767
echo '<p style="margin:0">Count per Day: <code>'.$cpd_version.'</code><br/>';
768
printf(__('Time for Count per Day: <code>%s</code>.', 'cpd'), $t);
769
- echo '<br />'.__('Bug? Problem? Question? Hint? Praise?', 'cpd').' ';
770
- printf(__('Write a comment on the <a href="%s">plugin page</a>.', 'cpd'), 'http://www.tomsdimension.de/wp-plugins/count-per-day');
771
- echo '<br />'.__('License').': <a href="http://www.tomsdimension.de/postcards">Postcardware :)</a>';
772
echo '<br /><a href="'.$this->dir.'/readme.txt?KeepThis=true&amp;TB_iframe=true" title="Count per Day - Readme.txt" class="thickbox"><strong>Readme.txt</strong></a></p>';
773
}
774
464
$s[] = "DROP INDEX `$row->Key_name`";
465
$s = array_unique($s);
466
467
+ $sql = "ALTER TABLE `$cpd_c` ";
468
if (sizeof($s))
469
$sql .= implode(',', $s).', ';
470
$sql .= 'ADD KEY `idx_dateip` (`date`,`ip`), ADD KEY `idx_page` (`page`)';
766
$t = '<span style="white-space:nowrap">'.date_i18n('Y-m-d H:i').'</span>';
767
echo '<p style="margin:0">Count per Day: <code>'.$cpd_version.'</code><br/>';
768
printf(__('Time for Count per Day: <code>%s</code>.', 'cpd'), $t);
769
echo '<br /><a href="'.$this->dir.'/readme.txt?KeepThis=true&amp;TB_iframe=true" title="Count per Day - Readme.txt" class="thickbox"><strong>Readme.txt</strong></a></p>';
770
}
771
counter.php CHANGED
@@ -1,19 +1,19 @@
1
<?php
2
/*
3
Plugin Name: Count Per Day
4
- Plugin URI: http://www.tomsdimension.de/wp-plugins/count-per-day
5
Description: Counter, shows reads and visitors per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget.
6
- Version: 3.5.8
7
License: Postcardware
8
- Author: Tom Braider
9
- Author URI: http://www.tomsdimension.de
10
*/
11
12
if (!defined('ABSPATH'))
13
exit;
14
15
$cpd_dir_name = 'count-per-day';
16
- $cpd_version = '3.5.7';
17
18
if (strpos($_SERVER['SERVER_NAME'], '.test'))
19
$cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/');
@@ -1661,7 +1661,6 @@ class CountPerDay_PopularPostsWidget extends WP_Widget
1661
}
1662
} // CountPerDay_PopularPostsWidget
1663
1664
-
1665
/**
1666
* uninstall function, deletes tables and options
1667
*/
1
<?php
2
/*
3
Plugin Name: Count Per Day
4
+ Plugin URI: http://easyplugin.co.uk/count-per-day/
5
Description: Counter, shows reads and visitors per page; today, yesterday, last week, last months ... on dashboard, per shortcode or in widget.
6
+ Version: 3.6.1
7
License: Postcardware
8
+ Author: EasyPlugin (Jon Highham)
9
+ Author URI: http://easyplugin.co.uk/
10
*/
11
12
if (!defined('ABSPATH'))
13
exit;
14
15
$cpd_dir_name = 'count-per-day';
16
+ $cpd_version = '3.6.1';
17
18
if (strpos($_SERVER['SERVER_NAME'], '.test'))
19
$cpd_path = str_replace('/', DIRECTORY_SEPARATOR, ABSPATH.PLUGINDIR.'/'.$cpd_dir_name.'/');
1661
}
1662
} // CountPerDay_PopularPostsWidget
1663
1664
/**
1665
* uninstall function, deletes tables and options
1666
*/
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Jon Highham
3
Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode
4
Requires at least: 3.0
5
Tested up to: 4.8
6
- Stable tag: 3.5.8
7
License: GPLv2
8
9
Visit Counter, shows reads and visitors per page, visitors today, yesterday, last week, last months and other statistics.
@@ -306,6 +306,13 @@ show( $before, $after, $show, $count, $page )'
306
307
== Changelog ==
308
309
= 3.5.8 =
310
+ Buffix: Counters
311
3
Tags: counter, count, posts, visits, reads, dashboard, widget, shortcode
4
Requires at least: 3.0
5
Tested up to: 4.8
6
+ Stable tag: 3.6.1
7
License: GPLv2
8
9
Visit Counter, shows reads and visitors per page, visitors today, yesterday, last week, last months and other statistics.
306
307
== Changelog ==
308
309
+ = 3.6 =
310
+ + Update new Author Name in core file.
311
+ + update Author Website in core file.
312
+
313
+ = 3.5.9 =
314
+ + Bugfix: counter-core
315
+
316
= 3.5.8 =
317
+ Buffix: Counters
318