Skip to content
Snippets Groups Projects
Commit 1faa39c2 authored by Nick Daugherty's avatar Nick Daugherty
Browse files

Check for `WP_Error` before using `$info` as an array

`$info` can be a `WP_Error` if something went wrong with the
connection…we must handle that condition.

Probably need a better way to surface these errors at the time they
happen, rather than letting them get stored here, but this is at least
a failsafe to prevent fatals.
parent 59210f5e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment