[wp-trac] [WordPress Trac] #42573: Templates not working properly

WordPress Trac noreply at wordpress.org
Fri Nov 17 22:01:04 UTC 2017


#42573: Templates not working properly
--------------------------+--------------------
 Reporter:  precies       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9.1
Component:  Themes        |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by ibenic):

 The WP_DEBUG should be enough if you ask me for local development. If
 someone uploads a new template through FTP, let's say, their live/staging
 site with a disabled WP_DEBUG, the page templates won't be refreshed.

 Maybe we could also add a button that could delete the cache on request.
 This button could be under Appearance > Themes on the active theme block.
 Something like this: [[Image(https://imgur.com/Xwh3Qyo)]] ? But that could
 be a little too intrusive to regular users? Not sure.

 WP_DEBUG + version change might be just enough for developers.

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


More information about the wp-trac mailing list