• Resolved Adrian Toll

    (@adriantoll)


    This is what wp-pagenavi outputs on this page – https://karmanirvana.org.uk/news/ – which is on 2.94.6

    This is what it outputs when I have done nothing except update wp-pagenavi to 3.0. (The arrow icon is what I was mentioning on my previous, resolved thread, so this is intentional).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Adrian Toll

    (@adriantoll)

    Oh, I think this might actually resolve itself after a page load. Does it require that to pull over the settings rather than doing it during the upgrade process? I think it might be resolved after visiting the wp-pagenavi settings page? I’m going to do a bit more testing.

    Thread Starter Adrian Toll

    (@adriantoll)

    OK, it looks like the update needs any page in the back end to be reloaded for the settings to transferred. So the failure mode is for the plugin to be automatically updated without another back-end page load to transfer the settings. Confirmed on Multisite where the plugin was updated, visiting a back-end page on the main site didn’t transfer the settings, visiting a back-end page on the affected sub-site did transfer the settings.

    Plugin Author Lester Chan

    (@gamerz)

    The upgrade process should cover it. If not, when you save the settings again, it should work.

    Thread Starter Adrian Toll

    (@adriantoll)

    I think that’s the thing – the upgrade process doesn’t cover it when the update is automatic and you’re not doing other things in the back end, so for people who have automatic updates turned on, the pagination will render incorrectly until they log in to the back end of their site.

    Plugin Author Lester Chan

    (@gamerz)

    AI written tests for https://github.com/lesterchan/wp-pagenavi/blob/master/tests/test-upgrade.php it but there there is no way to cover all edge cases, so there bound to be some misses. I am not sure how WP auto update works for plugin, but by right the upgrade process should run.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.