Opened 6 years ago
Last modified 6 years ago
#44903 new defect (bug)
Multisite - Archive Main Query Duplicate Paged Posts
Reported by: | barryhanbury | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.8 |
Component: | Query | Keywords: | reporter-feedback |
Focuses: | multisite | Cc: |
Description
Hi there,
I noticed today, on my multisite, a post type archive such as posts, etc, while using the main query that wordpress sets, and pagination /page/2/ for example, this shows duplicate posts.
I tested this on a fresh multisite install of wordpress with a fresh database.
Change History (3)
#2
follow-up:
↓ 3
@
6 years ago
- Keywords reporter-feedback added
Hi @barryhanbury, welcome to WordPress Trac! Thanks for the report.
Could you provide a piece of code or the steps to reproduce the issue on a clean install? Does it still happen with all plugins disabled and a default theme (Twenty Seventeen) activated?
#3
in reply to:
↑ 2
@
6 years ago
Replying to SergeyBiryukov:
Hi @barryhanbury, welcome to WordPress Trac! Thanks for the report.
Could you provide a piece of code or the steps to reproduce the issue on a clean install? Does it still happen with all plugins disabled and a default theme (Twenty Seventeen) activated?
Hi Sergey, thanks for your reply!
There is no code involved, just set up a clean install with default wp theme, 2017 or something, add enough "posts" fro pagination and then do site.com/post_type=post&paged=2
To further add, this only happens when the orderby is set to date
I changed the order by to title and this fixed the problem.