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

Fix fatal error in core check-update command #270

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

Akash-Raj-ST
Copy link

Instead of returning false when no updates are found, the get_updates function returns an empty array [], ensuring consistent return type and preventing potential errors .

Fixes #267

@Akash-Raj-ST Akash-Raj-ST requested a review from a team as a code owner October 1, 2024 06:57
@thelovekesh
Copy link
Member

Thanks for the first contribution 🎉

@thelovekesh thelovekesh merged commit e3a580a into wp-cli:main Oct 1, 2024
34 checks passed
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.

Since a few days: PHP Fatal error
2 participants