WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31071, comment 50


Ignore:
Timestamp:
12/22/2016 05:55:52 PM (3 years ago)
Author:
GunGeekATX
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31071, comment 50

    initial v1  
    1414}}}
    1515
    16 If we allow the developer to pass in a true/false value for those (or make the args filterable), the database queries could be skipped altogether.  On the huge site I'm working on, those values are always going to be true, so there's no need to run the database query, indexed or not.
     16If we allow the developer to pass in a true/false value for those (or make the args filterable), the database queries could be skipped altogether.  On the huge site I'm working on, those values are always going to be true, so there's no need to run the database query, indexed or not.  Developers could also handle caching those values themselves if they needed to.
     17