[wp-trac] [WordPress Trac] #38411: Twenty Seventeen: Fatal error

WordPress Trac noreply at wordpress.org
Fri Dec 9 21:00:48 UTC 2016


#38411: Twenty Seventeen: Fatal error
---------------------------+-----------------------
 Reporter:  swapnild       |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  low            |   Milestone:
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------
Changes (by davidakennedy):

 * priority:  normal => low


Comment:

 Thanks for reopening @Rarst!

 I chatted with @ocean90 about this because I originally couldn't reproduce
 it. Here are the steps:

 1. Enable 2017
 2. Open `/wp-includes/version.php` and change `$wp_version` to `'4.7-src'`
 3. Now visit the home page

 > Fatal error: Call to undefined function twentyseventeen_is_frontpage()
 in /srv/www/wp-develop/svn/src/wp-content/themes/twentyseventeen/template-
 parts/header/site-branding.php on line 30


 This probably happens with all default themes that have some kind if back-
 compat file to limit the version it's activated on.

 It's possible we could do something similar to this:

 https://meta.trac.wordpress.org/browser/sites/trunk/api.wordpress.org/public_html/translations/core/1.0/index.php?marks=10#L10

 But this would be low priority, I think.

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


More information about the wp-trac mailing list