Ready to get started?Download WordPress


MarketPress - WordPress eCommerce
[resolved] MarketPress 2.5.1 Repeatedly Flushing Rewrites (2 posts)

  1. ssmathias
    Posted 7 months ago #

    We ran into an issue with one of our clients using MarketPress Lite in which MarketPress would flush and regenerate the WordPress rewrite rules in every init.

    After some troubleshooting, we narrowed it down to the "install" function getting called every init, which adds an action to flush the rewrite rules. This occurs because it's looking for the 'mp_version' value within the 'mp_settings' option, but never sets that key and instead only sets the option 'mp_version' in all future occurrences.

    I've attached a link to the patch I've created in our github mirror. It includes a simple diff to see what changes were necessary to occur. Changes to the version number and description in the header can be ignored, as these are used for our internal purposes.

    Patch for Install Check on Github


  2. Mike
    WPMU DEV Support Staff
    Posted 7 months ago #

    Hi @ssmathias

    You are awesome, thank you for finding this and suggesting a fix, I've reported this to the developer, he will look into this and hopefully make a comment on it soon.

    Thanks again!


You must log in to post.

About this Plugin

About this Topic


No tags yet.