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

Fixes #44063.

git-svn-id: https://develop.svn.wordpress.org/trunk@43269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2018-05-14 17:51:04 +00:00
parent cc66df9b5c
commit e72d503702

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();