Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author unclhos

    (@unclhos)

    It does have an activation hook to convert those items for you. I will make note that if you FTP you will need to deactivate and reactivate the plugin. This is assuming WP runs activation hooks when running auto upgrade. I will look into that part.

    Plugin Author unclhos

    (@unclhos)

    Did that solve your problem?

    Thread Starter iNexi

    (@inexi)

    Activation does not fire when upgrading a plugin, it only fires when clicking Activate. This was changed in WP 3.1 (https://make.www.ads-software.com/core/2010/10/27/plugin-activation-hooks-no-longer-fire-for-updates/)

    It is recommended to use an internal version constant stored in wp_options to know when updates occur.

    I will test and report back when I need to upgrade the next site, trying deactivate/activate. Thanks.

    Plugin Author unclhos

    (@unclhos)

    Ok thanks for the information. I do use a constant in the plugin but I don’t check it outside of the activation hook. I’ll put that in the next update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upgrade abandons old persistence data’ is closed to new replies.