Skip to content

Commit

Permalink
Privacy: only remove the "Suggested text has changed" bubble when an …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
azaozz committed May 14, 2018
1 parent 2e9b08b commit 8c06c2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions wp-admin/includes/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,6 @@ public static function _policy_page_updated( $post_id ) {
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();
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c06c2c

Please sign in to comment.