Search Exclude - Version 1.0.1

Version Description

  • Fixed: PHP 5.2 compatibility
Download this release

Release Info

Developer pronskiy
Plugin Icon 128x128 Search Exclude
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. search-exclude.php +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pronskiy
3
  Tags: admin, plugin, search
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
- Stable tag: 1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -27,5 +27,8 @@ You can also view the list of all the items that are excluded from search on the
27
 
28
  == Changelog ==
29
 
 
 
 
30
  = 1.0 =
31
  * Initial release
3
  Tags: admin, plugin, search
4
  Requires at least: 3.3
5
  Tested up to: 3.4
6
+ Stable tag: 1.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
27
 
28
  == Changelog ==
29
 
30
+ = 1.0.1 =
31
+ * Fixed: PHP 5.2 compatibility
32
+
33
  = 1.0 =
34
  * Initial release
search-exclude.php CHANGED
@@ -101,7 +101,7 @@ class SearchExclude
101
  $exclude = !(false === array_search($post->ID, $excluded));
102
 
103
  wp_nonce_field( 'sep_metabox_nonce', 'metabox_nonce' );
104
- include(__DIR__ . '/metabox.php');
105
  }
106
 
107
  public function adminMenu()
@@ -145,7 +145,7 @@ class SearchExclude
145
  'order'=>'ASC',
146
  'nopaging' => true,
147
  ));
148
- include(__DIR__ . '/options.php');
149
  }
150
 
151
  public function saveOptions()
101
  $exclude = !(false === array_search($post->ID, $excluded));
102
 
103
  wp_nonce_field( 'sep_metabox_nonce', 'metabox_nonce' );
104
+ include(dirname(__FILE__) . '/metabox.php');
105
  }
106
 
107
  public function adminMenu()
145
  'order'=>'ASC',
146
  'nopaging' => true,
147
  ));
148
+ include(dirname(__FILE__) . '/options.php');
149
  }
150
 
151
  public function saveOptions()