Missing static keyword
This commit is contained in:
parent
78636b1f12
commit
9b0de1a221
|
@ -150,7 +150,7 @@ class WC_Cache_Helper {
|
|||
*
|
||||
* @param string $version Version of the transient to remove.
|
||||
*/
|
||||
protected function queue_delete_version_transients( $version = '' ) {
|
||||
protected static function queue_delete_version_transients( $version = '' ) {
|
||||
if ( ! wp_using_ext_object_cache() && ! empty( $version ) ) {
|
||||
wp_schedule_single_event( time() + 30, 'delete_version_transients', array( $version ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue