Search Meter - Version 2.7.3

Version Description

  • Remove another warning message.
Download this release

Release Info

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

Code changes from version 2.7.2 to 2.7.3

Files changed (2) hide show
  1. readme.txt +4 -1
  2. search-meter.php +4 -4
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.thunderguy.com/semicolon/wordpress/search-meter-wordpres
4
  Tags: search, meter, search-meter, statistics, widget, admin
5
  Requires at least: 2.8
6
  Tested up to: 3.0
7
- Stable tag: 2.7.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
 
@@ -73,6 +73,9 @@ The [Search Meter home page](http://www.thunderguy.com/semicolon/wordpress/searc
73
 
74
  == Changelog ==
75
 
 
 
 
76
  = 2.7.2 =
77
  * Requires WP 2.8.
78
  * Fix problem displaying multiple-word searches in WP 3.0.
4
  Tags: search, meter, search-meter, statistics, widget, admin
5
  Requires at least: 2.8
6
  Tested up to: 3.0
7
+ Stable tag: 2.7.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
 
73
 
74
  == Changelog ==
75
 
76
+ = 2.7.3 =
77
+ * Remove another warning message.
78
+
79
  = 2.7.2 =
80
  * Requires WP 2.8.
81
  * Fix problem displaying multiple-word searches in WP 3.0.
search-meter.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Search Meter
4
  Plugin URI: http://www.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.7.2
7
  Author: Bennett McElwee
8
  Author URI: http://www.thunderguy.com/semicolon/
9
 
10
- $Revision: 261343 $
11
 
12
 
13
  INSTRUCTIONS
@@ -423,9 +423,9 @@ function tguy_sm_add_admin_pages() {
423
  add_options_page('Search Meter', 'Search Meter', TGUY_SM_OPTIONS_CAPABILITY, __FILE__, 'tguy_sm_options_page');
424
  }
425
 
426
- // This is here to avoid E_NOTICE when indexing nonexistent array keys. There's probably a better solution.
427
  function tguy_sm_array_value(&$array, $key) {
428
- return array_key_exists($key, $array) ? $array[$key] : null;
429
  }
430
 
431
 
3
  Plugin Name: Search Meter
4
  Plugin URI: http://www.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.7.3
7
  Author: Bennett McElwee
8
  Author URI: http://www.thunderguy.com/semicolon/
9
 
10
+ $Revision: 261770 $
11
 
12
 
13
  INSTRUCTIONS
423
  add_options_page('Search Meter', 'Search Meter', TGUY_SM_OPTIONS_CAPABILITY, __FILE__, 'tguy_sm_options_page');
424
  }
425
 
426
+ // This is here to avoid E_NOTICE when indexing nonexistent array keys. There's probably a better solution. Suggestions are welcome.
427
  function tguy_sm_array_value(&$array, $key) {
428
+ return (is_array($array) && array_key_exists($key, $array)) ? $array[$key] : null;
429
  }
430
 
431