Ejemplo n.º 1
0
function akismet_microtime()
{
    return Akismet::_get_microtime();
}
Ejemplo n.º 2
0
function akismet_microtime()
{
    _deprecated_function(__FUNCTION__, '3.0', 'Akismet::_get_microtime()');
    return Akismet::_get_microtime();
}
Ejemplo n.º 3
0
 /**
  * Update an activity item's Akismet history.
  *
  * @since 1.6.0
  *
  * @param int    $activity_id Activity item ID.
  * @param string $message     Human-readable description of what's changed.
  * @param string $event       The type of check we were carrying out.
  */
 public function update_activity_history($activity_id = 0, $message = '', $event = '')
 {
     $event = array('event' => $event, 'message' => $message, 'time' => Akismet::_get_microtime(), 'user' => bp_loggedin_user_id());
     // Save the history data.
     bp_activity_update_meta($activity_id, '_bp_akismet_history', $event);
 }