Opened 4 years ago
Closed 3 months ago
#53296 closed enhancement (wontfix)
Do trim $hook_name within add_action() and add_filter() function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.8 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | Cc: |
Description
To reduce human error within inputting strings in add_action()
thus add_filter()
hook, a trim must be introduced.
Patch is available, please see attached file.
Attachments (1)
Change History (2)
#1
@
3 months ago
- Component changed from Security to Plugins
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Sorry that this got missed @xmic. I think this has minimal benefit and introduces extra cost, albeit a small one, so I will close this off as something that is not planned. Cheers!
Note: See
TracTickets for help on using
tickets.
Add trim to add_filter() function param 1