WordPress.org

Ready to get started?Download WordPress

Forums

Simply Exclude
[resolved] recent changes to Category settings not carried across a database restore (4 posts)

  1. flymike
    Member
    Posted 4 months ago #

    I'm planning to migrate a blog to a new provider, but I have noticed that any recent changes made to Post Category Feeds & Front/Home page settings do not appear after backing up the database (all of it) and restoring at the new location. WordPress code is identical at both locations.
    Are some settings not stored in the database?

    https://wordpress.org/plugins/simply-exclude/

  2. Paul Menard
    Member
    Plugin Author

    Posted 4 months ago #

    @flymike,

    I can't address what you are doing with the backups, etc.

    The Simply Exclude stores the settings into the WordPress options table. The option_name for the row is 'simplyexclude_v2'.

  3. flymike
    Member
    Posted 4 months ago #

    Thanks for that. I confirmed that the database backup includes wp_options.
    So I wrote a quick plugin to dump the unserialize of get_option('simplyexclude_v2') and found the version on the target was smaller than the source (presumaby my recently added settings were missing).
    Then I noticed that the old version key 'simplyexclude' was also in wp_options, so I deleted (actually renamed) that key. Repeated the backup and restore sequence, and... ALL IS WELL!
    I can't explain this - but I would like to leave the old version key deleted. Is there any dependency on it in 2.0.6.1?

  4. Paul Menard
    Member
    Plugin Author

    Posted 4 months ago #

    @flymike,

    I can't explain this - but I would like to leave the old version key deleted. Is there any dependency on it in 2.0.6.1?

    No. When 2.0 came out is when I added the 'simplyexclude_v2'. You are seeing the older version 'simplyexclude' because you were probably running a version prior to 2.0. Thanks for that.

Reply

You must log in to post.

About this Plugin

About this Topic