mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Sergey Biryukov
b58ca547e5
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. Merges [43361], [43362], [43363] to the 4.9 branch. Fixes #44142. git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43364 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.2%
SCSS
0.8%
HTML
0.7%