| 5 | | 1. Create 5 posts "**Test 1**" ..2,3,4,5 **AND** save as "**pending**" **AND** set the publish date to "**2022/01/01 at 9:00 am**" |
| 6 | | 2. At this point, WordPress decided to give the posts a random order |
| 7 | | 3. The current order of the posts that i have is Test "**2,1,4,5,3**" even though the order i created them was "**1,2,3,4,5**" |
| 8 | | 4. Delete the 2nd post which is "**Test 1**" |
| 9 | | 5. The order now is still correct "**2,4,5,3**" ("1" is missing, but WordPress keeps the order from the beginning) |
| 10 | | 6. Delete another item, eg. "**Test 4**" |
| 11 | | 7. WordPress decides to order the items completely different, the new order is "**3,5,2**". |
| | 5 | === Steps to Reproduce |
| | 6 | 1. ‼ Only view "**All Posts**", url: **/wp-admin/edit.php?post_type=post** |
| | 7 | 2. Create 5 posts "**Test 1**" ..2,3,4,5 **AND** save as "**pending**" **AND** set the publish date to "**2022/01/01 at 9:00 am**" |
| | 8 | 3. At this point, WordPress decided to give the posts a random order |
| | 9 | 4. The current order of the posts that i have is Test "**2,1,4,5,3**" even though the order i created them was "**1,2,3,4,5**" |
| | 10 | 5. Delete the 2nd post which is "**Test 1**" |
| | 11 | 6. The order now is still correct "**2,4,5,3**" ("1" is missing, but WordPress keeps the order from the beginning) |
| | 12 | 7. Delete another item, eg. "**Test 4**" |
| | 13 | 8. WordPress decides to order the items completely different, the new order is "**3,5,2**". |
| 13 | | **SUMMARY AS EXPECTED:** 🐞❌ The remaining posts display in a different order than before. |
| 14 | | |
| 15 | | ---- |
| 16 | | |
| 17 | | |
| 18 | | Replying to [comment:1 costdev]: |
| 19 | | > Hi @mikulabc, thanks for opening this ticket! To help make testing this issue easier, let's get some testing instructions on the ticket. |
| 20 | | > |
| 21 | | > Please confirm whether the bug appears for you after following these instructions. If the bug doesn't occur, please let me know which steps should be corrected. |
| 22 | | > |
| 23 | | > == Testing Instructions |
| 24 | | > |
| 25 | | > === Steps to Reproduce |
| 26 | | > 1. Create five posts and set their status to `Pending`. |
| 27 | | > 2. Navigate to `Posts > Pending`. Note the order of the posts. |
| 28 | | > 3. Delete the second post. |
| 29 | | > 4. 🐞 The remaining posts display in a different order than before. |
| 30 | | > |
| 31 | | > === Expected Results |
| 32 | | > - ❌ The remaining posts display in a different order than before. |
| | 15 | === Expected Results |
| | 16 | - 🐞❌ The remaining posts display in a different order than before. |