Skip to content

Commit

Permalink
Change default random string length
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottDeLuzio committed Apr 13, 2018
1 parent c1ae354 commit 472c272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/wcs-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function wpcrm_system_display_calendar( $types, $month, $year ){

if ( !function_exists( 'wpcrm_system_random_string' ) ){
function wpcrm_system_random_string(){
$length = apply_filters( 'wpcrm_system_random_string_length', 50 );
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen( $characters );
$randomString = '';
Expand Down

0 comments on commit 472c272

Please sign in to comment.