mirror of
git://develop.git.wordpress.org/
synced 2025-04-27 15:42:39 +02:00
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:
parent
345bdb4fc8
commit
ec1fe1532b
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user