Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
v0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardogomez97 committed Jan 20, 2022
1 parent c469363 commit 7ebfa4f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doofinder/doofinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Doofinder
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Version: 0.4.3
* Version: 0.4.4
* Author: Doofinder
* Description: Integrate Doofinder Search in your WordPress website.
*
Expand All @@ -30,7 +30,7 @@ class Doofinder_For_WordPress {
*
* @var string
*/
public static $version = '0.4.3';
public static $version = '0.4.4';

/**
* The only instance of Doofinder_For_WordPress
Expand Down
4 changes: 4 additions & 0 deletions doofinder/includes/api/class-doofinder-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@ public function send_batch( $items_type, array $items, $language = null ) {
$this->log->log( get_class( $exception ) );
$this->log->log( $exception->getMessage() );

$this->log->log( 'Empty temporal index when an error occurs. This way the next one does not crash. ' );
$indexing_data->set( 'temp_index', [], true );
$this->log->log($indexing_data->get( 'temp_index' ));

if ( $exception instanceof DoofinderError ) {
$this->log->log( $exception->getBody() );

Expand Down
5 changes: 4 additions & 1 deletion doofinder/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Doofinder ===
Contributors: doofinder, chopchoporg
Tags: search, autocomplete
Version: 0.4.3
Version: 0.4.4
Requires at least: 4.1
Tested up to: 5.8.2
Stable tag: trunk
Expand Down Expand Up @@ -114,6 +114,9 @@ Just send your questions to <mailto:[email protected]> and we will try to an

== Changelog ==

= 0.4.4 =
- Fix index error

= 0.4.3 =
- Fix some error catches.
- Improvements in api calls
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder-wordpress",
"version": "0.4.3",
"version": "0.4.4",
"description": "Integrate Doofinder in your WordPress site with (almost) no effort.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7ebfa4f

Please sign in to comment.