Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/29/2016 07:08:27 AM (9 years ago)
Author:
tw2113
Message:

Plenty of @since tags for the BP Forums component.

See #6399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-forums/bp-forums-bbpress-sa.php

    r10417 r10821  
    1313/**
    1414 * Bootstrap bbPress 1.x, and manipulate globals to integrate with BuddyPress.
     15 *
     16 * @since 1.1.0
    1517 *
    1618 * @return bool|null Returns false on failure.
     
    157159 * Get the current bbPress user.
    158160 *
     161 * @since 1.1.0
     162 *
    159163 * @return object $current_user Current user object from WordPress.
    160164 */
     
    163167/**
    164168 * Get userdata for a bbPress user.
     169 *
     170 * @since 1.1.0
    165171 *
    166172 * @param int $user_id User ID.
     
    174180 * Noop.
    175181 *
     182 * @since 1.1.0
     183 *
    176184 * @param array $users Array of users.
    177185 */
     
    180188/**
    181189 * The bbPress plugin needs this class for its usermeta manipulation.
     190 *
     191 * @since 1.1.0
    182192 */
    183193class BP_Forums_BB_Auth {
     194
     195    /**
     196     * Update usermeta data.
     197     *
     198     * @since 1.1.0
     199     *
     200     * @param string $args Array of arguments.
     201     * @return bool
     202     */
    184203    function update_meta( $args = '' ) {
    185204        $defaults = array( 'id' => 0, 'meta_key' => null, 'meta_value' => null, 'meta_table' => 'usermeta', 'meta_field' => 'user_id', 'cache_group' => 'users' );
     
    199218 */
    200219if ( ! class_exists( 'BPDB' ) ) :
     220
     221    /**
     222     * WPDB class extension.
     223     *
     224     * @since 1.1.0
     225     */
    201226    class BPDB extends WPDB {
    202227        var $db_servers = array();
     
    204229        /**
    205230         * Constructor.
     231         *
     232         * @since 1.1.0
    206233         *
    207234         * @see WPDB::__construct() for description of parameters.
     
    226253         * supported by WordPress' minimum required MySQL version, so
    227254         * this is safe.
     255         *
     256         * @since 1.1.0
    228257         *
    229258         * @see WPDB::has_cap() for a description of parameters and
     
    280309         * Stub for escape_deep() compatibility.
    281310         *
     311         * @since 1.1.0
     312         *
    282313         * @see WPDB::escape_deep() for description of parameters and
    283314         *      return values.
     
    296327 *
    297328 * The bbPress plugin needs this to convert vars.
     329 *
     330 * @since 1.1.0
    298331 *
    299332 * @param object $object Object to convert.
     
    318351 * Copied from wp-admin/includes/upgrade.php, this will take care of creating
    319352 * the bbPress stand-alone tables without loading a conflicting WP Admin.
     353 *
     354 * @since 1.5.0
    320355 *
    321356 * @see dbDelta() for a description of parameters and return value.
Note: See TracChangeset for help on using the changeset viewer.