Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/12/2015 06:03:18 AM (9 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the Blogs component.

See #6576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-functions.php

    r10034 r10100  
    1313 * Check whether the $bp global lists an activity directory page.
    1414 *
    15  * @since BuddyPress (1.5.0)
     15 * @since 1.5.0
    1616 *
    1717 * @return bool True if set, false if empty.
     
    7272 * Populate the BP blogs table with existing blogs.
    7373 *
    74  * @since BuddyPress (1.0.0)
     74 * @since 1.0.0
    7575 *
    7676 * @global object $wpdb WordPress database object.
     
    150150     * Fires after the BP blogs tables have been populated with existing blogs.
    151151     *
    152      * @since BuddyPress (2.4.0)
     152     * @since 2.4.0
    153153     */
    154154    do_action( 'bp_blogs_recorded_existing_blogs' );
     
    164164 * only to particular users.
    165165 *
    166  * @since BuddyPress (1.7.0)
     166 * @since 1.7.0
    167167 *
    168168 * @uses apply_filters()
     
    196196 * being trackable only to particular users.
    197197 *
    198  * @since BuddyPress (1.7.0)
     198 * @since 1.7.0
    199199 *
    200200 * @uses bp_blogs_is_blog_recordable
     
    226226 * Make BuddyPress aware of a new site so that it can track its activity.
    227227 *
    228  * @since BuddyPress (1.0.0)
     228 * @since 1.0.0
    229229 *
    230230 * @uses BP_Blogs_Blog
     
    297297     * Fires after BuddyPress has been made aware of a new site for activity tracking.
    298298     *
    299      * @since BuddyPress (1.0.0)
     299     * @since 1.0.0
    300300     *
    301301     * @param BP_Blogs_Blog $recorded_blog Current blog being recorded. Passed by reference.
     
    342342 * Update "Close comments for old posts" option in BuddyPress blogmeta table.
    343343 *
    344  * @since BuddyPress (2.0.0)
     344 * @since 2.0.0
    345345 *
    346346 * @global object $wpdb DB Layer.
     
    360360 * Update "Close comments after days old" option in BuddyPress blogmeta table.
    361361 *
    362  * @since BuddyPress (2.0.0)
     362 * @since 2.0.0
    363363 *
    364364 * @global object $wpdb DB Layer.
     
    378378 * When toggling threaded comments, update thread depth in blogmeta table.
    379379 *
    380  * @since BuddyPress (2.0.0)
     380 * @since 2.0.0
    381381 *
    382382 * @global object $wpdb DB Layer.
     
    402402 * When updating comment depth, update thread depth in blogmeta table.
    403403 *
    404  * @since BuddyPress (2.0.0)
     404 * @since 2.0.0
    405405 *
    406406 * @global object $wpdb DB Layer.
     
    427427 * under "Network Admin > Sites".
    428428 *
    429  * @since BuddyPress (2.3.0)
     429 * @since 2.3.0
    430430 *
    431431 * @param int $site_id The site ID.
     
    439439 * Record activity metadata about a published blog post.
    440440 *
    441  * @since BuddyPress (2.2.0)
     441 * @since 2.2.0
    442442 *
    443443 * @param int     $activity_id ID of the activity item.
     
    466466     * Fires after BuddyPress has recorded metadata about a published blog post.
    467467     *
    468      * @since BuddyPress (1.0.0)
     468     * @since 1.0.0
    469469     *
    470470     * @param int     $ID    ID of the blog post being recorded.
     
    479479 * Updates a blog post's activity meta entry during a post edit.
    480480 *
    481  * @since BuddyPress (2.2.0)
     481 * @since 2.2.0
    482482 *
    483483 * @param WP_Post              $post     Post object.
     
    803803 * to extend the functionality of the Blogs component.
    804804 *
    805  * @since BuddyPress (2.1.0)
     805 * @since 2.1.0
    806806 *
    807807 * @return string
     
    836836 * first. See https://buddypress.trac.wordpress.org/ticket/3916.
    837837 *
    838  * @since BuddyPress (1.6.0)
     838 * @since 1.6.0
    839839 * @access private
    840840 */
     
    861861     * tracker and activity stream.
    862862     *
    863      * @since BuddyPress (1.5.0)
     863     * @since 1.5.0
    864864     *
    865865     * @param int $blog_id ID of the blog having its item removed.
     
    880880     * tracker and activity stream.
    881881     *
    882      * @since BuddyPress (1.0.0)
     882     * @since 1.0.0
    883883     *
    884884     * @param int $blog_id ID of the blog who had its item removed.
     
    902902     * Fires before a blog is removed from the tracker for a specific user.
    903903     *
    904      * @since BuddyPress (1.5.0)
     904     * @since 1.5.0
    905905     *
    906906     * @param int $blog_id ID of the blog being removed.
     
    921921     * Fires after a blog has been removed from the tracker for a specific user.
    922922     *
    923      * @since BuddyPress (1.0.0)
     923     * @since 1.0.0
    924924     *
    925925     * @param int $blog_id ID of the blog that was removed.
     
    957957     * Fires before removal of a blog post activity item from the activity stream.
    958958     *
    959      * @since BuddyPress (1.5.0)
     959     * @since 1.5.0
    960960     *
    961961     * @param int $blog_id ID of the blog associated with the post that was removed.
     
    976976     * Fires after removal of a blog post activity item from the activity stream.
    977977     *
    978      * @since BuddyPress (1.0.0)
     978     * @since 1.0.0
    979979     *
    980980     * @param int $blog_id ID of the blog associated with the post that was removed.
     
    10451045     * Fires after a blog comment activity item was removed from activity stream.
    10461046     *
    1047      * @since BuddyPress (1.0.0)
     1047     * @since 1.0.0
    10481048     *
    10491049     * @param int $blogid     Item ID for the blog associated with the removed comment.
     
    10581058 * Removes blog comments that are associated with activity comments.
    10591059 *
    1060  * @since BuddyPress (2.0.0)
     1060 * @since 2.0.0
    10611061 *
    10621062 * @see bp_blogs_remove_comment()
     
    10991099 * When a blog comment status transition occurs, update the relevant activity's status.
    11001100 *
    1101  * @since BuddyPress (1.6.0)
     1101 * @since 1.6.0
    11021102 *
    11031103 * @param string $new_status New comment status.
     
    11971197 * Get the total number of blogs being tracked by BP for a specific user.
    11981198 *
    1199  * @since BuddyPress (1.2.0)
     1199 * @since 1.2.0
    12001200 *
    12011201 * @param int $user_id ID of the user being queried. Default: on a user page,
     
    12341234     * and activity stream.
    12351235     *
    1236      * @since BuddyPress (1.5.0)
     1236     * @since 1.5.0
    12371237     *
    12381238     * @param int $blog_id ID of the blog whose data is being removed.
     
    12541254     * and activity stream.
    12551255     *
    1256      * @since BuddyPress (1.0.0)
     1256     * @since 1.0.0
    12571257     *
    12581258     * @param int $blog_id ID of the blog whose data is being removed.
     
    13711371 * Get metadata for a given blog.
    13721372 *
    1373  * @since BuddyPress (1.2.0)
     1373 * @since 1.2.0
    13741374 *
    13751375 * @global object $wpdb WordPress database access object.
     
    14201420 * Add a piece of blog metadata.
    14211421 *
    1422  * @since BuddyPress (2.0.0)
     1422 * @since 2.0.0
    14231423 *
    14241424 * @param int    $blog_id    ID of the blog.
     
    14521452     * Fires before all blog associations are removed for a given user.
    14531453     *
    1454      * @since BuddyPress (1.5.0)
     1454     * @since 1.5.0
    14551455     *
    14561456     * @param int $user_id ID of the user whose blog associations are being removed.
     
    14641464     * Fires after all blog associations are removed for a given user.
    14651465     *
    1466      * @since BuddyPress (1.0.0)
     1466     * @since 1.0.0
    14671467     *
    14681468     * @param int $user_id ID of the user whose blog associations were removed.
     
    14771477 * Restore all blog associations for a given user.
    14781478 *
    1479  * @since BuddyPress (2.2.0)
     1479 * @since 2.2.0
    14801480 *
    14811481 * @param int $user_id ID whose blog data should be restored.
Note: See TracChangeset for help on using the changeset viewer.