Version Description
- Actually working admin search.
Download this release
Release Info
Developer | msaari |
Plugin | Relevanssi – A Better Search |
Version | 4.1.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.1 to 4.1.0.1
- lib/admin-ajax.php +1 -0
- lib/interface.php +2 -1
- readme.txt +4 -1
- relevanssi.php +1 -1
lib/admin-ajax.php
CHANGED
@@ -13,6 +13,7 @@ add_action( 'wp_ajax_relevanssi_index_posts', 'relevanssi_index_posts_ajax_wrapp
|
|
13 |
add_action( 'wp_ajax_relevanssi_count_posts', 'relevanssi_count_posts_ajax_wrapper' );
|
14 |
add_action( 'wp_ajax_relevanssi_count_missing_posts', 'relevanssi_count_missing_posts_ajax_wrapper' );
|
15 |
add_action( 'wp_ajax_relevanssi_list_categories', 'relevanssi_list_categories' );
|
|
|
16 |
|
17 |
/**
|
18 |
* Truncates the Relevanssi index.
|
13 |
add_action( 'wp_ajax_relevanssi_count_posts', 'relevanssi_count_posts_ajax_wrapper' );
|
14 |
add_action( 'wp_ajax_relevanssi_count_missing_posts', 'relevanssi_count_missing_posts_ajax_wrapper' );
|
15 |
add_action( 'wp_ajax_relevanssi_list_categories', 'relevanssi_list_categories' );
|
16 |
+
add_action( 'wp_ajax_relevanssi_admin_search', 'relevanssi_admin_search' );
|
17 |
|
18 |
/**
|
19 |
* Truncates the Relevanssi index.
|
lib/interface.php
CHANGED
@@ -901,7 +901,8 @@ function relevanssi_add_admin_scripts( $hook ) {
|
|
901 |
wp_localize_script( 'relevanssi_admin_js', 'relevanssi', $localizations );
|
902 |
|
903 |
$nonce = array(
|
904 |
-
'indexing_nonce'
|
|
|
905 |
);
|
906 |
|
907 |
wp_localize_script( 'relevanssi_admin_js', 'nonce', $nonce );
|
901 |
wp_localize_script( 'relevanssi_admin_js', 'relevanssi', $localizations );
|
902 |
|
903 |
$nonce = array(
|
904 |
+
'indexing_nonce' => wp_create_nonce( 'relevanssi_indexing_nonce' ),
|
905 |
+
'searching_nonce' => wp_create_nonce( 'relevanssi_admin_search_nonce' ),
|
906 |
);
|
907 |
|
908 |
wp_localize_script( 'relevanssi_admin_js', 'nonce', $nonce );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: search, relevance, better search
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.0
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -130,6 +130,9 @@ Each document database is full of useless words. All the little words that appea
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
133 |
= 4.1 =
|
134 |
* New feature: You can now export the search log as a CSV file.
|
135 |
* New feature: Admin Search page allows you to perform searches in WP admin using Relevanssi.
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.0
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.1.0.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 4.1.0.1 =
|
134 |
+
* Actually working admin search.
|
135 |
+
|
136 |
= 4.1 =
|
137 |
* New feature: You can now export the search log as a CSV file.
|
138 |
* New feature: Admin Search page allows you to perform searches in WP admin using Relevanssi.
|
relevanssi.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
* Plugin Name: Relevanssi
|
14 |
* Plugin URI: https://www.relevanssi.com/
|
15 |
* Description: This plugin replaces WordPress search with a relevance-sorting search.
|
16 |
-
* Version: 4.1
|
17 |
* Author: Mikko Saari
|
18 |
* Author URI: http://www.mikkosaari.fi/
|
19 |
* Text Domain: relevanssi
|
13 |
* Plugin Name: Relevanssi
|
14 |
* Plugin URI: https://www.relevanssi.com/
|
15 |
* Description: This plugin replaces WordPress search with a relevance-sorting search.
|
16 |
+
* Version: 4.1.0.1
|
17 |
* Author: Mikko Saari
|
18 |
* Author URI: http://www.mikkosaari.fi/
|
19 |
* Text Domain: relevanssi
|