WordPress/wp-admin/includes
Andrew Ozz f4a436c522 Privacy: Rename exports folder to avoid deleting other files.
Previously, personal data exports were stored in `wp-content/uploads/exports`, which is generic enough that it's likely there are existing folders with that name, either created by plugins or manually by administrators. If that folder were reused by Core, then `wp_privacy_delete_old_export_files()` would delete all of the existing files inside it, which is almost certainly not what the site owner wants or expects.

To avoid that, the folder is being renamed to include a specific reference to Core, and a more verbose description of its purpose. With those factored in, it's very unlikely that there will be any conflicts with existing folders.

The `wp_privacy_exports_dir()` and `wp_privacy_exports_url()` functions were introduced to provide a canonical source for the location, and the `wp_privacy_exports_dir` and `wp_privacy_exports_url` filters were introduced to allow plugins to customize it.

Props johnjamesjacoby, allendav.
Merges [43284] to the 4.9 branch.
Fixes #44091.
Built from https://develop.svn.wordpress.org/branches/4.9@43285


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-15 20:32:26 +00:00
..
admin-filters.php Privacy: Send an email notification to the user once their personal data erasure request is fulfilled. 2018-05-10 20:44:25 +00:00
admin.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
ajax-actions.php Privacy: Avoid a PHP notice in `wp_ajax_wp_privacy_erase_personal_data()`, make sure `$eraser_key` is always defined. 2018-05-10 20:25:25 +00:00
bookmark.php General: Replace `Cheatin’ uh?` with friendlier error messages. 2018-03-09 00:15:42 +00:00
class-automatic-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-plugin-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-theme-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-core-upgrader.php I18N: Remove `<code>` tags from translatable strings in `Core_Upgrader`, `Language_Pack_Upgrader`, `Plugin_Upgrader`, `Theme_Upgrader`. 2017-10-18 17:15:47 +00:00
class-file-upload-upgrader.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
class-ftp-pure.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp-sockets.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
class-language-pack-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-language-pack-upgrader.php I18N: Remove `<code>` tags from translatable strings in `Core_Upgrader`, `Language_Pack_Upgrader`, `Plugin_Upgrader`, `Theme_Upgrader`. 2017-10-18 17:15:47 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
class-plugin-upgrader-skin.php Plugins: Introduce singular capabilities for activating and deactivating individual plugins. 2017-08-22 14:02:44 +00:00
class-plugin-upgrader.php I18N: Remove `<code>` tags from translatable strings in `Core_Upgrader`, `Language_Pack_Upgrader`, `Plugin_Upgrader`, `Theme_Upgrader`. 2017-10-18 17:15:47 +00:00
class-theme-installer-skin.php Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in `top` window. 2017-10-09 16:04:48 +00:00
class-theme-upgrader-skin.php Customize: Eliminate use of customize-loader in core so Customizer is opened consistently in `top` window. 2017-10-09 16:04:48 +00:00
class-theme-upgrader.php I18N: Remove `<strong>` tag from a translatable string in `Theme_Upgrader::install_strings()`. 2017-10-18 17:20:48 +00:00
class-walker-category-checklist.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-walker-nav-menu-checklist.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-walker-nav-menu-edit.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
class-wp-ajax-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-automatic-updater.php Docs: Add `@since` entry for `WP_Automatic_Updater::after_core_update()`, introduced in [25841]. 2017-10-18 17:48:49 +00:00
class-wp-comments-list-table.php Accessibility: List Tables: use `aria-current` for the views current link. 2017-10-02 19:44:47 +00:00
class-wp-community-events.php Privacy: add helper function for anonymizing data in a standardized way. 2018-05-02 00:49:26 +00:00
class-wp-filesystem-base.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-direct.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ftpext.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ftpsockets.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ssh2.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-importer.php Database: Don't quote placeholders in queries going through `$wpdb->prepare()` 2017-09-28 04:32:46 +00:00
class-wp-internal-pointers.php Privacy: Don't show privacy feature pointer to new users. 2018-05-14 15:53:26 +00:00
class-wp-links-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-list-table-compat.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-media-list-table.php Privacy: add "Mine" filter for media similarly to posts and comments. 2018-05-01 22:04:28 +00:00
class-wp-ms-sites-list-table.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
class-wp-ms-themes-list-table.php Accessibility: List Tables: use `aria-current` for the views current link. 2017-10-02 19:44:47 +00:00
class-wp-ms-users-list-table.php Users: Display partial names in the user listing tables. 2018-03-08 19:48:39 +00:00
class-wp-plugin-install-list-table.php Plugins: Revert unintended change from [41915]. 2017-10-18 18:01:49 +00:00
class-wp-plugins-list-table.php Plugins: Tweak the plugin icons added in [41695]. 2017-10-04 23:43:46 +00:00
class-wp-post-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-posts-list-table.php Administration: Add `.protected-post-excerpt` class to password-protected post excerpts in the posts list. 2017-10-05 02:50:46 +00:00
class-wp-screen.php Dashboard: Remove the "Try Gutenberg" callout. 2018-03-28 00:18:43 +00:00
class-wp-site-icon.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-terms-list-table.php Quick/Bulk Edit: Improve the inline error messages styling. 2017-10-02 21:52:52 +00:00
class-wp-theme-install-list-table.php Accessibility: List Tables: use `aria-current` for the views current link. 2017-10-02 19:44:47 +00:00
class-wp-themes-list-table.php General: Fix various instances of incorrect filter docs and incorrect filter and action parameters. 2017-08-03 15:43:43 +00:00
class-wp-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-upgrader-skins.php Load: Re-add `class-wp-upgrader-skins.php`. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Upgrade: Fix updating plugins which include a numeric file/folder names. 2017-11-21 04:16:41 +00:00
class-wp-users-list-table.php Users: Display partial names in the user listing tables. 2018-03-08 19:48:39 +00:00
comment.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2016-05-24 23:24:27 +00:00
credits.php Docs: Standardise the format used for documenting parameters passed by reference. 2017-10-02 22:14:46 +00:00
dashboard.php Dashboard: Remove the "Try Gutenberg" callout. 2018-03-28 00:18:43 +00:00
deprecated.php Permalinks: Change structure tag button state more reliably. 2017-09-26 08:24:46 +00:00
edit-tag-messages.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
export.php Docs: Add missing backtick character in `export_wp()` DocBlock. 2017-06-27 00:58:41 +00:00
file.php Privacy: Rename exports folder to avoid deleting other files. 2018-05-15 20:32:26 +00:00
image-edit.php Media: Rename several attachment related parameters from `$post_id` to `$attachment_id` for clarity, and improve related 2017-08-22 11:12:44 +00:00
image.php Media: Correctly allow changing PDF thumbnail crop value. 2018-03-09 03:21:40 +00:00
import.php Standardise on performing api.WordPress.org requests over SSL when possible, falling back to non-SSL when appropriate. 2017-09-27 08:00:49 +00:00
list-table.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
media.php Media: Bring consistency to `getimagesize()` error suppression. 2018-01-15 20:02:39 +00:00
menu.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
meta-boxes.php Docs: Correct the `@since` property for the `page_attributes_misc_attributes` action. 2017-11-23 18:03:43 +00:00
misc.php Privacy: require `manage_privacy_options` capability for showing `WP_Privacy_Policy_Content::notice()`. 2018-05-15 18:04:25 +00:00
ms-admin-filters.php Options, Meta APIs: Require a confirmation link in an email to be clicked when a user attempts to change the network 2017-09-27 14:17:45 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
nav-menu.php Taxonomy: After [40984], add the `most_used` label for non-hierarchical taxonomies too, and use it on the Menus screen. 2017-10-24 11:23:24 +00:00
network.php Network Admin: After [41923], move the second `<p>` tag to a new line for better readability. 2017-10-18 20:51:48 +00:00
noop.php Docs: Add missing file header to `wp-admin/includes/noop.php`, introduced in [34037]. 2017-01-25 23:10:43 +00:00
options.php Settings: Fix date/time format previewing. 2017-11-09 03:57:36 +00:00
plugin-install.php Plugins: Show the required PHP version in the plugin details view, if specified. 2018-04-29 22:51:25 +00:00
plugin.php Privacy: add better docs for `wp_add_privacy_policy_content()` and `WP_Privacy_Policy_Content::add()`. 2018-05-02 03:57:24 +00:00
post.php Privacy: add "Mine" filter for media similarly to posts and comments. 2018-05-01 22:04:28 +00:00
revision.php Revisions: correct a timezone display issue. 2017-09-21 23:33:44 +00:00
schema.php Privacy: add `wp_page_for_privacy_policy` to `populate_options()`. 2018-05-14 17:02:26 +00:00
screen.php Screen API: After [37972], ensure that `$box['args']` is an array before trying to access `__widget_basename`. 2016-07-07 16:39:29 +00:00
taxonomy.php Store only term IDs in object term relationships caches. 2016-05-26 04:50:27 +00:00
template.php Settings: Replace `count()` call with `empty()` in `get_settings_errors()` to prevent PHP 7.2 warnings when `$wp_settings_errors` is `null`. 2017-11-10 22:32:47 +00:00
theme-install.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
theme.php Customize: Correct closing tags in `customize_themes_print_templates()`. 2018-03-08 19:42:39 +00:00
translation-install.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
update-core.php External Libraries: Remove unnecessary / obsoleted MediaElement.js files. 2018-01-16 06:41:51 +00:00
update.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:52:48 +00:00
upgrade.php Privacy: automatically create a Privacy Policy page when installing WordPress. 2018-05-15 15:30:26 +00:00
user.php Privacy: improve inline documentation. 2018-05-14 15:12:25 +00:00
widgets.php Accessibility: Improve the sidebar toggles in the Widgets screen. 2017-09-27 16:29:44 +00:00