From 8c06c2c6620ccf9148c27ad2bd1821b76202e48c Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 14 May 2018 17:52:21 +0000 Subject: [PATCH] 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 --- wp-admin/includes/misc.php | 3 --- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/wp-admin/includes/misc.php b/wp-admin/includes/misc.php index 89af5a784950..1d8615899f87 100644 --- a/wp-admin/includes/misc.php +++ b/wp-admin/includes/misc.php @@ -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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 473e96a631df..224030a803bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.