Opened 3 years ago
Closed 2 years ago
#8635 closed defect (bug) (fixed)
Remove unnecessary arguments in various function calls
Reported by: | oztaser | Owned by: | imath |
---|---|---|---|
Milestone: | 11.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch commit |
Cc: |
Description
I've found a few function call with more arguments than expected. It would be good if we remove them.
Attachments (4)
Change History (11)
#1
@
3 years ago
- Keywords has-patch commit added
- Milestone changed from Awaiting Review to 11.0.0
Good catches! Thanks a lot for these improvements.
#2
@
3 years ago
All patches are good except for 8635.4.diff It is my understanding those priorities were decreased for a reason.
#3
@
2 years ago
@oztaser is right about removing priorities as WordPress do not use it for has_action()
. See https://developer.wordpress.org/reference/functions/has_action/
I’ll commit the patches shortly.
Note: See
TracTickets for help on using
tickets.
bp_core_get_userlink
expecting 3 arguments, not 4.