#47052 closed enhancement (fixed)
code consistency on hooks using string + variable
| Reported by: | arena | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | General | Version: | 5.2 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | coding-standards |
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
@
7 years ago
- Focuses coding-standards added
- Milestone Awaiting Review → 5.3
- Owner set to
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch