Make WordPress Core

Opened 3 years ago

#53296 new enhancement

Do trim $hook_name within add_action() and add_filter() function

Reported by: xmic's profile xmic Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.8
Component: Security Keywords: has-patch
Focuses: Cc:


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)

53296.patch (1.2 KB) - added by xmic 3 years ago.
Add trim to add_filter() function param 1

Download all attachments as: .zip

Change History (1)

3 years ago

Add trim to add_filter() function param 1

Note: See TracTickets for help on using tickets.