Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51723, comment 5


Ignore:
Timestamp:
11/14/2020 09:14:45 PM (4 years ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51723, comment 5

    initial v1  
    1 [attachment:"51723.2.diff"] is what I was working on a solution: it simply does a `require_once` on the file where `save_mod_rewrite_rules()` is defined before calling `flush_rewrite_rules()`.
     1[attachment:"51723.2.diff"] is what I was working on as a solution: it simply does a `require_once` on the file where `save_mod_rewrite_rules()` is defined before calling `flush_rewrite_rules()`.
    22
    33This also works as expected in my testing, and is simpler :-)  I can't see any downsides to it either, but maybe I'm missing something.