Skip to content

Commit

Permalink
bump version to 1.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasKau committed Feb 15, 2023
1 parent 2017ee8 commit 6ee30cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.16: 2023-02-15
## Fixed
* Search on empty setting.

### 1.0.15: 2023-02-15
## Fixed
* Search text input field functionality when using air-search as replacement for WP default search.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ If you are using Air-light starter theme you can register your locations in your
```php
'search_locations' => [
'general' => [
'search_on_empty' => true, // Enables searching on empty fields, disables start search state. Accepts true as a boolean or string.
'query_args' => [
'posts_per_page' => '7',
],
Expand Down
6 changes: 3 additions & 3 deletions air-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://dude.fi
* License: GPL2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Version: 1.0.15
* Version: 1.0.16
*
* @package air-search
*/
Expand All @@ -16,7 +16,7 @@

defined( 'ABSPATH' ) || exit;

const PLUGIN_VERSION = '1.0.15';
const PLUGIN_VERSION = '1.0.16';

include plugin_dir_path( __FILE__ ) . '/query.php';
include plugin_dir_path( __FILE__ ) . '/helpers.php';
Expand All @@ -39,7 +39,7 @@ function enqueue_scripts() {
'rest_api_base' => rest_url(),
'disable_checkbox_auto_search' => apply_filters( 'air_search_disable_checkbox_auto_search', false ),
'disable_select_auto_search' => apply_filters( 'air_search_disable_select_auto_search', false ),
'search_on_empty' => apply_filters( 'air_search_search_on_empty', false ),
'search_on_empty' => wp_json_encode( get_location_search_on_empty_setting() ),
] );
} // end enqueue_scripts

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"plugin"
],
"license": "GPL-3.0+",
"version": "1.0.15",
"version": "1.0.16",
"authors": [
{
"name": "Digitoimisto Dude Oy",
Expand Down

0 comments on commit 6ee30cb

Please sign in to comment.