Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ve3 committed Jul 1, 2024
1 parent c887349 commit f87f661
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion App/Controllers/Front/AlterPosts.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ protected function isDisableCustomOrder()
*/
public function registerHooks()
{
add_action('pre_get_posts', [$this, 'alterListPostAction']);
add_action('pre_get_posts', [$this, 'alterListPostAction'], 20);

add_filter('get_previous_post_where', [$this, 'alterPreviousPostWhere'], 10, 5);
add_filter('get_previous_post_sort', [$this, 'alterPreviousPostSort'], 10, 2);
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Version 1.0.x

### 1.0.2
2021-12-14

* Update WPListTable class based on WordPress 5.8.2.

### 1.0.1
2019-03-07

Expand Down
2 changes: 1 addition & 1 deletion rd-postorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Rundiz PostOrder
* Plugin URI: https://rundiz.com/?p=319
* Description: Re-order posts to what you want.
* Version: 1.0.3
* Version: 1.0.4
* Requires at least: 4.7.0
* Requires PHP: 5.5
* Author: Vee Winch
Expand Down
14 changes: 7 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== Rundiz PostOrder ===
Contributors: okvee
Tags: posts, order, sort, re-arrange, sortable
Tested up to: 6.5
Stable tag: 1.0.3
Tested up to: 6.6
Stable tag: 1.0.4
License: MIT
License URI: https://opensource.org/licenses/MIT
Requires at least: 4.7.0
Expand Down Expand Up @@ -70,6 +70,11 @@ Please note that to hook into this filter in the theme some times it might not w
3. Re-ordering action.

== Changelog ==
= 1.0.4 =
2024-07-01

* Update priority for hook `pre_get_posts` to be lower (higher number) to let other plugins hook work with this plugin either.

= 1.0.3 =
2022-02-01

Expand All @@ -88,8 +93,3 @@ Please note that to hook into this filter in the theme some times it might not w
* Make Polylang supported (on selected language and list posts).
* Fix alter post on front pages main query only.
* Update translation.

= 1.0.2 =
2021-12-14

* Update WPListTable class based on WordPress 5.8.2.

0 comments on commit f87f661

Please sign in to comment.