[wp-trac] [WordPress Trac] #38471: Twenty Seventeen Fatal Error missing twentyseventeen_edit_link

WordPress Trac noreply at wordpress.org
Mon Oct 24 13:58:17 UTC 2016


#38471: Twenty Seventeen Fatal Error missing twentyseventeen_edit_link
--------------------------+-----------------------------
 Reporter:  TJNowell      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Both the GitHub and svn trunk copies have this issue ( last checked at
 r38827 ), using the theme generates a fatal error due to a missing
 twentyseventeen_edit_link function:

 {{{
 Fatal error</b>: Uncaught Error: Call to undefined function
 twentyseventeen_edit_link() in wp-content/themes/twentyseventeen/template-
 parts/page/content-front-page.php:36
 Stack trace:
 #0 wp-includes/template.php(574): require()
 #1 wp-includes/template.php(531): load_template('....', false)
 #2 wp-includes/general-template.php(167): locate_template(Array, true,
 false)
 #3 wp-content/themes/twentyseventeen/front-page.php(23): get_template_part
 ('template-parts/...', 'front-page')
 #4 wp-includes/template-loader.php(75): include('....')
 #5 wp-blog-header.php(19): require_once('....')
 #6 index.php(17): require('....')
 #7 {main}
   thrown in <b>wp-content/themes/twentyseventeen/template-parts/page
 /content-front-page.php</b> on line <b>36</b>
 }}}

 Tested on current 4.6 stable with twentyseventeen trunk

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38471>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list