WordPress.org

Make WordPress Core

Ticket #44065: 44065.patch

File 44065.patch, 692 bytes (added by ocean90, 16 months ago)
  • src/wp-admin/includes/misc.php

     
    13891389         * @since 4.9.6
    13901390         */
    13911391        public static function policy_text_changed_notice() {
    1392                 global $post;
    1393 
    13941392                $screen = get_current_screen()->id;
    13951393
    13961394                if ( 'privacy' !== $screen ) {
     
    13981396                }
    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.' );
    14041402                        ?></p>