Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/24/2015 11:22:50 PM (6 years ago)
Author:
tw2113
Message:

Fixes double digit version numbers missed from hooks docs work.

See #5938.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-akismet.php

    r9517 r9642  
    44 *
    55 * @package BuddyPress
    6  * @since BuddyPress (1.6)
     6 * @since BuddyPress (1.6.0)
    77 * @subpackage Activity
    88 */
     
    1414 * Akismet support for the Activity component.
    1515 *
    16  * @since BuddyPress (1.6)
     16 * @since BuddyPress (1.6.0)
    1717 */
    1818class BP_Akismet {
     
    2222     * @access protected
    2323     * @var BP_Activity_Activity
    24      * @since BuddyPress (1.6)
     24     * @since BuddyPress (1.6.0)
    2525     */
    2626    protected $last_activity = null;
     
    2929     * Constructor.
    3030     *
    31      * @since BuddyPress (1.6)
     31     * @since BuddyPress (1.6.0)
    3232     */
    3333    public function __construct() {
     
    3838     * Hook Akismet into the activity stream.
    3939     *
    40      * @since BuddyPress (1.6)
     40     * @since BuddyPress (1.6.0)
    4141     */
    4242    protected function setup_actions() {
     
    7070     * akismet_comment_row_action() function. Thanks!
    7171     *
    72      * @since BuddyPress (1.6)
     72     * @since BuddyPress (1.6.0)
    7373     *
    7474     * @param array $actions The hover links.
     
    130130     * by Akismet to help detect spam activity.
    131131     *
    132      * @since BuddyPress (1.6)
     132     * @since BuddyPress (1.6.0)
    133133     *
    134134     * @see https://plugins.trac.wordpress.org/ticket/1232
     
    159159     * default AJAX implementation; see bp_dtheme_post_update().
    160160     *
    161      * @since BuddyPress (1.6)
     161     * @since BuddyPress (1.6.0)
    162162     *
    163163     * @see bp_dtheme_post_update()
     
    185185     * This function is intended to be used inside the activity stream loop.
    186186     *
    187      * @since BuddyPress (1.6)
     187     * @since BuddyPress (1.6.0)
    188188     */
    189189    public function add_activity_spam_button() {
     
    213213     * This function is intended to be used inside the activity stream loop.
    214214     *
    215      * @since BuddyPress (1.6)
     215     * @since BuddyPress (1.6.0)
    216216     */
    217217    public function add_activity_comment_spam_button() {
     
    240240     * Get a filterable list of activity types that Akismet should automatically check for spam.
    241241     *
    242      * @since BuddyPress (1.6)
     242     * @since BuddyPress (1.6.0)
    243243     *
    244244     * @static
     
    261261     * Mark activity item as spam.
    262262     *
    263      * @since BuddyPress (1.6)
     263     * @since BuddyPress (1.6.0)
    264264     *
    265265     * @param BP_Activity_Activity $activity
     
    284284     * Mark activity item as ham.
    285285     *
    286      * @since BuddyPress (1.6)
     286     * @since BuddyPress (1.6.0)
    287287     *
    288288     * @param BP_Activity_Activity $activity
     
    308308     * Build a data package for the Akismet service to inspect.
    309309     *
    310      * @since BuddyPress (1.6)
     310     * @since BuddyPress (1.6.0)
    311311     *
    312312     * @see http://akismet.com/development/api/#comment-check
     
    357357     * Check if the activity item is spam or ham.
    358358     *
    359      * @since BuddyPress (1.6)
     359     * @since BuddyPress (1.6.0)
    360360     *
    361361     * @see http://akismet.com/development/api/
     
    408408     * Update activity meta after a manual spam change (user-initiated).
    409409     *
    410      * @since BuddyPress (1.6)
     410     * @since BuddyPress (1.6.0)
    411411     *
    412412     * @param BP_Activity_Activity $activity The activity to check.
     
    425425     * Update activity meta after a manual ham change (user-initiated).
    426426     *
    427      * @since BuddyPress (1.6)
     427     * @since BuddyPress (1.6.0)
    428428     *
    429429     * @param BP_Activity_Activity $activity The activity to check.
     
    442442     * Update activity meta after an automatic spam check (not user-initiated).
    443443     *
    444      * @since BuddyPress (1.6)
     444     * @since BuddyPress (1.6.0)
    445445     *
    446446     * @param BP_Activity_Activity $activity The activity to check.
     
    480480     * Props to WordPress core Akismet plugin for a lot of this.
    481481     *
    482      * @since BuddyPress (1.6)
     482     * @since BuddyPress (1.6.0)
    483483     *
    484484     * @global string $akismet_api_host
     
    559559     * Filters user agent when sending to Akismet to add BuddyPress info.
    560560     *
    561      * @since BuddyPress (1.6)
     561     * @since BuddyPress (1.6.0)
    562562     *
    563563     * @param string $user_agent User agent string, as generated by Akismet.
     
    572572     * Adds a "History" meta box to the activity edit screen.
    573573     *
    574      * @since BuddyPress (1.6)
     574     * @since BuddyPress (1.6.0)
    575575     *
    576576     * @param string $screen_action The type of screen that has been requested.
     
    588588     * History meta box for the Activity admin edit screen.
    589589     *
    590      * @since BuddyPress (1.6)
     590     * @since BuddyPress (1.6.0)
    591591     *
    592592     * @see https://buddypress.trac.wordpress.org/ticket/3907
     
    609609     * Update an activity item's Akismet history.
    610610     *
    611      * @since BuddyPress (1.6)
     611     * @since BuddyPress (1.6.0)
    612612     *
    613613     * @param int $activity_id Activity item ID.
     
    630630     * Get an activity item's Akismet history.
    631631     *
    632      * @since BuddyPress (1.6)
     632     * @since BuddyPress (1.6.0)
    633633     *
    634634     * @param int $activity_id Activity item ID.
     
    653653 * grow to be quite large.
    654654 *
    655  * @since BuddyPress (1.6)
     655 * @since BuddyPress (1.6.0)
    656656 *
    657657 * @global wpdb $wpdb WordPress database object.
Note: See TracChangeset for help on using the changeset viewer.