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

Props azaozz.
Merges [43269] to the 4.9 branch.
Fixes #44063.
Built from https://develop.svn.wordpress.org/branches/4.9@43273


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-05-15 15:52:25 +00:00
parent 9438733d24
commit 09fe564f4e
2 changed files with 1 additions and 4 deletions

View File

@ -1374,9 +1374,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 = '4.9.6-RC1-43272';
$wp_version = '4.9.6-RC1-43273';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.