Skip to content

Commit

Permalink
Fixed links on settings page with list of excluded items
Browse files Browse the repository at this point in the history
  • Loading branch information
pronskiy committed Jun 4, 2014
1 parent a811713 commit 91906f7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ You can also view the list of all the items that are excluded from search on the

### Changelog

#### 1.0.4
* Fixed links on settings page with list of excluded items
* Tested up to WP 3.9

#### 1.0.3
* Added support for excluding attachments from search results
* Tested up to WP 3.8
Expand Down
3 changes: 1 addition & 2 deletions options.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="wrap">
<?php screen_icon(); ?>
<h2>Search Exclude</h2>
<?php if (empty($excluded)):?>
<p>No items excluded from the search results yet.</p>
Expand All @@ -17,7 +16,7 @@
<?php while ( $query->have_posts() ) : $query->the_post();?>
<tr valign="top" class="post-<?php the_ID()?> page type-page status-draft author-self" >
<th class="check-column" scope="row"><input type="checkbox" value="<?php the_ID()?>" name="sep_exclude[]" checked="checked"></th>
<td class="post-title page-title column-title"><strong><a title="Edit “<?php the_title()?>”" href="/wp-admin/post.php?post=<?php the_ID()?>&action=edit" class="row-title"><?php the_title()?></a></strong>
<td class="post-title page-title column-title"><strong><a title="Edit “<?php the_title()?>”" href="<?php echo site_url()?>/wp-admin/post.php?post=<?php the_ID()?>&action=edit" class="row-title"><?php the_title()?></a></strong></td>
<td class="author column-author"><?php echo get_post_type();?></td>
</tr>
<?php endwhile; ?>
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: pronskiy
Tags: admin, plugin, search
Requires at least: 3.3
Tested up to: 3.8
Stable tag: 1.0.3
Tested up to: 3.9
Stable tag: 1.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -28,6 +28,10 @@ You can also view the list of all the items that are excluded from search on the

== Changelog ==

= 1.0.4 =
* Fixed links on settings page with list of excluded items
* Tested up to WP 3.9

= 1.0.3 =
* Added support for excluding attachments from search results
* Tested up to WP 3.8
Expand Down
2 changes: 1 addition & 1 deletion search-exclude.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Search Exclude
Description: Exclude any page or post from the WordPress search results by checking off the checkbox.
Version: 1.0.3
Version: 1.0.4
Author: Roman Pronskiy
Author URI: http://pronskiy.com
*/
Expand Down

0 comments on commit 91906f7

Please sign in to comment.