Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/27/2023 10:43:13 AM (17 months ago)
Author:
imath
Message:

Improve inline doc, informing about global variable usage in functions

Props viralsampat

Fixes #8890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r13394 r13491  
    409409 * @since 1.0.0
    410410 *
     411 * @global string $message The feedback message to show.
     412 * @global string $type    The type of feedback message to show.
     413 *
    411414 * @param int|null $group_id Group ID to manage.
    412415 */
     
    476479 * @since 1.0.0
    477480 *
     481 * @global string $message The feedback message to show.
     482 * @global string $type    The type of feedback message to show.
     483 *
    478484 * @param int $group_id ID of the group to delete.
    479485 */
     
    554560 *
    555561 * @since 1.0.0
     562 *
     563 * @global wpdb   $wpdb    WordPress database object.
     564 * @global string $message The feedback message to show.
     565 * @global array  $groups  The list of matching xProfile field groups.
    556566 *
    557567 * @param int      $group_id ID of the group.
     
    10081018 * @since 8.0.0 Adds the `$is_signup` parameter.
    10091019 *
     1020 * @global BP_XProfile_Field $field The Admin field.
     1021 *
    10101022 * @param BP_XProfile_Field   $admin_field Admin field.
    10111023 * @param object $admin_group Admin group object.
Note: See TracChangeset for help on using the changeset viewer.