onOffice-Web-Org/oo-wp-plugin

Clear cache with admin bar quick action on multisites

Closed this issue ยท 5 comments

Current State

With multisites, the cache cannot be cleared with the quick action "Clear cache" in the admin bar. It'll lead to a URL like: https://multisite-domain/wp-admin/onoffice-clear-cache which causes an error as seen below.

Not Found
The requested URL was not found on this server.

Desired State

The quick action "Clear cache" should also work for multisites.

@fredericalpers For this issue, I am working on it and will get back to you soon.

@fredericalpers I fixed this bug. Please watch my video test on WordPress Multisite and let me know your opinion. Thanks!
This feature still works fine on multisites.
https://files.fm/u/5r9q3mz5tz#/view/893bvprrdy

Note: This feature still works fine on single-site.
https://files.fm/f/3rmacn26jw

@yeneastgate looks good to me, is there anyway you can also test this on an actual WordPress Multisite or am I missing something?

@fredericalpers I fixed this bug. Please watch my video test on WordPress Multisite and let me know your opinion. Thanks!
This feature still works fine on multisites.
https://files.fm/u/5r9q3mz5tz#/view/893bvprrdy

@fredericalpers there anyway I can also test this on an actual WordPress Multisite

@yeneastgate I'm blind, sorry :D thank you for the quick fix.

Edit: Moved this to 4.16 for the review and being able to release it soon.