From cfe5b1c9f2b773f7bf3b4e4591aefc462d425c57 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 24 Sep 2020 05:00:06 +0000 Subject: [PATCH] Docs: Add a `@since` note to `wp_privacy_exports_dir` and `wp_privacy_exports_url` filters about exports using relative paths since WordPress 5.5. When changing exports location via these filters, make sure to migrate the files to the new directory, to avoid breaking any existing exports. Follow-up to [48127], [48330]. Props garrett-eclipse. Fixes #51361. Built from https://develop.svn.wordpress.org/trunk@49042 git-svn-id: http://core.svn.wordpress.org/trunk@48804 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 51202a5318..87f3fec895 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -7241,6 +7241,8 @@ function wp_privacy_exports_dir() { * Filters the directory used to store personal data export files. * * @since 4.9.6 + * @since 5.5.0 Exports now use relative paths, so changes to the directory + * via this filter should be reflected on the server. * * @param string $exports_dir Exports directory. */ @@ -7264,6 +7266,8 @@ function wp_privacy_exports_url() { * Filters the URL of the directory used to store personal data export files. * * @since 4.9.6 + * @since 5.5.0 Exports now use relative paths, so changes to the directory URL + * via this filter should be reflected on the server. * * @param string $exports_url Exports directory URL. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 451e3019a0..05d99f8fd3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49041'; +$wp_version = '5.6-alpha-49042'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.