WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#35633 closed defect (bug) (fixed)

Unit test about WP_Comment_Query and multiple post_type needs update

Reported by: kouratoras Owned by: boonebgorges
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Comments Keywords:
Focuses: Cc:

Description

During the implementation of #35512, I found out that a unit test function of #20006 ticket needs update, as it uses 3 custom post types, but registers/unregisters only 2 of them.

Attachments (1)

35633.patch (787 bytes) - added by kouratoras 5 years ago.
Unit test update

Download all attachments as: .zip

Change History (4)

@kouratoras
5 years ago

Unit test update

#1 @boonebgorges
5 years ago

  • Milestone changed from Awaiting Review to 4.5

Thanks!

#2 @boonebgorges
5 years ago

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

In 36415:

Fix set up/tear down of post types in comment query test.

Introduced in [31015].

Props kouratoras.
Fixes #35633.

#3 @johnbillion
5 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.