diff --git a/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index 290b7cbc59..d040b7d20d 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -241,8 +241,9 @@ class WP_Themes_List_Table extends WP_List_Table { parent() ) { printf( + /* translators: %s: link to documentation on child themes */ '
' . __( 'This child theme requires its parent theme, %2$s.' ) . '
', - __( 'https://codex.wordpress.org/Child_Themes' ), + __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ), $theme->parent()->display( 'Name' ) ); } diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index bf3dcd0677..844b27588d 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -26,20 +26,23 @@ get_current_screen()->add_help_tab( 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => - '' . __( 'You can use the theme editor to edit the individual CSS and PHP files which make up your theme.' ) . '
' . - '' . __( 'Begin by choosing a theme to edit from the dropdown menu and clicking the Select button. A list then appears of the theme’s template files. Clicking once on any file name causes the file to appear in the large Editor box.' ) . '
' . - '' . __( 'For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.' ) . '
' . - '' . __( 'When using a keyboard to navigate:' ) . '
' . - '' . __( 'After typing in your edits, click Update File.' ) . '
' . - '' . __( 'Advice: Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '
' . - /* translators: %s: link to codex article about child themes */ - '' . sprintf( __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ) . '
' . - ( is_network_admin() ? '' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '
' : '' ), + '' . __( 'You can use the theme editor to edit the individual CSS and PHP files which make up your theme.' ) . '
' . + '' . __( 'Begin by choosing a theme to edit from the dropdown menu and clicking the Select button. A list then appears of the theme’s template files. Clicking once on any file name causes the file to appear in the large Editor box.' ) . '
' . + '' . __( 'For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.' ) . '
' . + '' . __( 'When using a keyboard to navigate:' ) . '
' . + '' . __( 'After typing in your edits, click Update File.' ) . '
' . + '' . __( 'Advice: Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '
' . + '' . sprintf( + /* translators: %s: link to documentation on child themes */ + __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a child theme instead.' ), + __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) + ) . '
' . + ( is_network_admin() ? '' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '
' : '' ), ) ); @@ -341,9 +344,9 @@ if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) :making a child theme.' ), - esc_url( __( 'https://codex.wordpress.org/Child_Themes' ) ) + esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ) ); ?>
diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 7239243333..f5d9825299 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -387,7 +387,15 @@ function list_theme_updates() { ?> -Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ); ?>
++ Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.' ), + __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) + ); + ?> +