WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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 4 years ago.

Download all attachments as: .zip

Change History (3)

momo360modena4 years ago

comment:1 nacin4 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 momo360modena4 years ago

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

Note: See TracTickets for help on using tickets.