[wp-trac] [WordPress Trac] #39818: Bulk Publishing Posts (from Pending State) Causes Pagination To Break
WordPress Trac
noreply at wordpress.org
Thu Feb 9 06:05:21 UTC 2017
#39818: Bulk Publishing Posts (from Pending State) Causes Pagination To Break
----------------------------+-----------------------------
Reporter: CrazyEngineers | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.7.2
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
Steps: -
1. Create about 30 posts, all in 'pending' state.
2. In admin panel, bulk edit all these posts and change status to
'publish'
Observe: The order of the posts gets messed up in the admin panel. If
pagination is in place, you can notice duplicate posts on pages.
Apparently, the 'publish date' of the posts is messed up at the time of
bulk publishing all the posts. WP_Query cannot decide how to paginate
posts because multiple posts would have the same publishing time (unix
timestamp).
Notes: I encountered this bug at the time of creating posts using a script
(to test my plugin). I could reproduce it on two different servers; but
not on my local machine with exported XML.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39818>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list