WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12856 closed defect (bug) (duplicate)

Fix 2 small bugs on WP_Query, allow custom type/status when custom taxo is specified

Reported by: momo360modena Owned by: ryan
Milestone: Priority: high
Severity: normal Version: 3.0
Component: Query Keywords: has-patch needs-testing
Focuses: Cc:

Description

Currently, API force always variables :

 $post_type at 'any

'
and

 $post_status at 'publish'

When a custom taxonomy is loaded.
The patch allow to check if a user param is already set or not.

This ticket is the following of ticket:12287

Attachments (1)

query.php.patch (1002 bytes) - added by momo360modena 5 years ago.

Download all attachments as: .zip

Change History (3)

@momo360modena5 years ago

comment:1 @nacin5 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#12287. Please don't spawn new tickets.

comment:2 @momo360modena5 years ago

I found it more logical to create a new ticket. But why not;)

Note: See TracTickets for help on using tickets.