WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #29118, comment 7


Ignore:
Timestamp:
09/08/2014 02:15:58 PM (7 years ago)
Author:
ericlewis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29118, comment 7

    initial v1  
    11Replying to [comment:6 danielbachhuber]:
    2 > It's not uncommon for me to hook expensive processes (for instance, a call to `get_terms()`) onto a rewrite filter because, as a developer, I know flushing rewrite rules only happens in contexts where it's fine for me to have an expensive process. I think flushing rewrite rules on every page load, and retaining all of the filters we have, is a non-starter.
     2> It's not uncommon for me to hook expensive processes (for instance, a call to `get_terms()`) onto a rewrite filter because, as a developer, I know flushing rewrite rules only happens in contexts where it's fine for me to have an expensive process.
    33
    44Can you expand on this use case?