Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#57847 closed defect (bug) (fixed)

Typo in wp_generate_password() description

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.2 Priority: normal
Severity: normal Version:
Component: Users Keywords: good-first-bug has-patch commit
Focuses: docs Cc:


wp_generate_password() description includes this sentence:

Uses wp_rand() is used to create passwords with far less predictability than similar native PHP functions like rand() or mt_rand().

"Uses wp_rand() is used" should just be "Uses wp_rand()".

Follow-up to [42373] / #42782.

Attachments (1)

57847.patch (582 bytes) - added by pyrobd 16 months ago.

Download all attachments as: .zip

Change History (8)

16 months ago

#1 @pyrobd
16 months ago

Here is a patch just corrected the sentence as suggested.

This ticket was mentioned in PR #4163 on WordPress/wordpress-develop by @pravinparmar2404.

16 months ago

  • Keywords has-patch added; needs-patch removed

#3 @pravinparmar2404
16 months ago

I updated the new patch and just corrected the sentence as suggested in the ticket.

#4 @mukesh27
16 months ago

  • Keywords commit added

Thanks @pravinparmar2404 and @pyrobd for Patch/PR.

Both patch/PR LGTM!

Added commit for consideration.

#5 @SergeyBiryukov
16 months ago

  • Milestone changed from Awaiting Review to 6.2

#6 @SergeyBiryukov
16 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 55455:

Docs: Fix typo in wp_generate_password() description.

Follow-up to [42373].

Props pyrobd, pravinparmar2404, mukesh27.
Fixes #57847.

@SergeyBiryukov commented on PR #4163:

16 months ago

Thanks for the PR! Merged in r55455.

Note: See TracTickets for help on using tickets.