[wp-trac] [WordPress Trac] #37748: Dynamic Hooks Naming Convention
WordPress Trac
noreply at wordpress.org
Mon Aug 22 18:24:50 UTC 2016
#37748: Dynamic Hooks Naming Convention
-------------------------+--------------------------------
Reporter: ramiy | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs, performance
-------------------------+--------------------------------
Comment (by DrewAPicture):
In [changeset:"38307"]:
{{{
#!CommitTicketReference repository="" revision="38307"
Hooks: Standardize naming of dynamic hooks to use interpolation vs
concatenation.
Benefits gained in discoverability and self-documentation throughout core
trump the negligible performance hit in using interpolation in hook names.
Props ramiy.
See #37748.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37748#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list