[wp-trac] [WordPress Trac] #40516: Twenty Seventeen: Remove uneccessary return statement in twentyseventeen_edit_link()

WordPress Trac noreply at wordpress.org
Fri Apr 21 16:28:58 UTC 2017


#40516: Twenty Seventeen: Remove uneccessary return statement in
twentyseventeen_edit_link()
---------------------------+-----------------------
 Reporter:  truongwp       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.7.5
Component:  Bundled Theme  |     Version:  4.7
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  template
---------------------------+-----------------------

Comment (by truongwp):

 It shows the Edit page link

 Replying to [comment:3 Presskopp]:
 > what about the line
 > {{{
 > twentyseventeen_edit_link( get_the_ID() );
 > }}}
 >
 > in:
 >
 > {{{
 > content-front-page-panels.php
 > content-front-page.php
 > content-page.php
 > }}}
 >
 >
 > ?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40516#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list