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

    r7062 r7277  
    3737     * @global BuddyPress $bp The one true BuddyPress instance
    3838     */
    39     function setup_globals() {
     39    public function setup_globals( $args = array() ) {
    4040        global $bp;
    4141
     
    6868     * Include files
    6969     */
    70     function includes() {
     70    public function includes( $includes = array() ) {
    7171        // Files to include
    7272        $includes = array(
     
    9494     * @global BuddyPress $bp The one true BuddyPress instance
    9595     */
    96     function setup_nav() {
     96    public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    9797        global $bp;
    9898
     
    146146     * @global BuddyPress $bp The one true BuddyPress instance
    147147     */
    148     function setup_admin_bar() {
     148    public function setup_admin_bar( $wp_admin_nav = array() ) {
    149149        global $bp;
    150150
Note: See TracChangeset for help on using the changeset viewer.