Make WordPress Core


Ignore:
Timestamp:
05/09/2018 11:11:29 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Make the help hint for Privacy Policy page more translatable and accessible.

Props tobifjellner.
See #43980.

File:
1 edited

Legend:

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

    r43203 r43206  
    15561556            <p>
    15571557            <?php
     1558            /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */
    15581559            printf(
    1559                 __( 'Need help putting together your new Privacy Policy page? %s for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
    1560                 '<a href="' . admin_url( 'tools.php?wp-privacy-policy-guide=1' ) . '" target="_blank">' . __( 'Check out our guide' ) . '</a>' );
     1560                __( '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.' ),
     1561                admin_url( 'tools.php?wp-privacy-policy-guide=1' ),
     1562                'target="_blank"',
     1563                sprintf(
     1564                    '<span class="screen-reader-text"> %s</span>',
     1565                    /* translators: accessibility text */
     1566                    __( '(opens in a new tab)' )
     1567                )
     1568            );
    15611569            ?>
    15621570            </p>
Note: See TracChangeset for help on using the changeset viewer.