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/default-filters.php

    r42888 r42980  
    553553add_filter( 'user_has_cap', 'wp_maybe_grant_install_languages_cap', 1 );
    554554
     555// Trigger the check for policy text changes after active plugins change.
     556add_action( 'update_site_option_active_sitewide_plugins', '_wp_privacy_active_plugins_change' );
     557add_action( 'update_option_active_plugins', '_wp_privacy_active_plugins_change' );
     558
    555559unset( $filter, $action );
Note: See TracChangeset for help on using the changeset viewer.