Theme Editor: Translate the URL to the Child Themes Codex page.
Props odysseygate, johnpgreen. Fixes #42454. git-svn-id: https://develop.svn.wordpress.org/trunk@42247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44c75415b3
commit
a825a181e1
@ -322,7 +322,7 @@ if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) :
|
||||
echo sprintf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'You appear to be making direct edits to your theme in the WordPress dashboard. We recommend that you don’t! Editing your theme directly could break your site and your changes may be lost in future updates. If you need to tweak more than your theme’s CSS, you might want to try <a href="%s">making a child theme</a>.' ),
|
||||
esc_url( 'https://codex.wordpress.org/Child_Themes' )
|
||||
esc_url( __( 'https://codex.wordpress.org/Child_Themes' ) )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user