Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacing rand() by wp_rand() #7688

Merged
merged 4 commits into from
Jan 17, 2025
Merged

Conversation

mehrazmorshed
Copy link
Contributor

replacing rand() by wp_rand()

@donnapep donnapep added this to the 4.24.4 milestone Oct 23, 2024
@donnapep
Copy link
Collaborator

donnapep commented Oct 23, 2024

@mehrazmorshed Thanks for the PR! Looks like there are some test failures that need fixing though as a result of this change.

@donnapep donnapep modified the milestones: 4.24.4, 4.24.5 Nov 11, 2024
@donnapep donnapep modified the milestones: 4.24.5, 4.24.6 Jan 9, 2025
@donnapep
Copy link
Collaborator

It's a bit concerning that we're using random number generation in tests, as that can lead to flaky tests, but the calls seem to be fairly benign.

@donnapep donnapep merged commit f835b0b into Automattic:trunk Jan 17, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants