Make WordPress Core


Ignore:
Timestamp:
09/29/2017 11:41:06 AM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings.

Props danieltj, Rahmohn.
Fixes #41974.

File:
1 edited

Legend:

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

    r41595 r41640  
    3636    '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' .
    3737    '<p>' . __( '<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' .
    38     /* translators: placeholder is link to codex article about child themes */
     38    /* translators: %s: link to codex article about child themes */
    3939    '<p>' . sprintf( __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="%s">child theme</a> instead.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ) . '</p>' .
    4040    ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ),
Note: See TracChangeset for help on using the changeset viewer.