WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#33883 closed enhancement (fixed)

Allow comments to be ordered by `comment__in`

Reported by: wonderboymusic Owned by: wonderboymusic
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Comments Keywords:
Focuses: Cc:

Description

Related to #8071, when retrieving comments via comment__in, the should be returned in that order.

Attachments (1)

33883.diff (2.3 KB) - added by wonderboymusic 4 years ago.

Download all attachments as: .zip

Change History (2)

@wonderboymusic
4 years ago

#1 @wonderboymusic
4 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to closed

In 34212:

WP_Comment_Query: add comment__in to allowed values for $orderby.

Adds unit tests.

Fixes #33883.

Note: See TracTickets for help on using tickets.