Make WordPress Core

Opened 17 months ago

Closed 17 months ago

Last modified 17 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:

Description

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 17 months ago.

Download all attachments as: .zip

Change History (8)

@pyrobd
17 months ago

#1 @pyrobd
17 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.


17 months ago
#2

  • Keywords has-patch added; needs-patch removed

#3 @pravinparmar2404
17 months ago

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

#4 @mukesh27
17 months ago

  • Keywords commit added

Thanks @pravinparmar2404 and @pyrobd for Patch/PR.

Both patch/PR LGTM!

Added commit for consideration.

#5 @SergeyBiryukov
17 months ago

  • Milestone changed from Awaiting Review to 6.2

#6 @SergeyBiryukov
17 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:


17 months ago
#7

Thanks for the PR! Merged in r55455.

Note: See TracTickets for help on using tickets.