WordPress.org

Make WordPress Core

Ticket #44040: 44040.diff

File 44040.diff, 1.8 KB (added by allendav, 3 years ago)
  • src/wp-admin/includes/ajax-actions.php

     
    44764476                }
    44774477        } else {
    44784478                // No exporters, so we're done.
     4479                $exporter_key = '';
     4480
    44794481                $response = array(
    44804482                        'data' => array(),
    44814483                        'done' => true,
     
    44954497         * @param int    $page            The page for this response.
    44964498         * @param int    $request_id      The privacy request post ID associated with this request.
    44974499         * @param bool   $send_as_email   Whether the final results of the export should be emailed to the user.
    4498          * @param int    $exporter_key    The key (slug) of the exporter that provided this data.
     4500         * @param string $exporter_key    The key (slug) of the exporter that provided this data.
    44994501         */
    45004502        $response = apply_filters( 'wp_privacy_personal_data_export_page', $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key );
    45014503
     
    46924694                }
    46934695        } else {
    46944696                // No erasers, so we're done.
     4697                $eraser_key = '';
     4698
    46954699                $response = array(
    46964700                        'items_removed'  => false,
    46974701                        'items_retained' => false,
     
    47124716         * @param string $email_address   The email address associated with this personal data.
    47134717         * @param int    $page            The page for this response.
    47144718         * @param int    $request_id      The privacy request post ID associated with this request.
    4715          * @param int    $eraser_key      The key (slug) of the eraser that provided this data.
     4719         * @param string $eraser_key      The key (slug) of the eraser that provided this data.
    47164720         */
    47174721        $response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key );
    47184722