Make WordPress Core


Ignore:
Timestamp:
05/02/2018 02:58:12 AM (5 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/default-filters.php

    r43095 r43101  
    533533add_filter( 'user_has_cap', 'wp_maybe_grant_install_languages_cap', 1 );
    534534
     535// Trigger the check for policy text changes after active plugins change.
     536add_action( 'update_site_option_active_sitewide_plugins', '_wp_privacy_active_plugins_change' );
     537add_action( 'update_option_active_plugins', '_wp_privacy_active_plugins_change' );
     538
    535539unset( $filter, $action );
Note: See TracChangeset for help on using the changeset viewer.