Make WordPress Core

Opened 2 years ago

Last modified 11 months ago

#61215 new defect (bug)

Getting warning in Hello Dolly Plugin when checking with PHPCS

Reported by: narenin's profile narenin Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords: has-patch
Focuses: coding-standards Cc:

Description

line no. 49 | WARNING | mt_rand() is discouraged. Use the far less predictable wp_rand() instead

Change History (3)

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


2 years ago
#1

  • Keywords has-patch added

#2 @SergeyBiryukov
2 years ago

  • Focuses coding-standards added

#3 @oglekler
11 months ago

Related ticket #63621 was discussed during the Test team triage session.

We have several tickets about Hello Dolly, and from my point of view they have valid points and can be incorporated into one patch, so I am linking them for further discussion.
#61069, #58363, #53323

Last edited 11 months ago by oglekler (previous) (diff)
Note: See TracTickets for help on using tickets.