From 21b99656135517f8c9caf7a8f35542012a318c43 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sat, 20 Feb 2016 14:41:27 +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. Built from https://develop.svn.wordpress.org/trunk@36595 git-svn-id: http://core.svn.wordpress.org/trunk@36562 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme-compat/comments.php | 52 +-------------------------- wp-includes/theme-compat/footer.php | 12 ++++--- wp-includes/theme-compat/sidebar.php | 5 +-- wp-includes/version.php | 2 +- 4 files changed, 11 insertions(+), 60 deletions(-) diff --git a/wp-includes/theme-compat/comments.php b/wp-includes/theme-compat/comments.php index 617349a718..2e8ebc3ed3 100644 --- a/wp-includes/theme-compat/comments.php +++ b/wp-includes/theme-compat/comments.php @@ -68,54 +68,4 @@ _deprecated_file( - - -
- -

- -
- -
- - -

logged in to post a comment.'), wp_login_url( get_permalink() )); ?>

- - -
- - - -

%2$s', get_edit_user_link(), $user_identity ) ); ?> -

- - - -

/> -

- -

/> -

- -

-

- - - -

- -

- -

-ID ); -?> - -
- - -
- - + diff --git a/wp-includes/theme-compat/footer.php b/wp-includes/theme-compat/footer.php index e4f8e724e0..61f91b19dc 100644 --- a/wp-includes/theme-compat/footer.php +++ b/wp-includes/theme-compat/footer.php @@ -21,10 +21,14 @@ _deprecated_file( diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php index f879ec4d41..23fa630328 100644 --- a/wp-includes/theme-compat/sidebar.php +++ b/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( diff --git a/wp-includes/version.php b/wp-includes/version.php index c6ba801d09..f7ffede3d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36594'; +$wp_version = '4.5-alpha-36595'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.