WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/08/2018 11:44:57 PM (3 years ago)
Author:
azaozz
Message:

Privacy: outputting the privacy policy guide and suggested content to a new page instead of a postbox.

Props melchoyce, azaozz.
See #43980.

File:
1 edited

Legend:

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

    r43154 r43184  
    141141
    142142// Show a "postbox" with the text suggestions for a privacy policy.
    143 add_action( 'edit_form_after_title', array( 'WP_Privacy_Policy_Content', 'privacy_policy_postbox' ) );
     143add_action( 'edit_form_after_title', array( 'WP_Privacy_Policy_Content', 'notice' ) );
    144144
    145145// Add the suggested policy text from WordPress.
    146 add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'add_suggested_content' ), 15 );
     146add_action( 'admin_init', array( 'WP_Privacy_Policy_Content', 'add_suggested_content' ), 1 );
    147147
    148148// Stop checking for text changes after the policy page is updated.
Note: See TracChangeset for help on using the changeset viewer.