Make WordPress Core

Ticket #51361: 51361.diff

File 51361.diff, 844 bytes (added by garrett-eclipse, 6 years ago)

Added @since docs to the exports dir/url filters to indicate changes should be reflected on the server to avoid breaking existing requests.

  • src/wp-includes/functions.php

     
    72417241         * Filters the directory used to store personal data export files.
    72427242         *
    72437243         * @since 4.9.6
     7244         * @since 5.5.0 Exports now use relative paths so changes to the
     7245         * directory via this filter should be reflected on the server.
    72447246         *
    72457247         * @param string $exports_dir Exports directory.
    72467248         */
     
    72647266         * Filters the URL of the directory used to store personal data export files.
    72657267         *
    72667268         * @since 4.9.6
     7269         * @since 5.5.0 Exports now use relative paths so changes to the
     7270         * directory URL via this filter should be reflected on the server.
    72677271         *
    72687272         * @param string $exports_url Exports directory URL.
    72697273         */