Make WordPress Core

Ticket #51435: 51435.diff

File 51435.diff, 1.2 KB (added by garrett-eclipse, 6 years ago)

Initial patch to change the notice to a warning, and lighten the color and weight of the privacy-text.

  • src/wp-admin/css/edit.css

     
    724724}
    725725
    726726.text-removed .policy-text {
    727         color: #666;
    728         font-weight: 600;
     727        color: #999;
     728        font-weight: 300;
    729729}
     730.text-removed .policy-text h2 {
     731        color: #707f8f;
     732        font-weight: 500;
     733}
    730734
    731735.privacy-text-actions {
    732736        display: inline-block;
  • src/wp-admin/includes/class-wp-privacy-policy-content.php

     
    391391
    392392                                /* translators: %s: Date of plugin deactivation. */
    393393                                $removed = __( 'You deactivated this plugin on %s and may no longer need this policy.' );
    394                                 $removed = '<div class="notice notice-info inline"><p>' . sprintf( $removed, $date ) . '</p></div>';
     394                                $removed = '<div class="notice notice-warning inline"><p>' . sprintf( $removed, $date ) . '</p></div>';
    395395                        } elseif ( ! empty( $section['updated'] ) ) {
    396396                                $class = 'text-updated';
    397397                                $date  = date_i18n( $date_format, $section['updated'] );