[wp-trac] [WordPress Trac] #61247: "You should use a persistent object cache" - Allow disable warning
WordPress Trac
noreply at wordpress.org
Sun May 19 14:59:05 UTC 2024
#61247: "You should use a persistent object cache" - Allow disable warning
-----------------------------+------------------------------
Reporter: olihar | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: 6.5.3
Severity: minor | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Changes (by jamieblomerus):
* component: General => Site Health
* severity: normal => minor
Comment:
I will change this to Site Health because that is where this kind of
warning shows up.
I don't see the point in letting people disable certain warnings from the
UI as it is easier just to ignore them. They are after all only
recommendations.
The only time I believe this would be beneficial is if a Web Agency builds
a website for a client and knows it would be redundant to add object cache
to it but worries the client will think something is wrong with their
website since there are recommended improvements. In that case it would be
easy to disable that recommendations by returning false on the filter
[https://developer.wordpress.org/reference/hooks/site_status_should_suggest_persistent_object_cache/
site_status_should_suggest_persistent_object_cache].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61247#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list