Make WordPress Core


Ignore:
Timestamp:
08/28/2023 09:51:44 PM (2 years ago)
Author:
johnbillion
Message:

Privacy: Improve docblocks for hooks and functions related to personal data export and erasure.

See #58833

File:
1 edited

Legend:

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

    r56180 r56482  
    36853685 * @since 4.9.6
    36863686 *
    3687  * @param array $exporters An array of personal data exporters.
    3688  * @return array An array of personal data exporters.
     3687 * @param array[] $exporters An array of personal data exporters.
     3688 * @return array[] An array of personal data exporters.
    36893689 */
    36903690function wp_register_comment_personal_data_exporter( $exporters ) {
     
    37033703 *
    37043704 * @param string $email_address The comment author email address.
    3705  * @param int    $page          Comment page.
    3706  * @return array An array of personal data.
     3705 * @param int    $page          Comment page number.
     3706 * @return array {
     3707 *     An array of personal data.
     3708 *
     3709 *     @type array[] $data An array of personal data arrays.
     3710 *     @type bool    $done Whether the exporter is finished.
     3711 * }
    37073712 */
    37083713function wp_comments_personal_data_exporter( $email_address, $page = 1 ) {
     
    38153820 *
    38163821 * @param string $email_address The comment author email address.
    3817  * @param int    $page          Comment page.
    3818  * @return array
     3822 * @param int    $page          Comment page number.
     3823 * @return array {
     3824 *     Data removal results.
     3825 *
     3826 *     @type bool     $items_removed  Whether items were actually removed.
     3827 *     @type bool     $items_retained Whether items were retained.
     3828 *     @type string[] $messages       An array of messages to add to the personal data export file.
     3829 *     @type bool     $done           Whether the eraser is finished.
     3830 * }
    38193831 */
    38203832function wp_comments_personal_data_eraser( $email_address, $page = 1 ) {
Note: See TracChangeset for help on using the changeset viewer.