Twenty Seventeen: Remove uneccessary return statement

Props truongwp.
Fixes #40516.


git-svn-id: https://develop.svn.wordpress.org/trunk@40795 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland 2017-05-19 15:18:06 +00:00
parent 345bdb4fc8
commit ec1fe1532b

View File

@ -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<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
@ -120,8 +119,6 @@ function twentyseventeen_edit_link() {
'<span class="edit-link">',
'</span>'
);
return $link;
}
endif;