W3 Total Cache
Incorrect Capability checks (PATCH AVAILABLE) (2 posts)

  1. Clearsite
    Posted 3 years ago #

    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


  2. Clearsite
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.