wp-admin/includes/ajax-actions.php:4120Handles generating a password in the no-privilege context via AJAX.
function wp_ajax_nopriv_generate_password() { wp_send_json_success( wp_generate_password( 24 ) );}Introduced in 5.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/ajax-actions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.