diff --git a/src/wp-content/themes/twentyseventeen/inc/template-tags.php b/src/wp-content/themes/twentyseventeen/inc/template-tags.php index 782a81fe3b..2b461109be 100644 --- a/src/wp-content/themes/twentyseventeen/inc/template-tags.php +++ b/src/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;