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
This commit is contained in:
parent
36d25d3960
commit
14d0491fbf
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue