diff -r c7c34916027a -r 177826044cd9 wp/wp-includes/theme-compat/comments.php --- a/wp/wp-includes/theme-compat/comments.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-includes/theme-compat/comments.php Mon Oct 14 18:28:13 2019 +0200 @@ -5,7 +5,6 @@ * @deprecated 3.0.0 * * This file is here for backward compatibility with old themes and will be removed in a future version - * */ _deprecated_file( /* translators: %s: template name */ @@ -17,14 +16,15 @@ ); // Do not delete these lines - if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) - die ('Please do not load this page directly. Thanks!'); +if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) { + die( 'Please do not load this page directly. Thanks!' ); +} - if ( post_password_required() ) { ?> -

+if ( post_password_required() ) { ?> +

@@ -32,38 +32,41 @@

    - +
- + - + -

+