[theme-reviewers] Prefixing theme specific actions and filters
georgemamadashvili at gmail.com
Tue Jan 10 14:28:14 UTC 2012
I was checking changes in Toolbox theme and noticed that they added two new
hooks that aren't prefix, here's diff
Maybe we should add suggestion to theme ticket for future release
On Tue, Jan 10, 2012 at 6:19 PM, Chip Bennett <chip at chipbennett.net> wrote:
> Yes. Basically, anything that is/can be in a public namespace should be
> uniquely prefixed.
> Thus, a custom action, e.g. 'post_after', should be prefixed, i.e. as
> 'theme_slug_post_after'. Likewise (and more importantly) with filters.
> On Tue, Jan 10, 2012 at 8:08 AM, George Mamadashvili <
> georgemamadashvili at gmail.com> wrote:
>> Shouldn't theme specific actions and filters be prefixed?
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers