Skip to content

Privacy: Check that plugins handling personal data call wp_add_privacy_policy_content() #1249

@masteradhoc

Description

@masteradhoc

Summary

The WordPress Plugin Handbook requires that every plugin which collects, uses, stores, or passes personal data to a third party should suggest privacy policy text to site administrators using wp_add_privacy_policy_content(). See: https://developer.wordpress.org/plugins/privacy/suggesting-text-for-the-site-privacy-policy/

In practice the vast majority of plugins that handle personal data do not implement this, leaving site administrators without the information they need to write an accurate privacy policy.

What to check

Plugin Check should detect when a plugin appears to handle personal data — indicated by usage of functions or patterns such as:

...and warn if wp_add_privacy_policy_content() is not called anywhere in the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions