Make WordPress Core

Ticket #55405: 55405.diff

File 55405.diff, 1.1 KB (added by azouamauriac, 3 years ago)
  • src/wp-includes/class-wp-theme.php

     
    345345                                && ! file_exists( $theme_path . '/index.php' )
    346346                        ) {
    347347                                $error_message = sprintf(
    348                                         /* translators: 1: templates/index.html, 2: index.php, 3: Documentation URL, 4: style.css */
    349                                         __( 'Template is missing. Standalone themes need to have a %1$s or %2$s template file. <a href="%3$s">Child themes</a> need to have a Template header in the %4$s stylesheet.' ),
     348                                        /* translators: 1: Template word  2: templates/index.html, 3: index.php, 4: Documentation URL, 5: style.css */
     349                                        __( '%1$s is missing. Standalone themes need to have a %2$s or %3$s template file. <a href="%4$s">Child themes</a> need to have a Template header in the %5$s stylesheet.' ),
     350                                        'Template',
    350351                                        '<code>templates/index.html</code>',
    351352                                        '<code>index.php</code>',
    352353                                        __( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' ),