Support » Plugin: WP Password Generator » Great, works… but plz add one more feature

  • Works really great.
    Just plz add some config page, where admin can set some basic behavour how pswds are generated. Great way is for example in 1Password (MacOS).

    It would be greate to select:
    – which characters to use (chars, chars+nums, chars+nums+symbols)
    – length (min, max)
    – generate pronouncable pswd
    – don’t use “compliacted” characters, like Y vs Z, 0 vs O, etc.


Viewing 1 replies (of 1 total)
  • Plugin Author Steve Grunwell


    Hey hrobocop,

    In a developer sense, this functionality is already baked into the plugin. The actual generation of passwords is left to the wp_generate_password() function, which is one of the WordPress pluggable functions (core functions you can override easily by including functions with that name in a plugin or theme. Copy the original wp_generate_function() source from wp-includes/pluggable.php into your theme’s functions.php, then adjust it to meet your password standards.

    As an added benefit, this is the function that WordPress core calls whenever it needs to generate a new password, so updating it in this one place will ensure that generated passwords, be they from core or WP Password Generator, will conform to your password policy.

    By the way, great call on using 1Password – I’m in that app every day between my laptop and phone. Finally coughed up for the family license when 1Password 4 came out so I could get my wife and brother using it.


Viewing 1 replies (of 1 total)
  • The topic ‘Great, works… but plz add one more feature’ is closed to new replies.