diff --git a/src/includes/extend/akismet.php b/src/includes/extend/akismet.php
index 3ff6ecb3..a38889b0 100644
a
|
b
|
class BBP_Akismet { |
257 | 257 | * |
258 | 258 | * @since 2.0.0 bbPress (r3277) |
259 | 259 | * |
260 | | * @param int $post_id |
261 | | * |
262 | 260 | * @global string $akismet_api_host |
263 | 261 | * @global string $akismet_api_port |
264 | 262 | * @global object $current_user |
265 | 263 | * @global object $current_site |
266 | 264 | * |
| 265 | * @param int $post_id |
| 266 | * |
267 | 267 | * @return array Array of existing topic terms |
268 | 268 | */ |
269 | 269 | public function submit_post( $post_id = 0 ) { |
… |
… |
class BBP_Akismet { |
423 | 423 | * |
424 | 424 | * @since 2.0.0 bbPress (r3277) |
425 | 425 | * |
| 426 | * @global string $akismet_api_host |
| 427 | * @global string $akismet_api_port |
| 428 | * |
426 | 429 | * @param array $post_data |
427 | 430 | * @param string $check Accepts check|submit |
428 | 431 | * @param string $spam Accepts spam|ham |
429 | 432 | * |
430 | | * @global string $akismet_api_host |
431 | | * @global string $akismet_api_port |
432 | | * |
433 | 433 | * @return array Array of post data |
434 | 434 | */ |
435 | 435 | private function maybe_spam( $post_data = array(), $check = 'check', $spam = 'spam' ) { |
… |
… |
class BBP_Akismet { |
522 | 522 | * |
523 | 523 | * @since 2.0.0 bbPress (r3308) |
524 | 524 | * |
| 525 | * @global object $this->last_post |
| 526 | * |
525 | 527 | * @param int $post_id |
526 | 528 | * @param object $_post |
527 | 529 | * |
528 | | * @global object $this->last_post |
529 | 530 | */ |
530 | 531 | public function update_post_meta( $post_id = 0, $_post = false ) { |
531 | 532 | |