最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multisite - Will revisions be retained when converting to a multi-site?

programmeradmin3浏览0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

Revisions 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.)

发布评论

评论列表(0)

  1. 暂无评论