Privacy: Remove `is-dismissible` class from notice when privacy info has changed.

The notice isn't dismissible as it only gets removed once you visit the privacy guide, see #44057 and #44063.

Fixes #44065.


git-svn-id: https://develop.svn.wordpress.org/trunk@43261 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2018-05-14 15:54:22 +00:00
parent 2865e6f324
commit 8288241045
1 changed files with 1 additions and 3 deletions

View File

@ -1389,8 +1389,6 @@ final class WP_Privacy_Policy_Content {
* @since 4.9.6
*/
public static function policy_text_changed_notice() {
global $post;
$screen = get_current_screen()->id;
if ( 'privacy' !== $screen ) {
@ -1398,7 +1396,7 @@ final class WP_Privacy_Policy_Content {
}
?>
<div class="policy-text-updated notice notice-warning is-dismissible">
<div class="policy-text-updated notice notice-warning">
<p><?php
_e( 'The suggested privacy policy text has changed. Please update your privacy policy.' );
?></p>