WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/09/2019 04:00:10 AM (11 months ago)
Author:
pento
Message:

Privacy: Always show the privacy policy guide.

Previously, the link to the privacy policy guide would only be displayed when a privacy policy page had been selected, but the guide is generally useful without that.

Props mukesh27, birgire.
Fixes #44871.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/privacy.php

    r43571 r44492  
    166166            ?>
    167167        </strong></p>
    168         <p>
    169             <?php
    170 
    171             /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
    172             printf(
    173                 __( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
    174                 admin_url( 'tools.php?wp-privacy-policy-guide' ),
    175                 '',
    176                 ''
    177             );
    178 
    179             ?>
    180         </p>
    181168        <?php
    182169    }
    183170    ?>
     171    <p>
     172        <?php
     173
     174        printf(
     175            /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
     176            __( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
     177            admin_url( 'tools.php?wp-privacy-policy-guide' ),
     178            '',
     179            ''
     180        );
     181
     182        ?>
     183    </p>
     184
    184185    <hr>
    185186    <table class="form-table tools-privacy-policy-page">
Note: See TracChangeset for help on using the changeset viewer.