Skip to content

Commit

Permalink
Release 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
goncaloasimoes committed Jul 12, 2024
1 parent 00c0c73 commit 4c09ec1
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### [0.4.3] - 2024-07-12

### Added

- ElasticPress integration.
Expand Down Expand Up @@ -369,7 +371,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

First Release!

[unreleased]: https://github.com/26b/unbabble/compare/0.4.2...HEAD
[unreleased]: https://github.com/26b/unbabble/compare/0.4.3...HEAD
[0.4.3]: https://github.com/26b/unbabble/compare/0.4.2...0.4.3
[0.4.2]: https://github.com/26b/unbabble/compare/0.4.1...0.4.2
[0.4.1]: https://github.com/26b/unbabble/compare/0.4.0...0.4.1
[0.4.0]: https://github.com/26b/unbabble/compare/0.3.1...0.4.0
Expand Down
10 changes: 5 additions & 5 deletions lib/Integrations/ElasticPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
/**
* Hooks for integrating with ElasticPress.
*
* @since Unreleased
* @since 0.4.3
*/
class ElasticPress {

/**
* Register hooks.
*
* @since Unreleased
* @since 0.4.3
*/
public function register() {
if ( ! \is_plugin_active( 'elasticpress/elasticpress.php' ) ) {
Expand All @@ -31,7 +31,7 @@ public function register() {
/**
* Add argument to ElasticPress's sync query arguments to not apply Unbabble's lang filter.
*
* @since Unreleased
* @since 0.4.3
*
* @param array $args
* @return array
Expand All @@ -45,7 +45,7 @@ public function ep_index_posts_args( array $args ) : array {
* Add post language to meta entries sent to ElasticPress in order to be able to filter by
* language later.
*
* @since Unreleased
* @since 0.4.3
*
* @param array $meta
* @param WP_Post $post
Expand All @@ -69,7 +69,7 @@ public function ep_prepare_meta_data( array $meta, WP_Post $post ) : array {
* Using the `ep_skip_query_integration` filter since its the last filter we can use to
* specifically change the fetch query, and there is no appropriate filter otherwise.
*
* @since Unreleased
* @since 0.4.3
*
* @param bool $return
* @param WP_Query $query
Expand Down
2 changes: 1 addition & 1 deletion lib/Posts/LangFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function filter_count_posts( stdClass $counts, string $type, string $perm
/**
* Returns whether the filtering of posts should happen.
*
* @since Unreleased - Add check for `ubb_lang_filter` query_var with a false value to stop the lang filter.
* @since 0.4.3 - Add check for `ubb_lang_filter` query_var with a false value to stop the lang filter.
* @since 0.0.1
*
* @param WP_Query $query
Expand Down
2 changes: 1 addition & 1 deletion lib/Terms/LangMetaBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function new_term_language_metabox() : void {
/**
* Prints metabox for when an existing term is being edited.
*
* @since Unreleased Fixed issue with bad language check.
* @since 0.4.3 Fixed issue with bad language check.
* @since 0.4.2 Add new `print_language_select` argument. Check for bad language and stop showing create and link translations if so.
* @since 0.0.1
*
Expand Down
4 changes: 2 additions & 2 deletions unbabble.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Unbabble
* Plugin URI: https://github.com/26B/unbabble
* Description: A new and simple i18n system for WordPress
* Version: 0.4.2
* Version: 0.4.3
* Author: 26B
* Author URI: https://26b.io/
* License: GPL-2.0+
Expand Down Expand Up @@ -34,7 +34,7 @@
*/
\register_deactivation_hook( __FILE__, '\TwentySixB\WP\Plugin\Unbabble\Deactivator::deactivate' );

$plugin = new TwentySixB\WP\Plugin\Unbabble\Plugin( 'unbabble', '0.4.2' );
$plugin = new TwentySixB\WP\Plugin\Unbabble\Plugin( 'unbabble', '0.4.3' );

// Initialize plugin.
$plugin->init();
Expand Down

0 comments on commit 4c09ec1

Please sign in to comment.