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-groups/bp-groups-loader.php

    r7062 r7277  
    8989         * Include files
    9090         */
    91         function includes() {
     91        public function includes( $includes = array() ) {
    9292                $includes = array(
    9393                        'cache',
     
    121121         * @global BuddyPress $bp The one true BuddyPress instance
    122122         */
    123         function setup_globals() {
     123        public function setup_globals( $args = array() ) {
    124124                global $bp;
    125125
     
    337337         * @global BuddyPress $bp The one true BuddyPress instance
    338338         */
    339         function setup_nav() {
     339        public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    340340
    341341                // Define local variables
     
    500500         * @global BuddyPress $bp The one true BuddyPress instance
    501501         */
    502         function setup_admin_bar() {
     502        public function setup_admin_bar( $wp_admin_nav = array() ) {
    503503                global $bp;
    504504
Note: See TracChangeset for help on using the changeset viewer.