Opened 5 years ago
Closed 22 months ago
#53296 closed enhancement (wontfix)
Do trim $hook_name within add_action() and add_filter() function
| Reported by: | xmic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugins | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Add trim to add_filter() function param 1