Opened 3 years ago
#53296 new enhancement
Do trim $hook_name within add_action() and add_filter() function
Reported by: | xmic | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Security | 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)
Note: See
TracTickets for help on using
tickets.
Add trim to add_filter() function param 1