WordPress.org

Make WordPress Core

Opened 13 months ago

Last modified 13 months 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:
PR Number:

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)

#1 @barryhanbury
13 months ago

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.

#2 follow-up: @SergeyBiryukov
13 months 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 @barryhanbury
13 months 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

Note: See TracTickets for help on using tickets.