Make WordPress Core

Changeset 45180


Ignore:
Timestamp:
04/12/2019 08:43:40 PM (5 years ago)
Author:
aduth
Message:

Privacy: Remove unnecessary translation from help notice action label.

As static markup, the Privacy Policy editor help notice link no longer needs to be translateable with the revisions included in [45174].

Props garrett-eclipse.
Fixes #46098. See [45174].

File:
1 edited

Legend:

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

    r45174 r45180  
    16661666                echo $message;
    16671667                printf(
    1668                     /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: link text 4: accessibility text */
    1669                     __( ' <a href="%1$s" %2$s>%3$s%4$s</a>' ),
     1668                    ' <a href="%s" target="_blank">%s <span class="screen-reader-text">%s</span></a>',
    16701669                    $url,
    1671                     'target="_blank"',
    16721670                    $label,
    1673                     sprintf(
    1674                         '<span class="screen-reader-text"> %s</span>',
    1675                         /* translators: accessibility text */
    1676                         __( '(opens in a new tab)' )
    1677                     )
     1671                    /* translators: accessibility text */
     1672                    __( '(opens in a new tab)' )
    16781673                );
    16791674                ?>
Note: See TracChangeset for help on using the changeset viewer.