Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47280, comment 17


Ignore:
Timestamp:
11/30/2021 03:11:20 PM (3 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47280, comment 17

    initial v1  
    88* Probably need to convert `found_posts` and `max_num_pages` into private properties and then expose them via `__get()` which lazily populates (and caches) their values.
    99* Need tests for it all.
     10* Need to account for third party search integrations (eg. Elasticsearch) that override the SQL query to count results, should be handled by the existing `found_posts_query` filter.
    1011
    1112I can work on this during 6.0 unless someone else wants to.