Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/09/2023 12:52:29 AM (3 years ago)
Author:
imath
Message:

Improve inline doc, informing about global variable usage in functions

These improvements are about various BP Members, BP Messages & BP Notifications files.

Props viralsampat

Fixes #8890

File:
1 edited

Legend:

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

    r13469 r13499  
    173173     *
    174174     * @since 2.0.0
     175     *
     176     * @global wpdb $wpdb The WordPress database object.
    175177     */
    176178    public function populate() {
     
    258260     * @since 2.0.0
    259261     * @since 6.0.0 Added a list of allowed orderby parameters.
     262     *
     263     * @global wpdb $wpdb The WordPress database object.
    260264     *
    261265     * @param array $args {
     
    443447     * @since 2.0.0
    444448     *
     449     * @global wpdb $wpdb The WordPress database object.
     450     *
    445451     * @param array $args {
    446452     *     Array of arguments for signup addition.
     
    528534     *
    529535     * @since 2.0.0
     536     *
     537     * @global wpdb $wpdb The WordPress database object.
    530538     *
    531539     * @param string $user_login    User login string.
     
    642650     * @since 2.0.0
    643651     *
     652     * @global wpdb $wpdb The WordPress database object.
     653     *
    644654     * @param string $key Activation key.
    645655     * @return bool True on success, false on failure.
     
    715725     *
    716726     * @since 2.0.0
     727     *
     728     * @global wpdb $wpdb The WordPress database object.
    717729     *
    718730     * @param array $args {
     
    983995     * @since 2.0.0
    984996     *
     997     * @global wpdb $wpdb The WordPress database object.
     998     *
    985999     * @param array $signup_ids Single ID or list of IDs to delete.
    9861000     * @return array
Note: See TracChangeset for help on using the changeset viewer.