mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Use correct @since tag for wp_ajax_generate_password().
See #33450. git-svn-id: https://develop.svn.wordpress.org/trunk@34313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3205,9 +3205,9 @@ function wp_ajax_crop_image() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a password via ajax.
|
||||
* Ajax handler for generating a password.
|
||||
*
|
||||
* @since 4.3.1
|
||||
* @since 4.4.0
|
||||
*/
|
||||
function wp_ajax_generate_password() {
|
||||
wp_send_json_success( wp_generate_password( 24 ) );
|
||||
|
||||
Reference in New Issue
Block a user