updated plugin Jetpack Protect
version 1.3.0
This commit is contained in:
@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.2.11] - 2023-02-20
|
||||
### Changed
|
||||
- Minor internal updates.
|
||||
|
||||
## [0.2.10] - 2023-01-11
|
||||
### Changed
|
||||
- Updated package dependencies.
|
||||
|
||||
## [0.2.9] - 2022-12-02
|
||||
### Changed
|
||||
- Updated package dependencies. [#27688]
|
||||
@ -88,6 +96,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Fixed
|
||||
- Use `composer update` rather than `install` in scripts, as composer.lock isn't checked in.
|
||||
|
||||
[0.2.11]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.10...v0.2.11
|
||||
[0.2.10]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.9...v0.2.10
|
||||
[0.2.9]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.8...v0.2.9
|
||||
[0.2.8]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.7...v0.2.8
|
||||
[0.2.7]: https://github.com/Automattic/jetpack-password-checker/compare/v0.2.6...v0.2.7
|
||||
|
@ -5,7 +5,7 @@
|
||||
"license": "GPL-2.0-or-later",
|
||||
"require": {},
|
||||
"require-dev": {
|
||||
"automattic/jetpack-changelogger": "^3.2.2",
|
||||
"automattic/jetpack-changelogger": "^3.3.2",
|
||||
"automattic/wordbless": "@dev",
|
||||
"yoast/phpunit-polyfills": "1.0.4"
|
||||
},
|
||||
@ -18,9 +18,6 @@
|
||||
"phpunit": [
|
||||
"./vendor/phpunit/phpunit/phpunit --colors=always"
|
||||
],
|
||||
"test-coverage": [
|
||||
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/clover.xml\""
|
||||
],
|
||||
"test-php": [
|
||||
"@composer phpunit"
|
||||
],
|
||||
|
@ -508,7 +508,7 @@ class Password_Checker {
|
||||
|
||||
// Spaces.
|
||||
if ( strpos( $password, ' ' ) ) {
|
||||
$size ++;
|
||||
++$size;
|
||||
}
|
||||
|
||||
return $size;
|
||||
@ -556,7 +556,7 @@ class Password_Checker {
|
||||
$aidx = $this->get_char_index( $password[0] );
|
||||
$length = strlen( $password );
|
||||
|
||||
for ( $b = 1; $b < $length; $b ++ ) {
|
||||
for ( $b = 1; $b < $length; $b++ ) {
|
||||
$bidx = $this->get_char_index( $password[ $b ] );
|
||||
|
||||
// 27 = number of chars in the index (a-z,' ').
|
||||
|
Reference in New Issue
Block a user