Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53240 closed task (blessed) (fixed)

Add unit tests for `construct_wp_query_args`

Reported by: ntsekouras's profile ntsekouras Owned by: gziolo's profile gziolo
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.8
Component: Editor Keywords: has-patch has-unit-tests
Focuses: Cc:

Description (last modified by gziolo)

New construct_wp_query_args function needs to have some tests.

Follow-up for #52991 and [50929].

Change History (5)

This ticket was mentioned in PR #1270 on WordPress/wordpress-develop by ntsekouras.


3 years ago
#1

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/53240

This PR just adds unit tests for the new construct_wp_query_args function.

#2 @gziolo
3 years ago

  • Milestone changed from Awaiting Review to 5.8
  • Type changed from enhancement to task (blessed)
  • Version set to trunk

#3 @gziolo
3 years ago

  • Description modified (diff)

#4 @gziolo
3 years ago

  • Owner set to gziolo
  • Resolution set to fixed
  • Status changed from assigned to closed

In 50944:

Editor: Add missing unit tests for construct_wp_query_args

Follow-up for [50929].
Props ntsekouras, jorbin.
Fixes #53240. See #52991.

Note: See TracTickets for help on using tickets.