WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/02/2018 02:58:12 AM (3 years ago)
Author:
SergeyBiryukov
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.
Merges [42980] to the 4.9 branch.
See #43620.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/functions.php

    r43097 r43101  
    59375937
    59385938/**
     5939 * Trigger the check for policy text changes.
     5940 *
     5941 * @since 4.9.6
     5942 * @access private
     5943 */
     5944function _wp_privacy_active_plugins_change() {
     5945    update_option( '_wp_privacy_text_change_check', 'check' );
     5946}
     5947
     5948/**
    59395949 * Schedule a `WP_Cron` job to delete expired export files.
    59405950 *
Note: See TracChangeset for help on using the changeset viewer.