1 | <?php |
||
15 | class WordPoints_BP_Entity_Activity_Update extends WordPoints_BP_Entity_Activity { |
||
|
|||
16 | |||
17 | /** |
||
18 | * @since 1.2.1 |
||
19 | */ |
||
20 | protected $bp_activity_type = 'activity_update'; |
||
21 | |||
22 | /** |
||
23 | * @since 1.2.1 |
||
24 | */ |
||
25 | protected $bp_activity_component = 'activity'; |
||
26 | |||
27 | /** |
||
28 | * @since 1.2.1 |
||
29 | */ |
||
30 | public function __construct( $slug ) { |
||
38 | |||
39 | /** |
||
40 | * @since 1.0.0 |
||
41 | */ |
||
42 | public function get_title() { |
||
45 | } |
||
46 | |||
48 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.