Search Meter - Version 2.13.4

Version Description

  • Remove deprecation warning.
Download this release

Release Info

Developer bennettmcelwee
Plugin Icon 128x128 Search Meter
Version 2.13.4
Comparing to
See all releases

Code changes from version 2.13.3 to 2.13.4

Files changed (2) hide show
  1. readme.txt +5 -2
  2. search-meter.php +3 -6
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bennettmcelwee
3
  Donate link: https://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: 5.4
7
- Stable tag: 2.13.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](https://thunderguy.com/semicolon/wordpress/search-m
74
  1. The Search Meter administration interface, showing some of the reports available.
75
 
76
  == Changelog ==
 
 
 
77
  = 2.13.3 =
78
  * Work around Excel bug that could lead to exploits in downloaded search files.
79
 
3
  Donate link: https://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: 5.7.2
7
+ Stable tag: 2.13.3
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.4 =
78
+ * Remove deprecation warning.
79
+
80
  = 2.13.3 =
81
  * Work around Excel bug that could lead to exploits in downloaded search files.
82
 
search-meter.php CHANGED
@@ -3,14 +3,14 @@
3
  Plugin Name: Search Meter
4
  Plugin URI: https://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.3
7
  Author: Bennett McElwee
8
  Author URI: https://thunderguy.com/semicolon/
9
  Donate link: https://thunderguy.com/semicolon/donate/
10
  Text Domain: search-meter
11
  Domain Path: /languages
12
 
13
- $Revision: 2341984 $
14
 
15
 
16
  INSTRUCTIONS
@@ -32,7 +32,7 @@ INSTRUCTIONS
32
  Thanks to everyone who has suggested or contributed improvements. It takes a village to build a plugin.
33
 
34
 
35
- Copyright (C) 2005-20 Bennett McElwee (bennett at thunderguy dotcom)
36
  This software is licensed under the GPL v3. See the included LICENSE file for
37
  details. If you would like to use it under different terms, contact the author.
38
  */
@@ -296,9 +296,6 @@ function tguy_sm_save_search($posts) {
296
  // Get all details of this search
297
  // search string is the raw query
298
  $search_string = $wp_query->query_vars['s'];
299
- if (get_magic_quotes_gpc()) {
300
- $search_string = stripslashes($search_string);
301
- }
302
  // search terms is the words in the query
303
  $search_terms = $search_string;
304
  $search_terms = preg_replace('/[," ]+/', ' ', $search_terms);
3
  Plugin Name: Search Meter
4
  Plugin URI: https://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.4
7
  Author: Bennett McElwee
8
  Author URI: https://thunderguy.com/semicolon/
9
  Donate link: https://thunderguy.com/semicolon/donate/
10
  Text Domain: search-meter
11
  Domain Path: /languages
12
 
13
+ $Revision: 2542977 $
14
 
15
 
16
  INSTRUCTIONS
32
  Thanks to everyone who has suggested or contributed improvements. It takes a village to build a plugin.
33
 
34
 
35
+ Copyright (C) 2005-21 Bennett McElwee (bennett at thunderguy dotcom)
36
  This software is licensed under the GPL v3. See the included LICENSE file for
37
  details. If you would like to use it under different terms, contact the author.
38
  */
296
  // Get all details of this search
297
  // search string is the raw query
298
  $search_string = $wp_query->query_vars['s'];
 
 
 
299
  // search terms is the words in the query
300
  $search_terms = $search_string;
301
  $search_terms = preg_replace('/[," ]+/', ' ', $search_terms);