WordPress.org

Make WordPress Core

Ticket #44981: 44981.2.diff

File 44981.2.diff, 1.1 KB (added by garrett-eclipse, 2 years ago)
  • src/js/_enqueues/admin/common.js

     
    774774                });
    775775        }
    776776
    777         $document.on( 'wp-updates-notice-added wp-plugin-install-error wp-plugin-update-error wp-plugin-delete-error wp-theme-install-error wp-theme-delete-error', makeNoticesDismissible );
     777        $document.on( 'wp-updates-notice-added wp-plugin-install-error wp-plugin-update-error wp-plugin-delete-error wp-theme-install-error wp-theme-delete-error wp-pp-notice', makeNoticesDismissible );
    778778
    779779        // Init screen meta
    780780        screenMeta.init();
  • src/wp-admin/includes/misc.php

     
    16381638                }
    16391639
    16401640                ?>
    1641                 <div class="notice notice-warning inline wp-pp-notice">
     1641                <div class="notice notice-warning inline wp-pp-notice is-dismissible">
    16421642                        <p>
    16431643                        <?php
    16441644                        /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */