Skip to:
Content

BuddyPress.org

Changeset 9642


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

Fixes double digit version numbers missed from hooks docs work.

See #5938.

Location:
trunk/src/bp-activity
Files:
6 edited

Legend:

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

    r9471 r9642  
    3434 * Catch and route requests for single activity item permalinks.
    3535 *
    36  * @since BuddyPress (1.2)
     36 * @since BuddyPress (1.2.0)
    3737 *
    3838 * @uses bp_is_activity_component()
     
    121121 * Delete specific activity item and redirect to previous page.
    122122 *
    123  * @since BuddyPress (1.1)
     123 * @since BuddyPress (1.1.0)
    124124 *
    125125 * @param int $activity_id Activity id to be deleted. Defaults to 0.
     
    198198 * Mark specific activity item as spam and redirect to previous page.
    199199 *
    200  * @since BuddyPress (1.6)
     200 * @since BuddyPress (1.6.0)
    201201 *
    202202 * @param int $activity_id Activity id to be deleted. Defaults to 0.
     
    267267 * Post user/group activity update.
    268268 *
    269  * @since BuddyPress (1.2)
     269 * @since BuddyPress (1.2.0)
    270270 *
    271271 * @uses is_user_logged_in()
     
    371371 * Post new activity comment.
    372372 *
    373  * @since BuddyPress (1.2)
     373 * @since BuddyPress (1.2.0)
    374374 *
    375375 * @uses is_user_logged_in()
     
    435435 * Mark activity as favorite.
    436436 *
    437  * @since BuddyPress (1.2)
     437 * @since BuddyPress (1.2.0)
    438438 *
    439439 * @uses is_user_logged_in()
     
    469469 * Remove activity from favorites.
    470470 *
    471  * @since BuddyPress (1.2)
     471 * @since BuddyPress (1.2.0)
    472472 *
    473473 * @uses is_user_logged_in()
     
    503503 * Load the sitewide activity feed.
    504504 *
    505  * @since BuddyPress (1.0)
     505 * @since BuddyPress (1.0.0)
    506506 *
    507507 * @uses bp_is_activity_component()
     
    535535 * Load a user's personal activity feed.
    536536 *
    537  * @since BuddyPress (1.0)
     537 * @since BuddyPress (1.0.0)
    538538 *
    539539 * @uses bp_is_user_activity()
     
    565565 * Load a user's friends' activity feed.
    566566 *
    567  * @since BuddyPress (1.0)
     567 * @since BuddyPress (1.0.0)
    568568 *
    569569 * @uses bp_is_active()
     
    598598 * Load the activity feed for a user's groups.
    599599 *
    600  * @since BuddyPress (1.2)
     600 * @since BuddyPress (1.2.0)
    601601 *
    602602 * @uses bp_is_active()
     
    639639 * Load a user's @mentions feed.
    640640 *
    641  * @since BuddyPress (1.2)
     641 * @since BuddyPress (1.2.0)
    642642 *
    643643 * @uses bp_is_user_activity()
     
    676676 * Load a user's favorites feed.
    677677 *
    678  * @since BuddyPress (1.2)
     678 * @since BuddyPress (1.2.0)
    679679 *
    680680 * @uses bp_is_user_activity()
     
    711711 * Loads Akismet filtering for activity.
    712712 *
    713  * @since BuddyPress (1.6)
     713 * @since BuddyPress (1.6.0)
    714714 */
    715715function bp_activity_setup_akismet() {
  • trunk/src/bp-activity/bp-activity-admin.php

    r9593 r9642  
    10221022 * List table class for the Activity component admin page.
    10231023 *
    1024  * @since BuddyPress (1.6)
     1024 * @since BuddyPress (1.6.0)
    10251025 */
    10261026class BP_Activity_List_Table extends WP_List_Table {
  • 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.
  • trunk/src/bp-activity/bp-activity-cache.php

    r9471 r9642  
    44 * Functions related to the BuddyPress Activity component and the WP Cache.
    55 *
    6  * @since BuddyPress (1.6)
     6 * @since BuddyPress (1.6.0)
    77 */
    88
     
    3838 * Clear a cached activity item when that item is updated.
    3939 *
    40  * @since 2.0
     40 * @since BuddyPress (2.0.0)
    4141 *
    4242 * @param BP_Activity_Activity $activity
     
    5151 * Clear cached data for deleted activity items.
    5252 *
    53  * @since 2.0
     53 * @since BuddyPress (2.0.0)
    5454 *
    5555 * @param array $deleted_ids IDs of deleted activity items.
  • trunk/src/bp-activity/bp-activity-cssjs.php

    r9458 r9642  
    1414 * Enqueue @mentions JS.
    1515 *
    16  * @since BuddyPress (2.1)
     16 * @since BuddyPress (2.1.0)
    1717 */
    1818function bp_activity_mentions_script() {
  • trunk/src/bp-activity/bp-activity-loader.php

    r9539 r9642  
    1616 * Main Activity Class.
    1717 *
    18  * @since BuddyPress (1.5)
     18 * @since BuddyPress (1.5.0)
    1919 */
    2020class BP_Activity_Component extends BP_Component {
     
    2323     * Start the activity component setup process.
    2424     *
    25      * @since BuddyPress (1.5)
     25     * @since BuddyPress (1.5.0)
    2626     */
    2727    public function __construct() {
     
    3939     * Include component files.
    4040     *
    41      * @since BuddyPress (1.5)
     41     * @since BuddyPress (1.5.0)
    4242     *
    4343     * @see BP_Component::includes() for a description of arguments.
     
    8080     * backwards compatibility.
    8181     *
    82      * @since BuddyPress (1.5)
     82     * @since BuddyPress (1.5.0)
    8383     *
    8484     * @see BP_Component::setup_globals() for a description of arguments.
     
    123123     * Set up component navigation.
    124124     *
    125      * @since BuddyPress (1.5)
     125     * @since BuddyPress (1.5.0)
    126126     *
    127127     * @see BP_Component::setup_nav() for a description of arguments.
     
    232232     * Set up the component entries in the WordPress Admin Bar.
    233233     *
    234      * @since BuddyPress (1.5)
     234     * @since BuddyPress (1.5.0)
    235235     *
    236236     * @see BP_Component::setup_nav() for a description of the $wp_admin_nav
     
    331331     * Set up the title for pages and <title>.
    332332     *
    333      * @since BuddyPress (1.5)
     333     * @since BuddyPress (1.5.0)
    334334     *
    335335     * @uses bp_is_activity_component()
     
    360360     * Set up actions necessary for the component.
    361361     *
    362      * @since BuddyPress (1.6)
     362     * @since BuddyPress (1.6.0)
    363363     */
    364364    public function setup_actions() {
Note: See TracChangeset for help on using the changeset viewer.