WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Delete Cache button (8 posts)

  1. Tanin
    Member
    Posted 5 years ago #

    The Delete Cache button on the admin pages should not be visible for registered users, only for admins.

  2. mynetweblogs
    Member
    Posted 5 years ago #

    I'd be fine with the delete cache button just remaining under the options/wp-super cache - as opposed to next to the dashboard button.

  3. nv1962
    Member
    Posted 5 years ago #

    Maybe it's a quick & dirty solution to put in conditional CSS to hide it below admin privs? As long as it's functional only with appropriate privs... I absolutely love its current prominent position - previously I was annoyed precisely because I had to hunt for it, when fiddling with a post, page, theme or plugin. And I like to fiddle a lot (i.e. having a ton of browser tabs open).

  4. ljmac
    Member
    Posted 5 years ago #

    It's handy to have it there, but I absolutely agree that this should not be visible to non-admins. If it can't be set up so that non-admins can't see it, at least give us the option of hiding it in the preferences.

    Another problem I've discovered with the new version is that I am unable to disable the new "Clear all cache files when a post or page is edited" option after activating it - I had to reset the preferences.

    Also, is it possible to set up this option so that it only clears the cache when you publish, or update already published posts?

  5. Donncha O Caoimh
    Member
    Posted 5 years ago #

    About to add code that hides the "Delete Cache" link, sorry about that.

    The "clear all cache files" option is now fixed in trunk, but I had to change it so it only activates when a post is published. Unfortunately "edit_post" is activated when a comment is left too.

  6. ljmac
    Member
    Posted 5 years ago #

    Thanks donncha! Re-reading my last post (which I did just as I was going out), my tone comes across as somewhat ungrateful. So just let me say - great plug-in, and thanks for all the good work!

    So are you saying that - with the "clear all cache files" option enabled - every time somebody posts a comment, all cache files will be cleared?

  7. Donncha O Caoimh
    Member
    Posted 5 years ago #

    At the moment they are cleared unfortunately. I think it's probably worth releasing another point release to fix that immediately. Hope people don't get sick of upgrading.

  8. ljmac
    Member
    Posted 5 years ago #

    Fortunately, upgrading is pretty easy! And your willingness to fix bugs ASAP is certainly admirable.

Topic Closed

This topic has been closed to new replies.

About this Topic