Ivory Search – WordPress Search Plugin - Version 5.4.7

Version Description

  • Fixed - add_query_arg() and remove_query_arg() usage
Download this release

Release Info

Developer vinod dalvi
Plugin Icon 128x128 Ivory Search – WordPress Search Plugin
Version 5.4.7
Comparing to
See all releases

Code changes from version 5.4.6 to 5.4.7

add-search-to-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Ivory Search
5
  * Plugin URI: https://ivorysearch.com
6
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
7
- * Version: 5.4.6
8
  * Author: Ivory Search
9
  * Author URI: https://ivorysearch.com/
10
  * License: GPL2+
@@ -110,7 +110,7 @@ final class Ivory_Search
110
  public function define_constants()
111
  {
112
  if ( !defined( 'IS_VERSION' ) ) {
113
- define( 'IS_VERSION', '5.4.6' );
114
  }
115
  if ( !defined( 'IS_PLUGIN_FILE' ) ) {
116
  define( 'IS_PLUGIN_FILE', __FILE__ );
4
  * Plugin Name: Ivory Search
5
  * Plugin URI: https://ivorysearch.com
6
  * Description: The WordPress Search plugin that includes Search Form Customizer, WooCommerce Search, Image Search, Search Shortcode, AJAX Search & Live Search support!
7
+ * Version: 5.4.7
8
  * Author: Ivory Search
9
  * Author URI: https://ivorysearch.com/
10
  * License: GPL2+
110
  public function define_constants()
111
  {
112
  if ( !defined( 'IS_VERSION' ) ) {
113
+ define( 'IS_VERSION', '5.4.7' );
114
  }
115
  if ( !defined( 'IS_PLUGIN_FILE' ) ) {
116
  define( 'IS_PLUGIN_FILE', __FILE__ );
admin/class-is-admin.php CHANGED
@@ -250,7 +250,7 @@ class IS_Admin
250
  if ( strtotime( '-7 days' ) >= strtotime( $date ) ) {
251
  global $current_user ;
252
  echo '<div class="is-notice notice"><div class="is-notice-image"></div><div class="is-notice-body">' ;
253
- echo '<a class="is-notice-dismiss" href="' . add_query_arg( 'is_dismiss', 'notice_review' ) . '">' . esc_html__( 'Dismiss', 'add-search-to-menu' ) . '</a>' ;
254
  echo '<div class="is-notice-content">' ;
255
  printf( __( "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some time now, and I hope you like it!", 'add-search-to-menu' ), '<strong>' . $current_user->display_name . '</strong>', '<strong>Ivory Search</strong>' );
256
  ?><br/><br/><?php
@@ -258,7 +258,7 @@ class IS_Admin
258
  echo '</div>' ;
259
  echo '<div class="is-notice-links">' ;
260
  echo '<a href="' . esc_url( 'https://wordpress.org/support/plugin/add-search-to-menu/reviews/?filter=5' ) . '" class="button button-primary btn-highlight" target="_blank" >' . esc_html__( 'Review Ivory Search', 'add-search-to-menu' ) . '</a>' ;
261
- echo '<a href="' . add_query_arg( 'is_dismiss', 'notice_review' ) . '" class="button button-primary">' . esc_html__( 'No, thanks', 'add-search-to-menu' ) . '</a>' ;
262
  echo '</div></div></div>' ;
263
  }
264
 
@@ -347,7 +347,7 @@ class IS_Admin
347
  $is_notices['is_notices']['review'] = 1;
348
  }
349
  update_option( 'is_notices', $is_notices );
350
- wp_redirect( remove_query_arg( 'is_dismiss' ) );
351
  }
352
 
353
 
@@ -733,7 +733,7 @@ class IS_Admin
733
  }
734
 
735
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
736
- wp_safe_redirect( $redirect_to );
737
  exit;
738
  }
739
 
@@ -762,7 +762,7 @@ class IS_Admin
762
  }
763
 
764
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
765
- wp_safe_redirect( $redirect_to );
766
  exit;
767
  }
768
 
@@ -783,7 +783,7 @@ class IS_Admin
783
  }
784
 
785
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
786
- wp_safe_redirect( $redirect_to );
787
  exit;
788
  }
789
 
@@ -822,7 +822,7 @@ class IS_Admin
822
  $query['message'] = 'deleted';
823
  }
824
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
825
- wp_safe_redirect( $redirect_to );
826
  exit;
827
  }
828
 
