• Resolved gautier_girard

    (@gautier_girard)


    There is small bug while using db cache and simple tags, when editing a post.

    Please see it and how to solve it (hopefully) :

    -> What steps will reproduce the problem?
    1. Install Simple Tags & DB-Cache plugins
    2. Create a New post, add tags, save
    3. Edit tags within the post and Save post

    -> What is the expected output? What do you see instead?

    Tags should be updated but it’s not the case: DB-Cache displays former tags instead of new entered tags.

    -> What version of the product are you using? On what operating system?

    Simple Tags 1.5.6
    DB-Cache : 0.6

    -> Please provide any additional information below.

    To solve this :
    – edit db-cache.php
    – go to line 100 ‘// Add cleaning on publish and new comment’
    – Below these lines :
    add_action(‘publish_post’, ‘dbc_clear’, 0);
    add_action(‘edit_post’, ‘dbc_clear’, 0);
    add_action(‘delete_post’, ‘dbc_clear’, 0);
    – Add these two lines :
    add_action(‘clean_page_cache’, ‘dbc_clear’, 0);
    add_action(‘clean_post_cache’, ‘dbc_clear’, 0);

    That’s all.

    DB Cache is great!

    Gautier

    http://wordpress.org/extend/plugins/db-cache/

  • The topic ‘[Plugin: DB Cache] DB cache and SimpleTags bug’ is closed to new replies.