Skip to:
Content

BuddyPress.org

Changeset 7289


Ignore:
Timestamp:
07/22/2013 07:00:29 PM (11 years ago)
Author:
boonebgorges
Message:

Improve syntax of class method definitions, to avoid E_STRICT warnings

Continues the work started in r7277

See #5108

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-classes.php

    r7275 r7289  
    993993     * @return array
    994994     */
    995     public function get_include_ids( $include ) {
     995    public function get_include_ids( $include = array() ) {
    996996        // The following args are specific to group member queries, and
    997997        // are not present in the query_vars of a normal BP_User_Query.
  • trunk/bp-settings/bp-settings-loader.php

    r6861 r7289  
    3131     * @global BuddyPress $bp The one true BuddyPress instance
    3232     */
    33     public function includes() {
     33    public function includes( $includes = array() ) {
    3434        parent::includes( array(
    3535            'actions',
     
    4848     * @since BuddyPress (1.5)
    4949     */
    50     public function setup_globals() {
     50    public function setup_globals( $args = array() ) {
    5151
    5252        // Define a slug, if necessary
     
    6464     * Setup BuddyBar navigation
    6565     */
    66     public function setup_nav() {
     66    public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
    6767
    6868        // Define local variable
     
    144144     * Set up the Toolbar
    145145     */
    146     public function setup_admin_bar() {
     146    public function setup_admin_bar( $wp_admin_nav = array() ) {
    147147
    148148        // The instance
Note: See TracChangeset for help on using the changeset viewer.