Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (2 years ago)
Author:
espellcaste
Message:

PHPDoc: adding improvements to the @global tag definition.

The @global tag is used to inform PHPDoc of a global variable or its usage. The tag was updated where necessary and invalid examples were removed.

Closes https://github.com/buddypress/buddypress/pull/53
Fixes #8786

File:
1 edited

Legend:

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

    r13388 r13395  
    561561     * @since 3.0.0 Hooked at priority 100 (was 15).
    562562     *
    563      * @param WP_Admin_Bar $wp_admin_bar
     563     * @param WP_Admin_Bar $wp_admin_bar WordPress object implementing a Toolbar API.
    564564     */
    565565    public function admin_bar_about_link( $wp_admin_bar ) {
     
    15291529     * @since 10.0.0
    15301530     *
    1531      * @global int        $paged The current page of the Plugin results.
     1531     * @global int $paged The current page of the Plugin results.
     1532     *
    15321533     * @param false|array $args  `false` by default.
    15331534     * @return array             The "BuddyPress add-ons" args.
Note: See TracChangeset for help on using the changeset viewer.