Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56265, comment 2


Ignore:
Timestamp:
07/25/2022 02:52:42 AM (4 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56265, comment 2

    initial v1  
    11@costdev I was able to replicate the issue and the bug still randomizes the order, if you follow the test below you will get the same:
    22
    3 ‼ Only view "**All Posts**", url: **/wp-admin/edit.php?post_type=post**
     3== Testing Instructions
    44
    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
     61. ‼ Only view "**All Posts**", url: **/wp-admin/edit.php?post_type=post**
     72. 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**"
     83. At this point, WordPress decided to give the posts a random order
     94. 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**"
     105. Delete the 2nd post which is "**Test 1**"
     116. The order now is still correct "**2,4,5,3**" ("1" is missing, but WordPress keeps the order from the beginning)
     127. Delete another item, eg. "**Test 4**"
     138. WordPress decides to order the items completely different, the new order is "**3,5,2**".
    1214
    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.