Home Forums WoodMart support forum Version 7.0 compatibility issue with WP Rocket (Reporting Bug)

Version 7.0 compatibility issue with WP Rocket (Reporting Bug)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #425259

    afzalibr
    Participant

    My site is using WPROCKET and using Cloudfare CDN. After 7.0 update the caching has stopped working, hence I reached out to WPROCKET team. Findings are below

    Findings
    —-
    The Woodmart theme is incorrectly adding a (.*) to wprocket exclusions filter.
    And this excludes all the URLs from caching,

    Why is this happening?
    On Woodmart version 7.0.4, this is happening in their WP Rocket compatibility file, which can be found here:
    /wp-content/themes/woodmart/inc/integrations/rocket.php

    The theme is adding the exclusion on line 95, with the woodmart_rejected_uri_exclusions()
    function, which is hooked to the rocket_cache_reject_uri filter.

    The function ends up adding a (.*) to wprocket exclusions

    Code image Full image here: https://i.imgur.com/gxTuQCv.png

    I thought to let you know, if this is not reported yet, please consider the fix. For now wprocket team has provided a custom fix plugin so the site is working. Alterntaively let me know if you are fixing this soon

    #425289

    Artem Temos
    Keymaster

    Hello,

    You can apply a patch for the WP Rocket issue in Dashboard -> WoodMart -> Patcher. This patch will be included in our next theme update as well.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)