WordPress 4.9 “Tipton” was released last week and although it’s largely trouble-free, there is one particular issue users and developers are running into that’s causing frustration. In 4.9, custom page templates that are created fail to display in the Template drop-down menu. The issue is related to changes made to the file editor.
Previous versions of WordPress listed files 2-levels deep in the editor. In 4.9, the entire directory tree for a theme is listed regardless of its depth. Caching was added to help limit the performance impacts of loading large WordPress themes. “An unintended side effect of the caching is that the same directory listing function get_files is used both for the theme editor and for gathering page templates,” Weston Ruter, Co-Release Lead for WordPress 4.9 said.
Within the trac ticket, developers suggests that a button be added that flushes all caches or disabling the cache if WP_DEBUG is set to true. Neither suggestion turned into a patch committed to core. Instead, Ruter has released a plugin as a workaround that flushes the template cache. Other workarounds include, bumping the theme’s version, running the wp cache flush command in WP CLI, or waiting 60 minutes for the cache to expire.
The ticket is marked as a high priority but because of the upcoming holidays in the US and WordCamp US next weekend, it could be at least a few weeks before WordPress 4.9.1 is released.
2 thoughts on “Workarounds for the Page Template Bug in WordPress 4.9”
According to my research, after a the foreclosure home is bought at an auction, it is common for the borrower to be able to still have the remaining unpaid debt on the mortgage. There are many loan providers who make an effort to have all costs and liens cleared by the up coming buyer. Nevertheless, depending on particular programs, legislation, and state legislation there may be a number of loans that aren’t easily resolved through the switch of lending options. Therefore, the duty still lies on the client that has obtained his or her property in foreclosure process. Thank you for sharing your thinking on this website.
An added important component is that if you are a senior citizen, travel insurance pertaining to pensioners is something you ought to really take into consideration. The elderly you are, greater at risk you happen to be for having something bad happen to you while abroad. If you are not really covered by many comprehensive insurance policy, you could have a number of serious complications. Thanks for giving your guidelines on this weblog.
Comments are closed.