[wp-trac] [WordPress Trac] #40516: Remove uneccessary return statement in twentyseventeen_edit_link()
WordPress Trac
noreply at wordpress.org
Fri Apr 21 15:58:45 UTC 2017
#40516: Remove uneccessary return statement in twentyseventeen_edit_link()
-------------------------+-----------------------------
Reporter: truongwp | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: template |
-------------------------+-----------------------------
I think that the `return` statement in `twentyseventeen_edit_link()`
function is not neccessary because the `edit_post_link()` function always
returns `null`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40516>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list