• Hello,
    This has been reported for year now https://www.ads-software.com/support/topic/unable-to-modify-urls-in-cached-files/ still no update whatsowever.. That’s a pity as many of our users reporting the issue and we have to instruct for an alternative to your application.

    So, here’s the issue again. I’am the developer of WP Hide plugin?https://www.ads-software.com/plugins/wp-hide-security-enhancer/?currently with +80000 active users.

    We keep receiving support inquiries regarding issues while running Elementor and our WP Hide plugin. Mainly, our plugin change default WordPress urls to something else, so default urls like /wp-content/uploads/image.jpg are not available anymore. but re-maped like /media/image.jpg. While using your Elementor internal cache, it still save the style using the default (old) urls, since there’s no filter to use in our code, to update such urls.

    I was able to come to an easy fix by add a filter to your code at /elementor/core/files/base.php at function update_file(), right after line $this->content = $this->parse_content();
    e.g. $this->content = apply_filters( ‘elementor/files/content’, $this->content );

    Hope this makes sense.

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

    (@tdgu)

    There is a Github topic created too at https://github.com/elementor/elementor/pull/8334

    Thanks for bringing this up Maya. As a paying user of elementor pro and wp hide this should be a priority hotfix. It directly affects my website’s functionality and overall security because I cannot block the obvious and insecure wp paths. They are still accessible on the front end meaning my website’s security is worse because of this issue. Please fix this!

    Hi,

    please send me a link to your site and a screenshot of the issue.

    Thread Starter Maya

    (@tdgu)

    Basically, the cached CSS files created by Elementor, contain the wrong URLs ( and possible classes/ids in case of re-mapping with something else ). So your code must contain a filter, to allow other plugins to interact with the data before you save it on the server.

    I can send a sample site with the actual problem. Let me know the contact address to take that further.

    Thanks

    Thread Starter Maya

    (@tdgu)

    @lianakap Will you provide assistance with this ??
    Even if is just a simple filter to add, apparently it takes so much time for you to address. Is this doable or not?

    • This reply was modified 1 year, 9 months ago by Maya.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No filter available for CSS data content before saving as cached file’ is closed to new replies.