WordPress.org

Ready to get started?Download WordPress

Forums

TheCartPress eCommerce Shopping Cart
[resolved] Cartpress setting no-cache Headers (2 posts)

  1. mikeotgaar
    Member
    Posted 1 year ago #

    Cartpress plugin is setting http header values

    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache

    Behaviour started around March this year. I managed to force over-ride it for a while then it started again in May. Seem to have over-ridden it again for now, but cannot get rid of those lines

    Here's the thing - I've searched every file in the plugin, and there is no code to generate the above code.
    Only clue was found in the database (wp_options table) in the "news" feed from Cartpress where the string matched exactly!

    Makes no sense at all. Why would Cartpress insert that code in the news feed....
    This amounts to malware injection! Not impressed
    (Ridiculous WordPress function anyway - adding news feed as a _transient in the wp_options table. Not the first time this rubbish has caused havoc with a site - it should be in a table on it's own if anywhere)

    http://wordpress.org/extend/plugins/thecartpress/

  2. mikeotgaar
    Member
    Posted 1 year ago #

    Hmm, fixed it.
    Had to empty the wp-options table completely and manually add back the records needed for the site to function, then run Apache cron.

    12 HOURS work

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic