#47052 closed enhancement (fixed)
code consistency on hooks using string + variable
Reported by: | arena | Owned by: | desrosj |
---|---|---|---|
Milestone: | 5.3 | Priority: | normal |
Severity: | normal | Version: | 5.2 |
Component: | General | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
most of hooks using a string and one or more variables are coded like this
"hook_string-{$variable}"
except some of them ...
the purpose of this ticket is
- to adress the issue
- to include this rule as a wordpress coding standard
- to propose a patch for hooks not applying this rule
regards
ps :
and i need it to make a cross reference tool,
see first prototype here : https://blog.mailpress.org/hooks/wordpress-5-1/
Attachments (3)
Change History (8)
#1
@
12 months ago
- Focuses coding-standards added
- Milestone changed from Awaiting Review to 5.3
- Owner set to desrosj
- Status changed from new to reviewing
Thanks for this, @arena.
For reference, here is the relevant part of the WordPress Core PHP coding standards.
Note: See
TracTickets for help on using
tickets.
patch