Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/17/2013 08:19:25 AM (13 years ago)
Author:
djpaul
Message:

Make declarations of each components' methods compatible with those in the BP_Component class.

Fixes standards warnings on PHP 5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-loader.php

    r6585 r7277  
    3232         * @global BuddyPress $bp The one true BuddyPress instance
    3333         */
    34         function includes() {
     34        public function includes( $includes = array() ) {
    3535                $includes = array(
    3636                        'actions',
     
    5555         * @global BuddyPress $bp The one true BuddyPress instance
    5656         */
    57         function setup_globals() {
     57        public function setup_globals( $args = array() ) {
    5858                global $bp;
    5959
     
    144144         * @global BuddyPress $bp The one true BuddyPress instance
    145145         */
    146         function setup_nav() {
     146        public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    147147                global $bp;
    148148
Note: See TracChangeset for help on using the changeset viewer.