diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
index 5fdb881..4d9cd42 100644
a
|
b
|
get_current_screen()->add_help_tab( |
38 | 38 | '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' . |
39 | 39 | '<p>' . __( '<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' . |
40 | 40 | /* translators: %s: link to codex article about child themes */ |
41 | | '<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>' . |
| 41 | '<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" target="_blank">child theme (will open in a new window)</a> instead.' ), __( 'https://codex.wordpress.org/Child_Themes' ) ) . '</p>' . |
42 | 42 | ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ), |
43 | 43 | ) |
44 | 44 | ); |
… |
… |
if ( ! in_array( 'theme_editor_notice', $dismissed_pointers, true ) ) : |
342 | 342 | <?php |
343 | 343 | echo sprintf( |
344 | 344 | /* translators: %s: Codex URL */ |
345 | | __( '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>.' ), |
| 345 | __( '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" target="_blank">making a child theme (will open in a new window)</a>.' ), |
346 | 346 | esc_url( __( 'https://codex.wordpress.org/Child_Themes' ) ) |
347 | 347 | ); |
348 | 348 | ?> |