250
  if ( strtotime( '-7 days' ) >= strtotime( $date ) ) {
251
  global $current_user ;
252
  echo '<div class="is-notice notice"><div class="is-notice-image"></div><div class="is-notice-body">' ;
253
+ echo '<a class="is-notice-dismiss" href="' . esc_url( add_query_arg( 'is_dismiss', 'notice_review' ) ) . '">' . esc_html__( 'Dismiss', 'add-search-to-menu' ) . '</a>' ;
254
  echo '<div class="is-notice-content">' ;
255
  printf( __( "Hey %s, it's Vinod Dalvi from %s. You have used this free plugin for some time now, and I hope you like it!", 'add-search-to-menu' ), '<strong>' . $current_user->display_name . '</strong>', '<strong>Ivory Search</strong>' );
256
  ?><br/><br/><?php
258
  echo '</div>' ;
259
  echo '<div class="is-notice-links">' ;
260
  echo '<a href="' . esc_url( 'https://wordpress.org/support/plugin/add-search-to-menu/reviews/?filter=5' ) . '" class="button button-primary btn-highlight" target="_blank" >' . esc_html__( 'Review Ivory Search', 'add-search-to-menu' ) . '</a>' ;
261
+ echo '<a href="' . esc_url( add_query_arg( 'is_dismiss', 'notice_review' ) ) . '" class="button button-primary">' . esc_html__( 'No, thanks', 'add-search-to-menu' ) . '</a>' ;
262
  echo '</div></div></div>' ;
263
  }
264
 
347
  $is_notices['is_notices']['review'] = 1;
348
  }
349
  update_option( 'is_notices', $is_notices );
350
+ wp_redirect( esc_url_raw( remove_query_arg( 'is_dismiss' ) ) );
351
  }
352
 
353
 
733
  }
734
 
735
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
736
+ wp_safe_redirect( esc_url_raw( $redirect_to ) );
737
  exit;
738
  }
739
 
762
  }
763
 
764
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
765
+ wp_safe_redirect( esc_url_raw( $redirect_to ) );
766
  exit;
767
  }
768
 
783
  }
784
 
785
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
786
+ wp_safe_redirect( esc_url_raw( $redirect_to ) );
787
  exit;
788
  }
789
 
822
  $query['message'] = 'deleted';
823
  }
824
  $redirect_to = add_query_arg( $query, menu_page_url( 'ivory-search', false ) );
825
+ wp_safe_redirect( esc_url_raw( $redirect_to ) );
826
  exit;
827
  }
828
 
includes/class-is-index-manager.php CHANGED
@@ -222,7 +222,7 @@ class IS_Index_Manager extends IS_Base_Options {
222
  $this->index_opt->save();
223
 
224
  $redirect_to = add_query_arg( array( 'message' => 'index-reset' ) );
225
- wp_safe_redirect( $redirect_to );
226
  exit();
227
  } else {
228
  if ( ! empty( $_REQUEST['message'] )
222
  $this->index_opt->save();
223
 
224
  $redirect_to = add_query_arg( array( 'message' => 'index-reset' ) );
225
+ wp_safe_redirect( esc_url_raw( $redirect_to ) );
226
  exit();
227
  } else {
228
  if ( ! empty( $_REQUEST['message'] )
languages/add-search-to-menu.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
- "POT-Creation-Date: 2022-02-22 11:33+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Ivory Search\n"
5
+ "POT-Creation-Date: 2022-06-28 17:49+0530\n"
6
  "PO-Revision-Date: 2020-03-17 21:05+0530\n"
7
  "Last-Translator: \n"
8
  "Language-Team: Ivory Search <admin@ivorysearch.com>\n"
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: search, woocommerce search, image search, ajax search, search shortcode, l
5
  Requires at least: 3.9
6
  Tested up to: 6.0
7
  Requires PHP: 5.2.4
8
- Stable tag: 5.4.6
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -197,6 +197,9 @@ Yes we do. We try our best to help free users with customisation requests and we
197
 
198
  == Changelog ==
199
 
 
 
 
200
  = 5.4.6 =
201
  * Fixed - TablePress not searching japanese words
202
 
5
  Requires at least: 3.9
6
  Tested up to: 6.0
7
  Requires PHP: 5.2.4
8
+ Stable tag: 5.4.7
9
  License: GPLv2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
197
 
198
  == Changelog ==
199
 
200
+ = 5.4.7 =
201
+ * Fixed - add_query_arg() and remove_query_arg() usage
202
+
203
  = 5.4.6 =
204
  * Fixed - TablePress not searching japanese words
205