WordPress.org

Make WordPress Core

Changeset 40795


Ignore:
Timestamp:
05/19/17 15:18:06 (9 days ago)
Author:
obenland
Message:

Twenty Seventeen: Remove uneccessary return statement

Props truongwp.
Fixes #40516.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php

    r40023 r40795  
    111111 */ 
    112112function twentyseventeen_edit_link() { 
    113  
    114     $link = edit_post_link( 
     113    edit_post_link( 
    115114        sprintf( 
    116115            /* translators: %s: Name of current post */ 
     
    121120        '</span>' 
    122121    ); 
    123  
    124     return $link; 
    125122} 
    126123endif; 
Note: See TracChangeset for help on using the changeset viewer.