Skip to content

Commit 7e49aae

Browse files
authored
Change the filter name to pre_wp_cache_get for consistency
1 parent 3a6311e commit 7e49aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function wp_cache_flush() {
5555
function wp_cache_get( $key, $group = '', $force = false, &$found = null ) {
5656
global $wp_object_cache;
5757

58-
$value = apply_filters( 'wp_cache_get_pre', false, $key, $group, $force );
58+
$value = apply_filters( 'pre_wp_cache_get', false, $key, $group, $force );
5959
if ( false !== $value ) {
6060
return $value;
6161
}

0 commit comments

Comments
 (0)