New answers tagged authentication
How to get/generate this WP_Error Object on my own, to return back? $error = new WP_Error; It is fairly well documented in the Codex. Once you instantiate the object there are methods for adding errors and for retrieving them, and functions like is_wp_error to check a variable to see if it is an error object or not.
You, and those plugins, should be using the HTTP API to make connections. That API will attempt to make a connection in several different ways. If your site is capable of making HTTP requests that API should be able to do it. That is largely the point of the API: The problem is that web hosting servers support different transports and some might ...
Top 50 recent answers are included