Title: Incorrect Capability checks (PATCH AVAILABLE)
Last modified: August 20, 2016

---

# Incorrect Capability checks (PATCH AVAILABLE)

 *  [Internetbureau Clearsite](https://wordpress.org/support/users/clearsite/)
 * (@clearsite)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/incorrect-capability-checks-patch-available/)
 * The cache maintenance is admin-only, but the links on the pages/posts list are
   shown to every editor. Since the link points to the admin page which needs capability
   manage_options – this functionality is limited to admin. (I think this is a major
   design flaw and therefore I’m working on a patch for that as well, but this one
   is just to make the plugin consistent)
    Before outputting the link to clear the
   cache of that page a check should be done.
 * PATCH AVAILABLE: [http://bit.ly/YlXchr](http://bit.ly/YlXchr)
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Internetbureau Clearsite](https://wordpress.org/support/users/clearsite/)
 * (@clearsite)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/incorrect-capability-checks-patch-available/#post-3221932)
 * note: I think I have found a way around the manage_options limitation by defining
   custom callbacks/handlers through a separate plugin and calling the methods w3tc_pgcache_flush
   or w3tc_pgcache_flush_post
 * Will report back

Viewing 1 replies (of 1 total)

The topic ‘Incorrect Capability checks (PATCH AVAILABLE)’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Internetbureau Clearsite](https://wordpress.org/support/users/clearsite/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/incorrect-capability-checks-patch-available/#post-3221932)
 * Status: not resolved