Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss authored May 2, 2024
1 parent 983689d commit b166926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ protected function connect_using_phpredis( $parameters ) {
if ( isset( $parameters['password'] ) && version_compare( $version, '4.3.0', '>=' ) ) {
$args['password'] = $parameters['password'];
}

if ( version_compare( $version, '5.3.0', '>=' ) && defined( 'WP_REDIS_SSL_CONTEXT' ) && ! empty( WP_REDIS_SSL_CONTEXT ) ) {
if ( array_key_exists( 'password', $args ) ) {
$args['password'] = null;
Expand Down

0 comments on commit b166926

Please sign in to comment.