Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/09/2024 04:40:09 AM (3 years ago)
Author:
imath
Message:

Improve some method/function inline docs adding @global docblocks

Props shailu25

Fixes #9116
Closes ​https://github.com/buddypress/buddypress/pull/252

File:
1 edited

Legend:

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

    r13724 r13757  
    174174         *
    175175         * @since 1.0.0
     176         *
     177         * @global wpdb $wpdb WordPress database object.
    176178         */
    177179        public function populate() {
    … …  
    227229         *
    228230         * @since 1.0.0
     231         *
     232         * @global wpdb $wpdb WordPress database object.
    229233         *
    230234         * @return WP_Error|bool True on success.
    … …  
    350354         * @see WP_Meta_Query::queries for a description of the 'meta_query'
    351355         *      parameter format.
     356         *
     357         * @global wpdb $wpdb WordPress database object.
    352358         *
    353359         * @param array $args {
    … …  
    882888         * @since 2.0.0
    883889         *
     890         * @global wpdb $wpdb WordPress database object.
     891         *
    884892         * @param array $activity_ids Array of activity IDs.
    885893         * @return array
    … …  
    12401248         * @since 10.0.0 Parameters were made optional.
    12411249         *
     1250         * @global wpdb $wpdb WordPress database object.
     1251         *
    12421252         * @param array $args {
    12431253         *     An array of arguments. All items are optional.
    … …  
    13511361         *
    13521362         * @since 1.2.0
     1363         *
     1364         * @global wpdb $wpdb WordPress database object.
    13531365         *
    13541366         * @param array $args {
    … …  
    15291541         * @since 1.2.0
    15301542         *
     1543         * @global wpdb $wpdb WordPress database object.
     1544         *
    15311545         * @deprecated 2.3.0
    15321546         *
    … …  
    18301844         * @since 1.2.0
    18311845         *
     1846         * @global wpdb $wpdb WordPress database object.
     1847         *
    18321848         * @param bool $skip_last_activity If true, components will not be
    18331849         *                                 included if the only activity type associated with them is
    … …  
    18801896         *
    18811897         * @see BP_Activity_Activity::get_filter_sql()
     1898         *
     1899         * @global wpdb $wpdb WordPress database object.
    18821900         *
    18831901         * @param string     $field The database field.
    … …  
    20022020         * @since 1.2.0
    20032021         *
     2022         * @global wpdb $wpdb WordPress database object.
     2023         *
    20042024         * @return string ISO timestamp.
    20052025         */
    … …  
    20372057         * @since 1.1.0
    20382058         *
     2059         * @global wpdb $wpdb WordPress database object.
     2060         *
    20392061         * @param string $content The content to filter by.
    20402062         * @return int|false The ID of the first matching item if found, otherwise false.
    … …  
    20552077         * @since 1.2.0
    20562078         *
     2079         * @global wpdb $wpdb WordPress database object.
     2080         *
    20572081         * @param int $user_id The ID of the user whose activity you want to mark hidden.
    20582082         * @return mixed
Note: See TracChangeset for help on using the changeset viewer.