Skip to:
Content

BuddyPress.org


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

    r6622 r7277  
    3939     * Include files
    4040     */
    41     function includes() {
     41    public function includes( $includes = array() ) {
    4242        // Files to include
    4343        $includes = array(
     
    6565     * @global BuddyPress $bp The one true BuddyPress instance
    6666     */
    67     function setup_globals() {
     67    public function setup_globals( $args = array() ) {
    6868        global $bp;
    6969
     
    9999     * @global BuddyPress $bp The one true BuddyPress instance
    100100     */
    101     function setup_nav() {
     101    public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    102102
    103103        $sub_nav = array();
     
    178178     * @global BuddyPress $bp The one true BuddyPress instance
    179179     */
    180     function setup_admin_bar() {
     180    public function setup_admin_bar( $wp_admin_nav = array() ) {
    181181        global $bp;
    182182
Note: See TracChangeset for help on using the changeset viewer.