Title: wp_generate_password
Last modified: August 22, 2016

---

# wp_generate_password

 *  [fuchsws](https://wordpress.org/support/users/fuchsws/)
 * (@fuchsws)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp_generate_password/)
 * It’s stated in the FAQ that:
 * > Since version 2.2 WP Password Generator has used the pluggable function wp_generate_password()
   > to handle the actual generation of passwords. This switch a) kept the codebase
   > more DRY and b) allows users to easily override the generator logic without
   > editing core or plugin files.
 * I think developers should be VERY carefull when overriding core-functions. In
   this case the wp_generate_password()-function is also used to generate wordpress
   session tokens and other random keys for security purpose. So keep this in mind
   when altering this function, so you do not reduce security!
 * [https://wordpress.org/plugins/wp-password-generator/](https://wordpress.org/plugins/wp-password-generator/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steve Grunwell](https://wordpress.org/support/users/stevegrunwell/)
 * (@stevegrunwell)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wp_generate_password/#post-5882584)
 * That’s an excellent point – the function itself is pretty generic and could be
   made better, but it made the FAQ for this plugin so people knew it was coming
   from the canonical WordPress password generator.

Viewing 1 replies (of 1 total)

The topic ‘wp_generate_password’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-password-generator_f1f1f1.svg)
 * [WP Password Generator](https://wordpress.org/plugins/wp-password-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-password-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-password-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-password-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-password-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-password-generator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve Grunwell](https://wordpress.org/support/users/stevegrunwell/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wp_generate_password/#post-5882584)
 * Status: not a support question