Opened 5 years ago
Closed 4 years ago
#8635 closed defect (bug) (fixed)
Remove unnecessary arguments in various function calls
| Reported by: | oztaser | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 11.0.0 |
| Component: | Core | Version: | |
| Severity: | normal | 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
@
5 years ago
- Keywords has-patch commit added
- Milestone Awaiting Review → 11.0.0
Good catches! Thanks a lot for these improvements.
#2
@
4 years ago
All patches are good except for 8635.4.diff It is my understanding those priorities were decreased for a reason.
#3
@
4 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
bp_core_get_userlinkexpecting 3 arguments, not 4.