[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:56:21 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:  General          |     Version:  6.5.3
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by MattyRob):

 With a little code, this is already possible. Put the following into a
 site specific custom plugin.


 {{{#!php
 <?php
 add_filter( 'site_status_tests', 'remove_persistent_object_cache_test' );

 public function remove_persistent_object_cache_test( $tests ) {
         unset( $tests['direct']['persistent_object_cache'] );
         return $tests;
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61247#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list