mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@43261 git-svn-id: http://core.svn.wordpress.org/trunk@43090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d3b3cc3fa5
commit
2d4311e32e
@ -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>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43259';
|
||||
$wp_version = '5.0-alpha-43261';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user