Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52903


Ignore:
Timestamp:
03/24/2021 06:03:28 PM (4 years ago)
Author:
carike
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52903 – Description

    initial v1  
    6060}}}
    6161
     62**How to integrate all of this into the Developer community:**
     63
     64This would require a number of approaches and mechanisms, including:
     65
     66New functions:
     67
     68Creating a wp_setcookie(); function in PHP and a corresponding function in JavaScript that checks for consent before placing a cookie;
     69Use of wp_setcookie(); can then be required for new plugin submissions to the WordPress.org repository.
     70
     71Updating existing functions:
     72
     73Updating other functions like wp_mail(); and the HTTP and REST APIs to check for the appropriate consent.
     74In the case of wp_mail(); for example, this can be done by adding a new parameter variable for $consent_purpose.
     75We can add a _doing_it_wrong(); if this variable is not present.
     76In the case of the REST API, consent could possibly be integrated into a permission callback, but that is something we'd need Timothy's (and others) input on.
     77
     78Education drive:
     79
     80Voluntary compliance is preferred. By providing documentation, resources and discussing with as many stakeholders as we can (primarily on Slack), we can encourage adoption through education.
    6281
    6382**Related tickets:**