Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/16/2012 12:52:24 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Replace ambiguous 'object' phpdoc references with more accurate descriptions for the $bp global

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-template.php

    r5822 r5926  
    1515 *
    1616 * @package BuddyPress Core
    17  * @global object $bp Global BuddyPress settings object
     17 * @global BuddyPress $bp The one true BuddyPress instance
    1818 * @uses bp_get_user_nav() Renders the navigation for a profile of a currently viewed user.
    1919 */
     
    7575 *
    7676 * @package BuddyPress Core
    77  * @global object $bp Global BuddyPress settings object
     77 * @global BuddyPress $bp The one true BuddyPress instance
    7878 */
    7979function bp_has_options_avatar() {
     
    650650     * @since 1.5
    651651     *
    652      * @global object $bp Global BuddyPress settings object
     652     * @global BuddyPress $bp The one true BuddyPress instance
    653653     * @param string $component Optional. Defaults to the current component
    654654     * @return string $root_slug The root slug
     
    686686 *
    687687 * @since BuddyPress {r3923}
    688  * @global object $bp Global BuddyPress settings object
     688 * @global BuddyPress $bp The one true BuddyPress instance
    689689 * @param str $root_slug Needle to our active component haystack
    690690 * @return mixed False if none found, component name if found
     
    954954 * page in wp-admin's Settings > Reading screen.
    955955 *
    956  * @global object $bp Global BuddyPress settings object
     956 * @global BuddyPress $bp The one true BuddyPress instance
    957957 * @global $current_blog WordPress global for the current blog
    958958 * @param string $component Optional; Name of the component to check for.
Note: See TracChangeset for help on using the changeset viewer.