Make WordPress Core


Ignore:
Timestamp:
04/16/2018 08:52:18 AM (7 years ago)
Author:
azaozz
Message:

Privacy: add a postbox that is shown when editing the privacy policy page, and where plugins and core will output suggested content and additional privacy info. First run.

Props melchoyce, azaozz.
See #43620.

File:
1 edited

Legend:

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

    r42971 r42980  
    62466246    return apply_filters( 'wp_privacy_anonymize_data', $anonymous, $type, $data );
    62476247}
     6248
     6249/**
     6250 * Trigger the check for policy text changes.
     6251 *
     6252 * @since 4.9.6
     6253 * @access private
     6254 */
     6255function _wp_privacy_active_plugins_change() {
     6256    update_option( '_wp_privacy_text_change_check', 'check' );
     6257}
Note: See TracChangeset for help on using the changeset viewer.