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. git-svn-id: https://develop.svn.wordpress.org/trunk@49042 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
28963e897c
commit
0ae6b563b6
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user