From 14d0491fbf43f4f80c2be05646fc31c688d2416f Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Fri, 19 May 2017 15:19:41 +0000 Subject: [PATCH] Twenty Seventeen: Remove uneccessary return statement Props truongwp. Fixes #40516. Built from https://develop.svn.wordpress.org/trunk@40795 git-svn-id: http://core.svn.wordpress.org/trunk@40653 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/inc/template-tags.php | 5 +---- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyseventeen/inc/template-tags.php b/wp-content/themes/twentyseventeen/inc/template-tags.php index 782a81fe3b..2b461109be 100644 --- a/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/wp-content/themes/twentyseventeen/inc/template-tags.php @@ -110,8 +110,7 @@ if ( ! function_exists( 'twentyseventeen_edit_link' ) ) : * layout with multiple posts/pages shown gets confusing. */ function twentyseventeen_edit_link() { - - $link = edit_post_link( + edit_post_link( sprintf( /* translators: %s: Name of current post */ __( 'Edit "%s"', 'twentyseventeen' ), @@ -120,8 +119,6 @@ function twentyseventeen_edit_link() { '', '' ); - - return $link; } endif; diff --git a/wp-includes/version.php b/wp-includes/version.php index f0cde987d8..7c0edb1355 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-beta1-40794'; +$wp_version = '4.8-beta1-40795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.