[wp-trac] [WordPress Trac] #19866: Allow specifications of any wp_posts field(s) in WP_Query
WordPress Trac
noreply at wordpress.org
Wed Apr 23 18:12:04 UTC 2014
#19866: Allow specifications of any wp_posts field(s) in WP_Query
-------------------------+-------------------------
Reporter: bigdawggi | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Query | Version:
Severity: normal | Resolution: maybelater
Keywords: has-patch | Focuses:
-------------------------+-------------------------
Comment (by helen):
Replying to [comment:7 MikeSchinkel]:
> How do you feel about maybe modularizing `WPQuery->get_posts()` such
that we would be able to get parts of a query more easily; specifically
the `WHERE` and `JOIN` clauses without having to duplicate so much SQL
logic?
Filtering fully formed HTML and SQL statements/fragments is one of my
least favorite things to do. It sounds nice - #24684 is very much related
to that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19866#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list