WordPress.org

Make WordPress Core

Ticket #43865: 43865.3.diff

File 43865.3.diff, 1.9 KB (added by birgire, 19 months ago)
  • src/wp-admin/css/common.css

    diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
    index 2e07b4e..539bc92 100644
    th.action-links { 
    12861286        float: none;
    12871287}
    12881288
     1289/* Privacy Policy settings for large screen */
     1290.tools-privacy-description {
     1291        max-width: 70%;
     1292}
     1293
    12891294@media only screen and (max-width: 1120px) {
     1295        .tools-privacy-description {
     1296                max-width: 80%;
     1297        }
     1298
    12901299        .filter-drawer {
    12911300                border-bottom: 1px solid #eee;
    12921301        }
    th.action-links { 
    13031312}
    13041313
    13051314@media only screen and (max-width: 1000px) {
     1315        .tools-privacy-description {
     1316                max-width: 100%;
     1317        }
     1318
    13061319        .filter-items {
    13071320                float: none;
    13081321        }
  • src/wp-admin/privacy.php

    diff --git src/wp-admin/privacy.php src/wp-admin/privacy.php
    index c4ec307..79e48c6 100644
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    120120        <h1><?php _e( 'Privacy Tools' ); ?></h1>
    121121        <?php settings_errors(); ?>
    122122        <h2><?php _e( 'Privacy Policy page' ); ?></h2>
    123         <p>
     123        <p class="tools-privacy-description">
    124124                <?php _e( 'The first step towards privacy laws compliance is to have a comprehensive Privacy Policy.' ); ?>
    125125                <?php _e( 'If you already have a Privacy Policy page, please select it below. If not, create one.' ); ?>
    126126                <?php _e( 'The new policy will include the suggested privacy text.' ); ?>
    127127        </p>
    128         <p>
     128        <p class="tools-privacy-description">
    129129                <?php _e( 'After your Privacy Policy page is set, we suggest that you edit it.' ); ?>
    130130                <?php _e( 'On the edit page screen you will find additional privacy information added by your plugins.' ); ?>
    131131                <?php _e( 'We would also suggest reviewing your privacy policy from time to time, after a WordPress or a plugin update.' ); ?>
    require_once( ABSPATH . 'wp-admin/admin-header.php' ); 
    156156                <?php
    157157        }
    158158        ?>
    159         <hr>
    160159        <table class="form-table tools-privacy-policy-page">
    161160                <tr>
    162161                        <th scope="row">