Skip to content

Commit

Permalink
Fix bug with random_password filter in Pluggable.php and update libra…
Browse files Browse the repository at this point in the history
…ry version in library.global.php (#118)
  • Loading branch information
jamesros161 authored Apr 19, 2024
1 parent 5d9d108 commit 5fa3dd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ composer require boldgrid/library

## Changelog ##

### 2.13.13 ###

Release Date: Apr 19, 2024
* Bug Fix: Fixed issue with invalid application of the 'random_password' filter [#117](https://github.com/BoldGrid/library/issues/117)

### 2.13.12 ###

Release date: Feb 7th, 2024
Expand Down
2 changes: 1 addition & 1 deletion src/Util/Pluggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ function wp_generate_password( $length = 12, $special_chars = true, $extra_speci
*
* @param string $password The generated password.
*/
return apply_filters( 'random_password', $password );
return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars );
}
endif;
2 changes: 1 addition & 1 deletion src/library.global.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

return array(
// libraryVersion is used to put the version number on js/css files.
'libraryVersion' => '2.13.12',
'libraryVersion' => '2.13.13',
'api' => 'https://api.boldgrid.com',
'option' => 'license',
'key' => get_site_option( 'boldgrid_api_key', null ),
Expand Down

0 comments on commit 5fa3dd1

Please sign in to comment.