Skip to:
Content

BuddyPress.org

Opened 2 years ago

Last modified 22 months ago

#8670 new enhancement

Block or widget arguments should be filterable

Reported by: shawfactor's profile shawfactor Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc:

Description

All core block or widget arguments should be filterable

My use case is when deploying the whos online block/widget.

Ideally (for my setup) the block/widget should not show the current user (the current user already knows they are online) as well as other users who have not yet agreed to the T&Cs. Atm the only way to achieve this is too override the whole block, this is complete overkill.

A better approach would be to add a filter to the args buddypress uses to generate the block/widget

I’m sure similar functionality is needed for most core buddypress blocks.

Change History (2)

#1 @imath
2 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Awaiting Contributions
  • Type changed from defect (bug) to enhancement

I'm not opposed to this. I'll be happy to review a patch about it. It's important such enhancements get new contributors to start help us with code.

#2 @josh401
22 months ago

Thanks for the quick reply.
I'm sorry, but this was my fault. I guess I learn something new every day.
I learned my team is pulling Buddypress from Github; instead of the plugin download from WordPress.
I just downloaded the plugin from WordPress; and the .min files are indeed present.

My team explained to me the reason the .min files are not included in the github repository, is because it is normal practice to minify these files during the build process.

So, it was me. And it is something we should do on our end.
I am very sorry to have wasted your time; and I hope you have a wonderful weekend!

Version 0, edited 22 months ago by josh401 (next)
Note: See TracTickets for help on using tickets.