WordPress.org

Make WordPress Core

Ticket #44981: 44981.diff

File 44981.diff, 499 bytes (added by garrett-eclipse, 2 years ago)

Make notice dismissable

  • src/wp-admin/includes/misc.php

     
    16101610                }
    16111611
    16121612                ?>
    1613                 <div class="notice notice-warning inline wp-pp-notice">
     1613                <div class="notice notice-warning inline wp-pp-notice is-dismissable">
    16141614                        <p>
    16151615                        <?php
    16161616                        /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */