jetpack_password_checker_minimum_entropy_bits, self::MINIMUM_BITS
jetpack_password_checker_minimum_entropy_bits, self::MINIMUM_BITS
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_password_checker_minimum_entropy_bits, self::MINIMUM_BITS') is found 1 times:
- /_inc/lib/class.jetpack-password-checker.php line 151
* @since 7.2.0
*
* @param array $minimum_entropy_bits minimum entropy bits requirement.
*/
$bits = apply_filters( ‘jetpack_password_checker_minimum_entropy_bits’, self::MINIMUM_BITS );
$entropy_bits = $this->calculate_entropy_bits( $this->password );// If we have failed the entropy bits test, run the regex tests so we can suggest improvements.
if ( $entropy_bits < $bits ) { $results['failed']['entropy_bits'] = $entropy_bits; $results = array_merge( [/php]