Version Description
- This is a security release. All users are encouraged to upgrade.
- Fix possible XSS vulnerability.
Download this release
Release Info
Developer | pronskiy |
Plugin | Search Exclude |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6 to 1.2.7
- readme.txt +5 -1
- search-exclude.php +1 -1
- views/bulk_edit.php +0 -0
- views/options.php +20 -11
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: pronskiy, williamdodson, stevelock
|
|
3 |
Tags: admin, plugin, search
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -92,6 +92,10 @@ function filterForProducts($exclude, $query)
|
|
92 |
|
93 |
== Changelog ==
|
94 |
|
|
|
|
|
|
|
|
|
95 |
= 1.2.6 =
|
96 |
* Fix compatibility with WordPress 5.5
|
97 |
|
3 |
Tags: admin, plugin, search
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 1.2.7
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
92 |
|
93 |
== Changelog ==
|
94 |
|
95 |
+
= 1.2.7 =
|
96 |
+
* This is a security release. All users are encouraged to upgrade.
|
97 |
+
* Fix possible XSS vulnerability.
|
98 |
+
|
99 |
= 1.2.6 =
|
100 |
* Fix compatibility with WordPress 5.5
|
101 |
|
search-exclude.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Search Exclude
|
4 |
Description: Hide any page or post from the WordPress search results by checking off the checkbox.
|
5 |
-
Version: 1.2.
|
6 |
Author: Roman Pronskiy
|
7 |
Author URI: http://pronskiy.com
|
8 |
Plugin URI: http://wordpress.org/plugins/search-exclude/
|
2 |
/*
|
3 |
Plugin Name: Search Exclude
|
4 |
Description: Hide any page or post from the WordPress search results by checking off the checkbox.
|
5 |
+
Version: 1.2.7
|
6 |
Author: Roman Pronskiy
|
7 |
Author URI: http://pronskiy.com
|
8 |
Plugin URI: http://wordpress.org/plugins/search-exclude/
|
views/bulk_edit.php
CHANGED
File without changes
|
views/options.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<div class="wrap">
|
2 |
<h2>Search Exclude</h2>
|
3 |
-
<?php if (empty($excluded))
|
4 |
<p>No items excluded from the search results yet.</p>
|
5 |
<?php else: ?>
|
6 |
<h3>The following items are excluded from the search results</h3>
|
@@ -8,24 +8,33 @@
|
|
8 |
<table cellspacing="0" class="wp-list-table widefat fixed pages">
|
9 |
<thead>
|
10 |
<tr>
|
11 |
-
<th style="" class="check-column" id="cb" scope="col"></th
|
|
|
|
|
12 |
</tr>
|
13 |
</thead>
|
14 |
|
15 |
<tbody id="the-list">
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
</tbody>
|
24 |
</table>
|
25 |
|
26 |
-
<?php wp_nonce_field(
|
27 |
|
28 |
-
<p class="submit"><input type="submit" name="search_exclude_submit" class="button-primary"
|
|
|
29 |
</form>
|
30 |
<?php endif; ?>
|
31 |
</div>
|
1 |
<div class="wrap">
|
2 |
<h2>Search Exclude</h2>
|
3 |
+
<?php if (empty($excluded)): ?>
|
4 |
<p>No items excluded from the search results yet.</p>
|
5 |
<?php else: ?>
|
6 |
<h3>The following items are excluded from the search results</h3>
|
8 |
<table cellspacing="0" class="wp-list-table widefat fixed pages">
|
9 |
<thead>
|
10 |
<tr>
|
11 |
+
<th style="" class="check-column" id="cb" scope="col"></th>
|
12 |
+
<th style="" class="column-title manage-column" id="title" scope="col"><span>Title</span></th>
|
13 |
+
<th style="" class="manage-column column-type" id="type" scope="col"><span>Type</span>
|
14 |
</tr>
|
15 |
</thead>
|
16 |
|
17 |
<tbody id="the-list">
|
18 |
+
<?php while ($query->have_posts()) : $query->the_post(); ?>
|
19 |
+
<tr valign="top" class="post-<?php the_ID() ?> page type-page status-draft author-self">
|
20 |
+
<th class="check-column" scope="row">
|
21 |
+
<input type="checkbox" value="<?php the_ID() ?>"
|
22 |
+
name="sep_exclude[]" checked="checked"></th>
|
23 |
+
<td class="post-title page-title column-title">
|
24 |
+
<strong><a title="Edit “<?php echo esc_attr(the_title('', '', false)) ?>”"
|
25 |
+
href="<?php echo site_url() ?>/wp-admin/post.php?post=<?php the_ID() ?>&action=edit"
|
26 |
+
class="row-title"><?php echo esc_html(the_title('', '', false)) ?></a></strong>
|
27 |
+
</td>
|
28 |
+
<td class="author column-author"><?php echo get_post_type(); ?></td>
|
29 |
+
</tr>
|
30 |
+
<?php endwhile; ?>
|
31 |
</tbody>
|
32 |
</table>
|
33 |
|
34 |
+
<?php wp_nonce_field('search_exclude_submit'); ?>
|
35 |
|
36 |
+
<p class="submit"><input type="submit" name="search_exclude_submit" class="button-primary"
|
37 |
+
value="<?php _e('Save Changes') ?>"/></p>
|
38 |
</form>
|
39 |
<?php endif; ?>
|
40 |
</div>
|