Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #51136, comment 7


Ignore:
Timestamp:
02/25/2021 03:49:52 PM (3 years ago)
Author:
vaurdan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51136, comment 7

    v1 v2  
    3434}}}
    3535
    36 This is a very crude solution, but it might work. Flushing will only happen once, after the native sitemaps are disabled, and should allow us to move the `$this->sitemaps_enabled()` check to the top of the `init()` function, as suggested on the patch, which will fix this bug.
     36This is a very crude solution, but it might work. Flushing will only happen once, after the native sitemaps are disabled, and should allow us to move the `$this->sitemaps_enabled()` check to the top of the `init()` method, as suggested on the patch, which will fix this bug.