WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19866, comment 13


Ignore:
Timestamp:
01/10/2015 02:56:09 AM (5 years ago)
Author:
sc0ttkclark
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19866, comment 13

    initial v1  
    1 Would be great if this possible, losing out on everything WP_Query can provide for query building (meta_query, tax_query, search, etc), simply because it doesn't prime caches for the posts returned (exactly like any non-default 'fields' currently does in core).
     1Would be great if we made this possible. Losing out on everything WP_Query can provide for query building (meta_query, tax_query, search, etc), simply because it doesn't prime caches for the posts returned (exactly like any non-default 'fields' currently does in core).
    22
    33I think we ''should'' encourage this through WP_Query, let's not make people write more custom SQL that is anything but backwards compatible, pretty please?