Skip to content

Count post tables to determine if a db restore is required

Latest
Compare
Choose a tag to compare
@ikennaokpala ikennaokpala released this 21 Aug 13:20
· 2 commits to master since this release

This is a small tweak to the already existing flow.. but with less dependence on the presence of the recovery directory.

First, a count is carried out of the tables with _post (suffix) WordPress tables at least exist.
This is brittle, but will be used until a better pattern/way is discovered.