Make WordPress Core

Ticket #46450: 46450.patch

File 46450.patch, 4.3 KB (added by man4toman, 6 years ago)
  • wp-admin/includes/class-wp-themes-list-table.php

     
    242242                                if ( $theme->parent() ) {
    243243                                        printf(
    244244                                                ' <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/' ),
    246246                                                $theme->parent()->display( 'Name' )
    247247                                        );
    248248                                }
  • wp-admin/theme-editor.php

     
    3838                                 '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' .
    3939                                 '<p>' . __( '<strong>Advice:</strong> Think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' .
    4040                                 /* 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>' .
    4242                                 ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ),
    4343        )
    4444);
     
    343343                                        echo sprintf(
    344344                                                /* translators: %s: Codex URL */
    345345                                                __( 'You appear to be making direct edits to your theme in the WordPress dashboard. We recommend that you don&#8217;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&#8217;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/' ) )
    347347                                        );
    348348                                        ?>
    349349                                </p>
  • wp-admin/update-core.php

     
    372372        ?>
    373373<h2><?php _e( 'Themes' ); ?></h2>
    374374<p><?php _e( 'The following themes have new versions available. Check the ones you want to update and then click &#8220;Update Themes&#8221;.' ); ?></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>
    376376<form method="post" action="<?php echo esc_url( $form_action ); ?>" name="upgrade-themes" class="upgrade">
    377377        <?php wp_nonce_field( 'upgrade-core' ); ?>
    378378<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

     
    292292                                        /* translators: 1: index.php, 2: Codex URL, 3: style.css */
    293293                                        __( '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.' ),
    294294                                        '<code>index.php</code>',
    295                                         __( 'https://codex.wordpress.org/Child_Themes' ),
     295                                        __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ),
    296296                                        '<code>style.css</code>'
    297297                                );
    298298                                $this->errors = new WP_Error( 'theme_no_index', $error_message );