I have an wp-installation on a local machine (DEV-Environnment).
To get it to live (including the database) I do a mysql-dump from local DEV, and import it to the live-server db.
So far so good.
If I go into the LIVE-WP installation to Settings > Content Control, I do see my entries there in the same way as at the DEV environment.
But they didn’t work!!
What I have to do to make it work is:
1. Login to wp-admin in LIVE WP-Installation
2. Go to Settings > Content Control and
3. Without changing anything, press “update” to trigger a new save of the data.
I’ve checked the DB
wp_optionsand found the Field:
jp_cc_settings, which seems to include all the content-control settings.
So I save the content “BEFORE” I press the
updatebutton in backend – right after database import, and even “AFTER”.
So here is an image of the diff of it: see Screenshot:
So I wonder, why does the content change, if both WP-Installations are exactly the same.
As I use the copy-process as part of an automated deployment… is there a way to trigger this “update”-Button programmatically… or is there another way to solve this?
- You must be logged in to reply to this topic.