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

Check for WP_Error in wp_remote_get; fixes #2386 #2387

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

thefrosty
Copy link
Contributor

@thefrosty thefrosty commented May 23, 2022

Description

Fixes #2386

Screenshots

Types of changes

How has this been tested?

Acceptance criteria

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

Copy link
Member

@olafleur-godaddy olafleur-godaddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pipeline does not seem to run our your PR (maybe a config issue), but I can see that the PHP tests and linting are failing (ex : https://app.circleci.com/pipelines/github/godaddy-wordpress/coblocks/9503/workflows/1e53351b-47d1-4a51-812f-4e7d3f87773f )

Please make sure that the yarn lint:php and yarn test:php commands are not failing.

Thank you!

src/blocks/gist/index.php Outdated Show resolved Hide resolved
Copy link
Member

@AnthonyLedesma AnthonyLedesma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent change here. We appreciate the effort to get this PR in and fixed up.

@AnthonyLedesma AnthonyLedesma merged commit f591823 into godaddy-wordpress:master Jun 8, 2022
@olafleur-godaddy
Copy link
Member

Yes, thanks for your contribution!

@olafleur-godaddy
Copy link
Member

I just added you in the contributors list : https://github.com/godaddy-wordpress/coblocks/blob/master/CONTRIBUTORS.md

@thefrosty thefrosty deleted the patch-1 branch June 8, 2022 16:46
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.

ISBAT PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error
3 participants