Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#42703 new enhancement

WP_Query: Swap parsing date into own method

Reported by: screamingdev's profile screamingdev Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Database Keywords:
Focuses: Cc:


The WP_Query::get_posts also parses the date query.
This is modular enough to swap it to its own method at last.
A proof of concept has been made and all tests are still green.

Some details and todos:

Hint: The long run is about enabling WordPress to support multiple tables (per "post-type"). To achieve this some enhancements to the current wpdb and WP_Query class are needed. This issues covers a small bit of it by refurbishing the source.

Change History (1)

#1 @pento
5 years ago

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