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

Give sticky posts an earlier date #2943

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Conversation

felipeelia
Copy link
Member

Description of the Change

Occasionally we get an error in our PHP Unit tests suite related to sticky posts being displayed at the top when they shouldn't. It turns out it is displayed at the top as it is considered the latest post (not because it is sticky.) This PR addresses that problem, giving sticky posts an earlier date.

Changelog Entry

Fixed - Intermittent error with sticky posts in the tests suite.

Credits

Props @felipeelia

This way it will not be the first post by accident
@felipeelia felipeelia added this to the 4.3.0 milestone Aug 12, 2022
@felipeelia felipeelia self-assigned this Aug 12, 2022
@felipeelia felipeelia merged commit f934509 into develop Aug 12, 2022
@felipeelia felipeelia deleted the tests/fix-sticky-posts branch August 12, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants