WordPress.org

Ready to get started?Download WordPress

Forums

Nginx Proxy Cache Purge
Not working on WP 2.9.2 (2 posts)

  1. newbiex
    Member
    Posted 3 years ago #

    Have to modify this plugin a bit for WP 2.9.2 since it doesn't support home_url()

    $home_page = get_bloginfo('url');

    instead of

    $home_page = home_url();

    This is a great plugin, I don't need to purge manually anymore. Thanks!

  2. newbiex
    Member
    Posted 3 years ago #

    Looks like the plugin works only when editing post, but not when publishing without editing post.

    Modifying

    add_action('publish_post', 'wpselect_cache');

    instead of

    add_action('edit_post', 'wpselect_cache');

    works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic