Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/17/2013 08:19:25 AM (11 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-core/bp-core-loader.php

    r6911 r7277  
    111111    }
    112112
    113     function includes() {
     113    public function includes( $includes = array() ) {
    114114
    115115        if ( !is_admin() )
     
    131131     * @global BuddyPress $bp
    132132     */
    133     function setup_globals() {
     133    public function setup_globals( $args = array() ) {
    134134        global $bp;
    135135
     
    195195     * @global BuddyPress $bp
    196196     */
    197     function setup_nav() {
     197    public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    198198        global $bp;
    199199
Note: See TracChangeset for help on using the changeset viewer.