Privacy: only remove the "Suggested text has changed" bubble when an admin visits the Privacy Policy Guide screen.

Fixes #44063.
Built from https://develop.svn.wordpress.org/trunk@43269


git-svn-id: http://core.svn.wordpress.org/trunk@43098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2018-05-14 17:52:21 +00:00
parent 2e9b08b3a2
commit 8c06c2c662
2 changed files with 1 additions and 4 deletions

View File

@ -1421,9 +1421,6 @@ final class WP_Privacy_Policy_Content {
return;
}
// Update the cache in case the user hasn't visited the policy guide.
self::get_suggested_policy_text();
// Remove updated|removed status.
$old = (array) get_post_meta( $policy_page_id, '_wp_suggested_privacy_policy_content' );
$done = array();

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-43267';
$wp_version = '5.0-alpha-43269';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.