From e85f75f23fd95cad4ef54a1900fbacb1b636742a Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Fri, 15 Jan 2016 19:33:27 +0000 Subject: [PATCH] Comments: Remove unneeded `$req` variable in `comments_template()`. Props Latz. Fixes #35473. Built from https://develop.svn.wordpress.org/trunk@36322 git-svn-id: http://core.svn.wordpress.org/trunk@36289 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 49dc18870e..07e6a0f9c6 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -1257,8 +1257,6 @@ function comments_template( $file = '/comments.php', $separate_comments = false if ( empty($file) ) $file = '/comments.php'; - $req = get_option('require_name_email'); - /* * Comment author information fetched from the comment cookies. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 0c8e7637cd..fca11a8c78 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-1452886092547'; +$wp_version = '4.5-alpha-1452886392909'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.