Skip to content

Commit

Permalink
Release 0.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
goncaloasimoes committed Jul 30, 2024
1 parent ff31478 commit dc57772
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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.8] - 2024-07-30

### Added

- Checks for empty edit links, and non existent post/terms, when redirecting edit post/term links for the correct language.
Expand Down Expand Up @@ -445,7 +447,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.7...HEAD
[unreleased]: https://github.com/26b/unbabble/compare/0.4.8...HEAD
[0.4.8]: https://github.com/26b/unbabble/compare/0.4.7...0.4.8
[0.4.7]: https://github.com/26b/unbabble/compare/0.4.6...0.4.7
[0.4.6]: https://github.com/26b/unbabble/compare/0.4.5...0.4.6
[0.4.5]: https://github.com/26b/unbabble/compare/0.4.4...0.4.5
Expand Down
4 changes: 2 additions & 2 deletions lib/Admin/Redirector.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function handle_language_switch_redirect( string $new_lang ) : void {
/**
* Redirect if the current language is not the correct one for the current post.
*
* @since Unreleased Add checks for bad edit link and/or unknown post, and redirects for those cases.
* @since 0.4.8 Add checks for bad edit link and/or unknown post, and redirects for those cases.
* @since 0.0.1
*
* @return void
Expand Down Expand Up @@ -136,7 +136,7 @@ public function redirect_post_if_needed() : void {
/**
* Redirect if the current language is not the correct one for the current term.
*
* @since Unreleased Add checks for bad edit link and/or unknown term, and redirects for those cases.
* @since 0.4.8 Add checks for bad edit link and/or unknown term, and redirects for those cases.
* @since 0.4.2 Don't redirect when term lang is not in allowed languages to allow the user to fix it.
* @since 0.0.1
*
Expand Down
2 changes: 1 addition & 1 deletion lib/Posts/LinkTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function unlink( int $post_id ) : bool {
/**
* Get possible links for post $post_id.
*
* @since Unreleased Changed query to improve efficiency.
* @since 0.4.8 Changed query to improve efficiency.
* @since 0.4.5 Add search argument and search filter to query.
* @since 0.1.0
*
Expand Down

0 comments on commit dc57772

Please sign in to comment.