WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Varnish
purging when post change status (1 post)

  1. Marcin Pietrzak
    Member
    Posted 2 years ago #

    When post change status from future to publish (by wp-cron) actually wp-varnish don't purge main page. This is a fix, addet after "save_post" actions.

    add_action('future_to_publish', array(&$this, 'WPVarnishPurgePostSave'), 99);
    add_action('future_to_publish', array(&$this, 'WPVarnishPurgeCommonObjects'), 99);

    http://wordpress.org/extend/plugins/wordpress-varnish/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic