WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/01/2019 11:54:23 AM (22 months ago)
Author:
SergeyBiryukov
Message:

Themes: Link to an updated documentation on child themes on developer.wordpress.org, instead of Codex.

Props man4toman.
See #46450.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r44973 r45080  
    290290            if ( ! file_exists( $this->theme_root . '/' . $this->stylesheet . '/index.php' ) ) {
    291291                $error_message = sprintf(
    292                     /* translators: 1: index.php, 2: Codex URL, 3: style.css */
     292                    /* translators: 1: index.php, 2: link to documentation, 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                );
Note: See TracChangeset for help on using the changeset viewer.