我已经继承了一个使用以下版本构建的WordPress网站(来自wp-includes/version.php):
WordPress 4.1-Alpha-20141016
我在任何地方都找不到这个版本。我需要它,以便我可以将其比较到产品网站,并查看以前的团队是否对WP Core Files进行了任何更改。
我找到了它!
对于任何有兴趣的人,这就是我所做的:
- 克隆https://github.com/wordpress/wordpress:
git clone https://github.com/WordPress/WordPress
- 检查了最接近我版本的git标签:
git checkout 4.1
- 检查了wp-includes/version.php的历史:
git log -- wp-includes/version.php
- 在2014年10月16日(我的Alpha Build日期)找到了一项提交。检查了该提交:
git checkout [commit_id]
- 在WP-INCLUDES/version.php中进行了验证,该版本#与我的Alpha build相同。