Skip to:
Content

BuddyPress.org

Changeset 4912


Ignore:
Timestamp:
07/30/2011 10:14:36 PM (14 years ago)
Author:
djpaul
Message:

Correct name of certain actions in BP_Component. Fixes #3418, props sbrajesh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-component.php

    r4907 r4912  
    137137
    138138        // Call action
    139         do_action( 'bp_' . $this->id . 'setup_globals' );
     139        do_action( 'bp_' . $this->id . '_setup_globals' );
    140140    }
    141141
     
    170170
    171171        // Call action
    172         do_action( 'bp_' . $this->id . 'includes' );
     172        do_action( 'bp_' . $this->id . '_includes' );
    173173    }
    174174
     
    214214
    215215        // Additional actions can be attached here
    216         do_action( 'bp_' . $this->id . 'setup_actions' );
     216        do_action( 'bp_' . $this->id . '_setup_actions' );
    217217    }
    218218
     
    238238
    239239        // Call action
    240         do_action( 'bp_' . $this->id . 'setup_nav' );
     240        do_action( 'bp_' . $this->id . '_setup_nav' );
    241241    }
    242242
     
    272272
    273273        // Call action
    274         do_action( 'bp_' . $this->id . 'setup_admin_bar' );
     274        do_action( 'bp_' . $this->id . '_setup_admin_bar' );
    275275    }
    276276
     
    283283     */
    284284    function setup_title( ) {
    285         do_action(  'bp_' . $this->id . 'setup_title' );
     285        do_action(  'bp_' . $this->id . '_setup_title' );
    286286    }
    287287
Note: See TracChangeset for help on using the changeset viewer.