From c5b09498f5b006a362631a4f58f1491305b13276 Mon Sep 17 00:00:00 2001
From: "Dominik Schilling (ocean90)"
Date: Sat, 20 Feb 2016 14:40:33 +0000
Subject: [PATCH] Theme Compat: Replace the custom comment form with
`comment_form()` and reduce number of links.
`comment_form()` has nearly the same markup as the custom form but also includes the latest enhancements like improved a11y and more filters.
Add translators comments, props ramiy.
Fixes #35888.
git-svn-id: https://develop.svn.wordpress.org/trunk@36595 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-includes/theme-compat/comments.php | 52 +----------------------
src/wp-includes/theme-compat/footer.php | 12 ++++--
src/wp-includes/theme-compat/sidebar.php | 5 +--
3 files changed, 10 insertions(+), 59 deletions(-)
diff --git a/src/wp-includes/theme-compat/comments.php b/src/wp-includes/theme-compat/comments.php
index 617349a718..2e8ebc3ed3 100644
--- a/src/wp-includes/theme-compat/comments.php
+++ b/src/wp-includes/theme-compat/comments.php
@@ -68,54 +68,4 @@ _deprecated_file(
-
-
-
-
-
-
-
-
-
-
logged in to post a comment.'), wp_login_url( get_permalink() )); ?>
-
-
-
-
-
-
-
-
+
diff --git a/src/wp-includes/theme-compat/footer.php b/src/wp-includes/theme-compat/footer.php
index e4f8e724e0..61f91b19dc 100644
--- a/src/wp-includes/theme-compat/footer.php
+++ b/src/wp-includes/theme-compat/footer.php
@@ -21,10 +21,14 @@ _deprecated_file(
diff --git a/src/wp-includes/theme-compat/sidebar.php b/src/wp-includes/theme-compat/sidebar.php
index f879ec4d41..23fa630328 100644
--- a/src/wp-includes/theme-compat/sidebar.php
+++ b/src/wp-includes/theme-compat/sidebar.php
@@ -71,7 +71,7 @@ _deprecated_file(
printf( __( 'You have searched the %1$s blog archives for ‘%2$s’. If you are unable to find anything in these search results, you can try one of these links.' ),
sprintf( '%2$s', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
esc_html( get_search_query() )
- );
+ );
?>
@@ -105,9 +105,6 @@ _deprecated_file(