$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>How to update theme to specific version|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

How to update theme to specific version

matteradmin8PV0评论

Our current WordPress version is 3.8.28 and the theme Twenty Twelve Theme version is 1.3. Now we would like to update the theme to 2.8 version.

  • Is it possible to update the only theme? if yes how should we check the compatibility with current WordPress version we have.
  • what is the procedure to update the theme?

Our current WordPress version is 3.8.28 and the theme Twenty Twelve Theme version is 1.3. Now we would like to update the theme to 2.8 version.

  • Is it possible to update the only theme? if yes how should we check the compatibility with current WordPress version we have.
  • what is the procedure to update the theme?
Share Improve this question asked Feb 27, 2019 at 18:50 BharathBharath 1032 bronze badges 1
  • 3 Holy Moly that's an old version of WordPress, it's very likely if you update the theme that it will be making use of functions added in newer versions of the theme. Eitherway you should update WordPress for significant security updates and performance improvements – Tom J Nowell Commented Feb 27, 2019 at 19:09
Add a comment  | 

1 Answer 1

Reset to default 2

Is it possible to update the only theme? if yes how should we check the compatibility with current WordPress version we have.

Yes, you can manually download a particular version of the theme from site. There isn't a UI for it, but if I take the current twentynineteen download link:

https://downloads.wordpress/theme/twentynineteen.1.3.zip

I can change it to v1.2 like this:

https://downloads.wordpress/theme/twentynineteen.1.2.zip

I can also grab it via svn which would be more reliable by clicking on the subversion repository link.

Keep in mind that unless you're running the latest you won't get all fixes and improvements, and with the default themes you almost certainly need to update WordPress for that.

To test, you can create a local environment with your sites files and database, then update the theme and see what breaks.

Note that the same can be done to update WordPress, and we already know the latest WP version works with the latest version of the theme.

what is the procedure to update the theme?

Remove the old theme from the themes folder and drop in the new version, making sure they have the same folder name.

Our current WordPress version is 3.8.28

This is from October 2017, making it a very old version of WordPress, v3.8 itself was released in 2013. You should consider this install to be insecure, and by keeping it you may be creating legal compliance issues, as well as not conducting your data protection obligations in a number of countries.

I would suggest updating WP itself be your highest priority. Anybody else you ask will do the same, and with good reason.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far