Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51136, comment 7

    initial v1  
    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()` 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()` function, as suggested on the patch, which will fix this bug.