Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7240 closed enhancement (maybelater)

BP Core Component File Unused

Reported by: espellcaste Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc:

Description

Studying BuddyPress code I noticed this file, https://github.com/renatonascalves/BuddyPress/blob/master/src/bp-core/bp-core-component.php

I wasn't able to find a place that call this file. And the class-bp-component is already being loaded by the bp-core-loader.php

So, as it is apparently not being used. I'm suggesting a patch that removes it.

Change History (2)

#1 @r-a-y
3 years ago

  • Keywords 2nd-opinion removed
  • Milestone 2.7 deleted
  • Resolution set to maybelater
  • Status changed from new to closed

This file needs to stay for those that are manually including the /bp-core/bp-core-component.php file in their (older) BuddyPress plugin.

We can think about removing this file a few major versions down the line.

#2 @espellcaste
3 years ago

@r-a-y I wasn't aware of that. At first glance, it seemed unused.

Note: See TracTickets for help on using tickets.