WordPress.org

Make WordPress Core

Changeset 49042


Ignore:
Timestamp:
09/24/2020 04:58:27 AM (8 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r49028 r49042  
    72427242     *
    72437243     * @since 4.9.6
     7244     * @since 5.5.0 Exports now use relative paths, so changes to the directory
     7245     *              via this filter should be reflected on the server.
    72447246     *
    72457247     * @param string $exports_dir Exports directory.
     
    72657267     *
    72667268     * @since 4.9.6
     7269     * @since 5.5.0 Exports now use relative paths, so changes to the directory URL
     7270     *              via this filter should be reflected on the server.
    72677271     *
    72687272     * @param string $exports_url Exports directory URL.
Note: See TracChangeset for help on using the changeset viewer.