[wp-trac] [WordPress Trac] #44142: Load Order: save_mod_rewrite_rules assumes wp-admin/includes/file.php is loaded
WordPress Trac
noreply at wordpress.org
Sat Jun 16 13:01:44 UTC 2018
#44142: Load Order: save_mod_rewrite_rules assumes wp-admin/includes/file.php is
loaded
------------------------------+----------------------
Reporter: YuriV | Owner: kraftbj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9.7
Component: Bootstrap/Load | Version: 4.9.6
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+----------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"43361" 43361]:
{{{
#!CommitTicketReference repository="" revision="43361"
Privacy: Make sure `wp_add_privacy_policy_content()` does not cause a
fatal error by unintentionally flushing rewrite rules outside of the admin
context.
Add a `_doing_it_wrong()` message describing the correct usage of the
function.
Props kraftbj, azaozz, SergeyBiryukov, YuriV.
Fixes #44142.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44142#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list