admin管理员组文章数量:1326050
Will revisions be retained when converting to a multi-site?
We’re looking to convert a WordPress site to a multi-site, and the client we’re working with is very conscious that they don’t want to lose any revisions data.
I can’t find anything in the codex about data loss when converting to a multi-site, but is it a possibility that we might lose some of this data when converting the site?
Thank you
Will revisions be retained when converting to a multi-site?
We’re looking to convert a WordPress site to a multi-site, and the client we’re working with is very conscious that they don’t want to lose any revisions data.
I can’t find anything in the codex about data loss when converting to a multi-site, but is it a possibility that we might lose some of this data when converting the site?
Thank you
Share Improve this question asked Aug 10, 2020 at 13:39 Francesco FabbroFrancesco Fabbro 132 bronze badges1 Answer
Reset to default 1Revisions are stored as posts in the *_posts
table(s). This shouldn't be touched during a conversion to Multisite.
I just did a quick test on my local machine:
- Installed WordPress
- Added a couple pages and posts
- Revised the pages and posts
- Made sure the revisions were stored in the DB
- Ran the Multisite conversion from the command line (
wp core multisite-convert
) - Checked to make sure the revisions were still stored in the DB
It appears that the conversion did not affect the revisions at all.
However, note that your mileage may vary. I'd recommend doing a full database backup before running the conversion to Multisite. (I'd recommend doing that in any event, of course.)
本文标签: multisiteWill revisions be retained when converting to a multisite
版权声明:本文标题:multisite - Will revisions be retained when converting to a multi-site? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742198119a2431457.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论