akismet_https_request_failure, $response
akismet_https_request_failure, $response
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('akismet_https_request_failure, $response') is found 2 times:
- /wp-content/plugins/akismet/class.akismet.php line 1845
self::log( compact( 'akismet_url', 'http_args', 'response' ) ); if ( $ssl && is_wp_error( $response ) ) { do_action( 'akismet_https_request_failure', $response ); // Intermittent connection problems may cause the first HTTPS // request to fail and subsequent HTTP requests to succeed randomly. // Retry the HTTPS request once before disabling SSL for a time. $response = wp_remote_post( $akismet_url, $http_args ); - /wp-content/plugins/akismet/class.akismet.php line 1857
if ( is_wp_error( $response ) ) { $ssl_failed = true; do_action( 'akismet_https_request_failure', $response ); do_action( 'akismet_http_request_pre' ); // Try the request again without SSL. $response = wp_remote_post( $http_akismet_url, $http_args );