// Remove any scheduled cron jobs.
$akismet_cron_events = array
( 'akismet_schedule_cron_recheck',
'akismet_scheduled_delete',
);
foreach ( $akismet_cron_events as $akismet_cron_event ) { $timestamp =
wp_next_scheduled( $akismet_cron_event );
if ( $timestamp ) { wp_unschedule_event( $timestamp,
$akismet_cron_event );
} } } /**
* Essentially a copy of WP's build_query but one that doesn't expect pre-urlencoded values.
*
* @param array $args An array of key => value pairs
* @return string A string ready for use as a URL query string.
*/
public static function build_query( $args ) {