Version Description
- Restore compatibility with some older versions of PHP (probably back to 5.0).
Download this release
Release Info
Developer | bennettmcelwee |
Plugin | Search Meter |
Version | 2.13.2 |
Comparing to | |
See all releases |
Code changes from version 2.13.1 to 2.13.2
- admin.php +4 -4
- readme.txt +5 -2
- search-meter.php +2 -2
admin.php
CHANGED
@@ -662,9 +662,9 @@ function tguy_sm_download_summary() {
|
|
662 |
"SELECT `terms`, `count`, `date`, `last_hits`
|
663 |
FROM `{$wpdb->prefix}searchmeter`
|
664 |
ORDER BY `date` ASC, `terms` ASC");
|
665 |
-
$results_array =
|
666 |
foreach ($results as $result) {
|
667 |
-
$results_array[] =
|
668 |
}
|
669 |
/* translators: base filename for downloaded summary - lowercase letters, digits, dashes only */
|
670 |
tguy_sm_download_to_csv($results_array, __('search-summary', 'search-meter'));
|
@@ -676,9 +676,9 @@ function tguy_sm_download_individual() {
|
|
676 |
"SELECT `terms`, `datetime`, `hits`, `details`
|
677 |
FROM `{$wpdb->prefix}searchmeter_recent`
|
678 |
ORDER BY `datetime` ASC");
|
679 |
-
$results_array =
|
680 |
foreach ($results as $result) {
|
681 |
-
$results_array[] =
|
682 |
}
|
683 |
/* translators: base filename for downloaded searches - lowercase letters, digits, dashes only */
|
684 |
tguy_sm_download_to_csv($results_array, __('recent-searches', 'search-meter'));
|
662 |
"SELECT `terms`, `count`, `date`, `last_hits`
|
663 |
FROM `{$wpdb->prefix}searchmeter`
|
664 |
ORDER BY `date` ASC, `terms` ASC");
|
665 |
+
$results_array = array(array(__('Date', 'search-meter'), __('Search terms', 'search-meter'), __('Searches', 'search-meter'), __('Results', 'search-meter')));
|
666 |
foreach ($results as $result) {
|
667 |
+
$results_array[] = array(tguy_sm_format_utc_as_local('Y-m-d', $result->date), $result->terms, $result->count, $result->last_hits);
|
668 |
}
|
669 |
/* translators: base filename for downloaded summary - lowercase letters, digits, dashes only */
|
670 |
tguy_sm_download_to_csv($results_array, __('search-summary', 'search-meter'));
|
676 |
"SELECT `terms`, `datetime`, `hits`, `details`
|
677 |
FROM `{$wpdb->prefix}searchmeter_recent`
|
678 |
ORDER BY `datetime` ASC");
|
679 |
+
$results_array = array(array(__('Date', 'search-meter'), __('Search terms', 'search-meter'), __('Results', 'search-meter'), __('Details', 'search-meter')));
|
680 |
foreach ($results as $result) {
|
681 |
+
$results_array[] = array(tguy_sm_format_utc_as_local('Y-m-d H:i:s', $result->datetime), $result->terms, $result->hits, $result->details);
|
682 |
}
|
683 |
/* translators: base filename for downloaded searches - lowercase letters, digits, dashes only */
|
684 |
tguy_sm_download_to_csv($results_array, __('recent-searches', 'search-meter'));
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: bennettmcelwee
|
|
3 |
Donate link: http://thunderguy.com/semicolon/donate/
|
4 |
Tags: search, meter, search-meter, statistics, widget, admin, keywords, terms, search terms
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.
|
8 |
|
9 |
Search Meter tracks what your readers are searching for on your blog. View full details of recent searches or stats for the last day, week or month.
|
10 |
|
@@ -74,6 +74,9 @@ The [Search Meter home page](http://thunderguy.com/semicolon/wordpress/search-me
|
|
74 |
1. The Search Meter administration interface, showing some of the reports available.
|
75 |
|
76 |
== Changelog ==
|
|
|
|
|
|
|
77 |
= 2.13.1 =
|
78 |
* Some fixes for text and internationalization.
|
79 |
|
3 |
Donate link: http://thunderguy.com/semicolon/donate/
|
4 |
Tags: search, meter, search-meter, statistics, widget, admin, keywords, terms, search terms
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 4.9.4
|
7 |
+
Stable tag: 2.13.1
|
8 |
|
9 |
Search Meter tracks what your readers are searching for on your blog. View full details of recent searches or stats for the last day, week or month.
|
10 |
|
74 |
1. The Search Meter administration interface, showing some of the reports available.
|
75 |
|
76 |
== Changelog ==
|
77 |
+
= 2.13.2 =
|
78 |
+
* Restore compatibility with some older versions of PHP (probably back to 5.0).
|
79 |
+
|
80 |
= 2.13.1 =
|
81 |
* Some fixes for text and internationalization.
|
82 |
|
search-meter.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
Plugin Name: Search Meter
|
4 |
Plugin URI: http://thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/
|
5 |
Description: Keeps track of what your visitors are searching for. After you have activated this plugin, you can check the Search Meter section in the Dashboard to see what your visitors are searching for on your blog.
|
6 |
-
Version: 2.13.
|
7 |
Author: Bennett McElwee
|
8 |
Author URI: http://thunderguy.com/semicolon/
|
9 |
Donate link: http://thunderguy.com/semicolon/donate/
|
10 |
Text Domain: search-meter
|
11 |
Domain Path: /languages
|
12 |
|
13 |
-
$Revision:
|
14 |
|
15 |
|
16 |
INSTRUCTIONS
|
3 |
Plugin Name: Search Meter
|
4 |
Plugin URI: http://thunderguy.com/semicolon/wordpress/search-meter-wordpress-plugin/
|
5 |
Description: Keeps track of what your visitors are searching for. After you have activated this plugin, you can check the Search Meter section in the Dashboard to see what your visitors are searching for on your blog.
|
6 |
+
Version: 2.13.2
|
7 |
Author: Bennett McElwee
|
8 |
Author URI: http://thunderguy.com/semicolon/
|
9 |
Donate link: http://thunderguy.com/semicolon/donate/
|
10 |
Text Domain: search-meter
|
11 |
Domain Path: /languages
|
12 |
|
13 |
+
$Revision: 1513676 $
|
14 |
|
15 |
|
16 |
INSTRUCTIONS
|