Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/09/2023 12:52:29 AM (18 months 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-members-admin.php

    r13433 r13499  
    723723     *
    724724     * @since 2.1.0
     725     *
     726     * @global string $submenu_file The name of the submenu file.
     727     * @global string $parent_file  The name of the parent file.
    725728     */
    726729    public function profile_admin_head() {
     
    16841687     * @since 2.0.0
    16851688     *
     1689     * @global wpdb $wpdb The WordPress database object.
     1690     *
    16861691     * @param WP_User_Query|null $query The users query.
    16871692     * @return WP_User_Query|null The users query without the signups.
     
    17251730     *
    17261731     * @since 2.0.0
     1732     *
     1733     * @global string $role The name of the WP Role.
    17271734     *
    17281735     * @param array $views WP List Table views.
     
    27632770     * Filter WP Admin users list table to include users of the specified type.
    27642771     *
    2765      * @param WP_Query $query
    2766      *
    27672772     * @since 2.7.0
     2773     *
     2774     * @global string $pagenow The filename of the current screen.
     2775     *
     2776     * @param WP_Query $query The WordPress Query object.
    27682777     */
    27692778    public function users_table_filter_by_type( $query ) {
Note: See TracChangeset for help on using the changeset viewer.