Skip to content

Commit

Permalink
Add additional orderby column - ID - to ensure consistent order acros…
Browse files Browse the repository at this point in the history
…s pages
  • Loading branch information
tauno committed Feb 20, 2018
1 parent bca0894 commit eb30c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function srm_get_redirects( $args = array(), $hard = false ) {
'post_status' => 'publish',
'paged' => $i,
'fields' => 'ids',
'orderby' => 'menu_order',
'orderby' => 'menu_order ID',
'order' => 'ASC',
);

Expand Down

0 comments on commit eb30c53

Please sign in to comment.