Skip to content

Commit

Permalink
Issue searching pages/posts fixed
Browse files Browse the repository at this point in the history
Fixes #192
  • Loading branch information
ajaydsouza committed Oct 31, 2023
1 parent 5f07faa commit efcf4e4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contextual-related-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: Contextual Related Posts
* Plugin URI: https://webberzone.com/plugins/contextual-related-posts/
* Description: Display related posts on your website or in your feed. Increase reader retention and reduce bounce rates
* Version: 3.4.0
* Version: 3.4.1-beta1
* Author: WebberZone
* Author URI: https://webberzone.com
* License: GPL-2.0+
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/js/bulk-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jQuery(document).ready(function ($) {

// get the data
const crp_manual_related = $('.crp_manual_related', post_row).text();
const crp_exclude_this_post = 1 == $('.crp_exclude_this_post', post_row).val() ? true : false;
const crp_exclude_this_post = 1 == $('.crp_exclude_this_post', post_row).text() ? true : false;

// populate the data
$(':input[name="crp_manual_related"]', edit_row).val(crp_manual_related);
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/js/bulk-edit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion includes/admin/modules/class-bulk-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function populate_custom_columns( $column_name, $post_id ) {
echo '<p>';
esc_html_e( 'Exclude from list:', 'contextual-related-posts' );
echo wp_kses_post( $exclude_this_post ? '<span class="dashicons dashicons-yes" style="color:green"></span>' : '<span class="dashicons dashicons-no" style="color:red"></span>' );
echo '<input type="hidden" name="crp_exclude_this_post" class="crp_exclude_this_post" value="' . esc_attr( $exclude_this_post ) . '">';
echo '<div class="hidden"><div class="crp_exclude_this_post">' . esc_attr( $exclude_this_post ) . '</div></div>';
echo '</p>';

break;
Expand Down
5 changes: 5 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ Contextual Related Posts is one of the many plugins developed by WebberZone. Che

== Changelog ==

= 3.4.1 =

* Bug fix:
* Fixed Request-URI Too Long error when searching for pages/posts

= 3.4.0 =

Release post: [https://webberzone.com/blog/contextual-related-posts-v3-4-0/](https://webberzone.com/blog/contextual-related-posts-v3-4-0/)
Expand Down

0 comments on commit efcf4e4

Please sign in to comment.