Make WordPress Core

Opened 9 years ago

Last modified 8 years ago

#42703 new enhancement

WP_Query: Swap parsing date into own method

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

Description

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
8 years ago

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