Skip to content
Snippets Groups Projects
  • Nick Daugherty's avatar
    1faa39c2
    Check for `WP_Error` before using `$info` as an array · 1faa39c2
    Nick Daugherty authored
    `$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.
    1faa39c2
    History
    Check for `WP_Error` before using `$info` as an array
    Nick Daugherty authored
    `$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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.