From a825a181e11b1a89e76d79d22bd2c220f45b3741 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 27 Nov 2017 03:51:25 +0000 Subject: [PATCH] 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 --- src/wp-admin/theme-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php index 7f658848d4..5d0f2c6499 100644 --- a/src/wp-admin/theme-editor.php +++ b/src/wp-admin/theme-editor.php @@ -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 making a child theme.' ), - esc_url( 'https://codex.wordpress.org/Child_Themes' ) + esc_url( __( 'https://codex.wordpress.org/Child_Themes' ) ) ); ?>