Ticket #46450: 46450-2.patch
| File 46450-2.patch, 9.7 KB (added by , 7 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-content/themes/twentyeleven/functions.php
10 10 * for various features in WordPress, such as post thumbnails, navigation menus, and the like. 11 11 * 12 12 * When using a child theme (see https://codex.wordpress.org/Theme_Development and 13 * https:// codex.wordpress.org/Child_Themes), you can override certain functions13 * https://developer.wordpress.org/themes/advanced-topics/child-themes), you can override certain functions 14 14 * (those wrapped in a function_exists() call) by defining them first in your child theme's 15 15 * functions.php file. The child theme's functions.php file is included before the parent 16 16 * theme's file, so the child theme functions would be used. -
wp-content/themes/twentyfifteen/functions.php
12 12 * the parent theme's file, so the child theme functions would be used. 13 13 * 14 14 * @link https://codex.wordpress.org/Theme_Development 15 * @link https:// codex.wordpress.org/Child_Themes15 * @link https://developer.wordpress.org/themes/advanced-topics/child-themes 16 16 * 17 17 * Functions that are not pluggable (not wrapped in function_exists()) are 18 18 * instead attached to a filter or action hook. -
wp-content/themes/twentyfourteen/functions.php
12 12 * the parent theme's file, so the child theme functions would be used. 13 13 * 14 14 * @link https://codex.wordpress.org/Theme_Development 15 * @link https:// codex.wordpress.org/Child_Themes15 * @link https://developer.wordpress.org/themes/advanced-topics/child-themes 16 16 * 17 17 * Functions that are not pluggable (not wrapped in function_exists()) are 18 18 * instead attached to a filter or action hook. -
wp-content/themes/twentysixteen/functions.php
12 12 * the parent theme's file, so the child theme functions would be used. 13 13 * 14 14 * @link https://codex.wordpress.org/Theme_Development 15 * @link https:// codex.wordpress.org/Child_Themes15 * @link https://developer.wordpress.org/themes/advanced-topics/child-themes 16 16 * 17 17 * Functions that are not pluggable (not wrapped in function_exists()) are 18 18 * instead attached to a filter or action hook. -
wp-content/themes/twentyten/functions.php
10 10 * for various features in WordPress, such as post thumbnails, navigation menus, and the like. 11 11 * 12 12 * When using a child theme (see https://codex.wordpress.org/Theme_Development and 13 * https:// codex.wordpress.org/Child_Themes), you can override certain functions13 * https://developer.wordpress.org/themes/advanced-topics/child-themes), you can override certain functions 14 14 * (those wrapped in a function_exists() call) by defining them first in your child theme's 15 15 * functions.php file. The child theme's functions.php file is included before the parent 16 16 * theme's file, so the child theme functions would be used. -
wp-content/themes/twentythirteen/functions.php
7 7 * hooks in WordPress to change core functionality. 8 8 * 9 9 * When using a child theme (see https://codex.wordpress.org/Theme_Development 10 * and https:// codex.wordpress.org/Child_Themes), you can override certain10 * and https://developer.wordpress.org/themes/advanced-topics/child-themes), you can override certain 11 11 * functions (those wrapped in a function_exists() call) by defining them first 12 12 * in your child theme's functions.php file. The child theme's functions.php 13 13 * file is included before the parent theme's file, so the child theme -
wp-content/themes/twentytwelve/functions.php
7 7 * filter hooks in WordPress to change core functionality. 8 8 * 9 9 * When using a child theme (see https://codex.wordpress.org/Theme_Development and 10 * https:// codex.wordpress.org/Child_Themes), you can override certain functions10 * https://developer.wordpress.org/themes/advanced-topics/child-themes), you can override certain functions 11 11 * (those wrapped in a function_exists() call) by defining them first in your child theme's 12 12 * functions.php file. The child theme's functions.php file is included before the parent 13 13 * theme's file, so the child theme functions would be used. -
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 );