Wordpress/src/wp-admin
Sergey Biryukov d99d403030 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@43361 602fd350-edb4-49c9-b593-d223f7449a82
2018-06-16 13:01:42 +00:00
..
css Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
images Customize: Add a RTL version of "browser.png" for the site icon preview. 2016-07-05 11:31:13 +00:00
includes Privacy: Make sure wp_add_privacy_policy_content() does not cause a fatal error by unintentionally flushing rewrite rules outside of the admin context. 2018-06-16 13:01:42 +00:00
maint Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
network Accessibility: Better color contrast for the tables pagination links. 2018-04-29 16:24:41 +00:00
user Code is Poetry. 2017-11-30 23:09:33 +00:00
_index.php Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
about.php Add Privacy Tools admin page under the Tools menu. 2018-03-09 15:03:59 +00:00
admin-ajax.php Privacy: add means to erase personal data by username or email address. First run. 2018-04-18 22:29:59 +00:00
admin-footer.php Code is Poetry. 2017-11-30 23:09:33 +00:00
admin-functions.php Code is Poetry. 2017-11-30 23:09:33 +00:00
admin-header.php Administration: Avoid an extra space in the admin body class. 2018-04-13 14:02:10 +00:00
admin-post.php Code is Poetry. 2017-11-30 23:09:33 +00:00
admin.php Hooks: Standardize naming of dynamic hooks using values derived from superglobals to use interpolation vs concatenation. 2017-12-01 11:35:31 +00:00
async-upload.php Accessibility: Change the media upload "Dismiss error" link to a button. 2018-03-05 15:32:54 +00:00
comment.php Code is Poetry. 2017-11-30 23:09:33 +00:00
credits.php Help/About: Move "Get involved" link on Credits screen to the top of the page for better visibility. 2018-04-30 03:15:23 +00:00
custom-background.php Code is Poetry. 2017-11-30 23:09:33 +00:00
custom-header.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
customize.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
edit-comments.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:43:59 +00:00
edit-form-advanced.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:26:06 +00:00
edit-form-comment.php Comments: Escape permalink values on edit screen to prevent XSS. 2018-05-16 22:38:20 +00:00
edit-link-form.php Code is Poetry. 2017-11-30 23:09:33 +00:00
edit-tag-form.php Docs: Use WP_Term instead of generic object type for the $tag parameter in wp-admin/edit-tag-form.php hook docs. 2018-03-10 02:00:10 +00:00
edit-tags.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
edit.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:26:06 +00:00
export.php Code is Poetry. 2017-11-30 23:09:33 +00:00
freedoms.php Add Privacy Tools admin page under the Tools menu. 2018-03-09 15:03:59 +00:00
import.php Code is Poetry. 2017-11-30 23:09:33 +00:00
index.php Build/Test Tools: Replace Codex home page link in "Read more about setting up your local development environment" with a more specific handbook link. 2018-05-30 14:55:10 +00:00
install-helper.php Code is Poetry. 2017-11-30 23:09:33 +00:00
install.php Code is Poetry. 2017-11-30 23:09:33 +00:00
link-add.php Code is Poetry. 2017-11-30 23:09:33 +00:00
link-manager.php Code is Poetry. 2017-11-30 23:09:33 +00:00
link-parse-opml.php Code is Poetry. 2017-11-30 23:09:33 +00:00
link.php Code is Poetry. 2017-11-30 23:09:33 +00:00
load-scripts.php Code is Poetry. 2017-11-30 23:09:33 +00:00
load-styles.php Code is Poetry. 2017-11-30 23:09:33 +00:00
media-new.php Code is Poetry. 2017-11-30 23:09:33 +00:00
media-upload.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
media.php Code is Poetry. 2017-11-30 23:09:33 +00:00
menu-header.php Code is Poetry. 2017-11-30 23:09:33 +00:00
menu.php Privacy: Replace intrusive policy update notice with menu bubbles. 2018-05-10 19:51:58 +00:00
moderation.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-admin.php
ms-delete-site.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-edit.php
ms-options.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-sites.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-themes.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-upgrade-network.php Code is Poetry. 2017-11-30 23:09:33 +00:00
ms-users.php Code is Poetry. 2017-11-30 23:09:33 +00:00
my-sites.php Code is Poetry. 2017-11-30 23:09:33 +00:00
nav-menus.php Accessibility: Menus screen: Improve headings and instructions for better accessibility. 2018-03-20 17:46:12 +00:00
network.php Code is Poetry. 2017-11-30 23:09:33 +00:00
options-discussion.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
options-general.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
options-head.php Code is Poetry. 2017-11-30 23:09:33 +00:00
options-media.php Media: On Media Settings screen, make the pairs of labels and inputs always stacked vertically, on both mobile and desktop screens. 2018-03-20 22:43:58 +00:00
options-permalink.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
options-reading.php Code is Poetry. 2017-11-30 23:09:33 +00:00
options-writing.php Code is Poetry. 2017-11-30 23:09:33 +00:00
options.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
plugin-editor.php Administration: Remove unnecessary capitalization when referencing to plugin/theme editors. 2018-02-26 19:34:56 +00:00
plugin-install.php Code is Poetry. 2017-11-30 23:09:33 +00:00
plugins.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
post-new.php Move scheduling of old auto-draft posts deletion to get_default_post_to_edit() (where auto-drafts are created). 2018-06-08 15:52:22 +00:00
post.php Code is Poetry. 2017-11-30 23:09:33 +00:00
press-this.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
privacy.php Privacy: Only link to menus panel in Customizer if selected privacy page can be accessed there. 2018-06-14 11:39:35 +00:00
profile.php Code is Poetry. 2017-11-30 23:09:33 +00:00
revision.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:43:59 +00:00
setup-config.php Upgrade/Install: Correctly internationalise error messages during config setup. 2018-05-09 22:51:37 +00:00
term.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
theme-editor.php Administration: Remove unnecessary capitalization when referencing to plugin/theme editors. 2018-02-26 19:34:56 +00:00
theme-install.php Accessibility: Improve the Themes Installer navigation buttons accessibility. 2018-04-29 17:03:56 +00:00
themes.php General: Further improve error messages following [42648]. 2018-02-19 02:12:41 +00:00
tools.php Privacy: fixes for the privacy policy guide and suggested content: 2018-05-09 20:50:54 +00:00
update-core.php I18N: Use consistent pattern for placeholder references in a translator comment in wp-admin/update-core.php. 2018-05-02 01:54:48 +00:00
update.php Plugins: Use api.wordpress.org/plugins/info/1.2/ for querying plugins & plugin information. 2018-02-01 05:16:15 +00:00
upgrade-functions.php Code is Poetry. 2017-11-30 23:09:33 +00:00
upgrade.php Code is Poetry. 2017-11-30 23:09:33 +00:00
upload.php Code is Poetry. 2017-11-30 23:09:33 +00:00
user-edit.php Users: Don't show roles dropdown on user-edit.php if current user cannot promote user. 2018-03-19 20:55:20 +00:00
user-new.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:30:46 +00:00
users.php Docs: Document more parameters and properties using typed array notation. 2018-03-25 18:09:56 +00:00
widgets.php Accessibility: Make the Widgets screen "Enable accessibility mode" link more discoverable. 2018-03-06 17:20:07 +00:00