Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/15/2016 02:36:39 AM (10 years ago)
Author:
boonebgorges
Message:

Declare the $types property on BP_Groups_Component.

This helps to avoid PHP notices when there are no group types registered.

See #6784.

File:
1 edited

Legend:

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

    r10766 r10768  
    7474         */
    7575        public $valid_status;
     76
     77        /**
     78         * Group types.
     79         *
     80         * @see bp_groups_register_group_type()
     81         *
     82         * @since 2.6.0
     83         * @var array
     84         */
     85        public $types = array();
    7686
    7787        /**
Note: See TracChangeset for help on using the changeset viewer.