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

Avoid notice when $update_info is null #265

Merged
merged 1 commit into from Oct 31, 2020

Conversation

msaggiorato
Copy link
Contributor

I've noticed these notices, and thought it was an easy fix.

Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 662
Notice: Trying to access array offset on value of type null in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 663

@msaggiorato msaggiorato requested a review from a team as a code owner Oct 20, 2020
@schlessera schlessera merged commit 0733154 into wp-cli:master Oct 31, 2020
1 check passed
@schlessera schlessera added this to the 2.0.13 milestone Oct 31, 2020
@schlessera
Copy link
Member

Thanks for the PR, @msaggiorato !

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.

None yet

2 participants