• Resolved smarx80

    (@smarx80)


    Hi, I wish to porpose you really simple improvement to properly handle cache delete rights.
    In wpsc_admin_bar_render() there is a check on a hardcoded capability ( edit_other_posts )
    which by default corresponds to the editor and administrator user levels.
    Could you replace it with a custom capability “delete_supercache” or add a nice apply_filter() so that I can determine who can delete the cache?
    I know that apparently this might seem like a marginal problem, but on many systems it might not be, especially since repeatedly clearing the entire cache would effectively render WPSC useless and the system on which such websites run would require a lot more resources.

    Thanks,

    Simone.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.