Make WordPress Core

Changeset 43261 for trunk


Ignore:
Timestamp:
05/14/2018 03:54:22 PM (8 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r43249 r43261  
    13901390         */
    13911391        public static function policy_text_changed_notice() {
    1392                 global $post;
    1393 
    13941392                $screen = get_current_screen()->id;
    13951393
    … …  
    13991397
    14001398                ?>
    1401                 <div class="policy-text-updated notice notice-warning is-dismissible">
     1399                <div class="policy-text-updated notice notice-warning">
    14021400                        <p><?php
    14031401                                _e( 'The suggested privacy policy text has changed. Please update your privacy policy.' );
Note: See TracChangeset for help on using the changeset viewer.