From e57ac78f8827549d6f64ecf8ce1df9ff96c812f3 Mon Sep 17 00:00:00 2001 From: "Stephen A. Bernhardt" Date: Fri, 7 Jun 2024 00:13:59 -0500 Subject: [PATCH 1/8] Update header and footer theme-compat --- src/wp-includes/theme-compat/footer.php | 20 +-------- src/wp-includes/theme-compat/header.php | 57 ++++++++++--------------- 2 files changed, 23 insertions(+), 54 deletions(-) diff --git a/src/wp-includes/theme-compat/footer.php b/src/wp-includes/theme-compat/footer.php index 2a719e18f00b0..f95852462df74 100644 --- a/src/wp-includes/theme-compat/footer.php +++ b/src/wp-includes/theme-compat/footer.php @@ -16,25 +16,7 @@ ); ?> -
- - - - - - - + diff --git a/src/wp-includes/theme-compat/header.php b/src/wp-includes/theme-compat/header.php index cbd84eb20e798..3e2be62cb825b 100644 --- a/src/wp-includes/theme-compat/header.php +++ b/src/wp-includes/theme-compat/header.php @@ -18,44 +18,31 @@ > - - - -<?php echo wp_get_document_title(); ?> - - - - - - - - - - - + if ( is_singular() && pings_open() ) { + echo '', "\n"; + } + if ( is_singular() ) { + wp_enqueue_script( 'comment-reply' ); + } + ?> + + >
-