Skip to:
Content

bbPress.org

Ticket #3587: 3587.patch

File 3587.patch, 1.4 KB (added by shailu25, 18 months ago)

Patch Added

  • src/includes/extend/akismet.php

    diff --git a/src/includes/extend/akismet.php b/src/includes/extend/akismet.php
    index 3ff6ecb3..a38889b0 100644
    a b class BBP_Akismet { 
    257257         *
    258258         * @since 2.0.0 bbPress (r3277)
    259259         *
    260          * @param int $post_id
    261          *
    262260         * @global string $akismet_api_host
    263261         * @global string $akismet_api_port
    264262         * @global object $current_user
    265263         * @global object $current_site
    266264         *
     265         * @param int $post_id
     266         *
    267267         * @return array Array of existing topic terms
    268268         */
    269269        public function submit_post( $post_id = 0 ) {
    class BBP_Akismet { 
    423423         *
    424424         * @since 2.0.0 bbPress (r3277)
    425425         *
     426         * @global string $akismet_api_host
     427         * @global string $akismet_api_port
     428         *
    426429         * @param array $post_data
    427430         * @param string $check Accepts check|submit
    428431         * @param string $spam Accepts spam|ham
    429432         *
    430          * @global string $akismet_api_host
    431          * @global string $akismet_api_port
    432          *
    433433         * @return array Array of post data
    434434         */
    435435        private function maybe_spam( $post_data = array(), $check = 'check', $spam = 'spam' ) {
    class BBP_Akismet { 
    522522         *
    523523         * @since 2.0.0 bbPress (r3308)
    524524         *
     525         * @global object $this->last_post
     526         *
    525527         * @param int $post_id
    526528         * @param object $_post
    527529         *
    528          * @global object $this->last_post
    529530         */
    530531        public function update_post_meta( $post_id = 0, $_post = false ) {
    531532