akismet_https_disabled

akismet_https_disabled

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('akismet_https_disabled') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet.php line 1423
    		if ( $ssl_failed ) {
    			// The request failed when using SSL but succeeded without it. Disable SSL for future requests.
    			update_option( 'akismet_ssl_disabled', time() );
    
    			do_action( 'akismet_https_disabled' );
    		}
    
    		$simplified_response = array( $response['headers'], $response['body'] );
    
    		self::update_alert( $simplified_response );