Ticket #46450: 46450.patch
File 46450.patch, 4.3 KB (added by , 6 years ago) |
---|
-
wp-admin/includes/class-wp-themes-list-table.php
242 242 if ( $theme->parent() ) { 243 243 printf( 244 244 ' <p class="howto">' . __( 'This <a href="%1$s">child theme</a> requires its parent theme, %2$s.' ) . '</p>', 245 __( 'https:// codex.wordpress.org/Child_Themes' ),245 __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ), 246 246 $theme->parent()->display( 'Name' ) 247 247 ); 248 248 } -
wp-admin/theme-editor.php
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">child theme</a> instead.' ), __( 'https://developer.wordpress.org/themes/advanced-topics/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 ); … … 343 343 echo sprintf( 344 344 /* translators: %s: Codex URL */ 345 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>.' ), 346 esc_url( __( 'https:// codex.wordpress.org/Child_Themes' ) )346 esc_url( __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ) 347 347 ); 348 348 ?> 349 349 </p> -
wp-admin/update-core.php
372 372 ?> 373 373 <h2><?php _e( 'Themes' ); ?></h2> 374 374 <p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click “Update Themes”.' ); ?></p> 375 <p><?php printf( __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ), __( 'https:// codex.wordpress.org/Child_Themes' ) ); ?></p>375 <p><?php printf( __( '<strong>Please Note:</strong> Any customizations you have made to theme files will be lost. Please consider using <a href="%s">child themes</a> for modifications.' ), __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ) ); ?></p> 376 376 <form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade"> 377 377 <?php wp_nonce_field( 'upgrade-core' ); ?> 378 378 <p><input id="upgrade-themes" class="button" type="submit" value="<?php esc_attr_e( 'Update Themes' ); ?>" name="upgrade" /></p> -
wp-includes/class-wp-theme.php
292 292 /* translators: 1: index.php, 2: Codex URL, 3: style.css */ 293 293 __( 'Template is missing. Standalone themes need to have a %1$s template file. <a href="%2$s">Child themes</a> need to have a Template header in the %3$s stylesheet.' ), 294 294 '<code>index.php</code>', 295 __( 'https:// codex.wordpress.org/Child_Themes' ),295 __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ), 296 296 '<code>style.css</code>' 297 297 ); 298 298 $this->errors = new WP_Error( 'theme_no_index', $error_message );