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

    r7213 r7277  
    3636     * @since BuddyPress (1.5)
    3737     */
    38     function setup_globals() {
     38    public function setup_globals( $args = array() ) {
    3939        $bp = buddypress();
    4040
     
    6767     * Include files
    6868     */
    69     function includes() {
     69    public function includes( $includes = array() ) {
    7070
    7171        // Files to include
     
    9595     * Setup BuddyBar navigation
    9696     */
    97     function setup_nav() {
     97    public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    9898
    9999        // Stop if forums haven't been set up yet
     
    155155     * Set up the Toolbar
    156156     */
    157     function setup_admin_bar() {
     157    public function setup_admin_bar( $wp_admin_nav = array() ) {
    158158
    159159        // Prevent debug notices
Note: See TracChangeset for help on using the changeset viewer.