Skip to content

Commit d0f56d4

Browse files
committed
Rename parameter in maybe_delete_transients method
Update parameter name in maybe_delete_transients method.
1 parent d58d649 commit d0f56d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/class-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,10 +1210,10 @@ public function register_shutdown_hooks() {
12101210
* Delete all transients if the cache was enabled successfully.
12111211
* Callback for `redis_object_cache_enable` action.
12121212
*
1213-
* @param bool $result
1213+
* @param bool $should_delete
12141214
* @return void
12151215
*/
1216-
public function maybe_delete_transients( $result ) {
1216+
public function maybe_delete_transients( $should_delete ) {
12171217
global $wpdb;
12181218

12191219
if ( ! $result ) {

0 commit comments

Comments
 (0)