[theme-reviewers] Prefixing Functions (for libraries)
chip at chipbennett.net
Mon Jul 25 11:41:28 UTC 2011
Why would a library be exempted? Its functions wind up in the run-time just
the same as any other function, and thus would have the same opportunity for
(And in this case in particular, the non-prefixed function names are
sufficiently generic as to have a high chance of such conflicts:
remove_generator_link(), include_all(), get_profile_uri(),
On Mon, Jul 25, 2011 at 4:31 AM, Vicky Arulsingam <
vicky.arulsingam at gmail.com> wrote:
> If a theme is using a library of functions, are those functions exempt from
> the "functions must be prefixed with the theme slug or an appropriate
> variant" rule?
> The theme I'm reviewing (
> http://themes.svn.wordpress.org/evolve/1.2.6/library/) has a library
> section that contains some prefixed functions while others aren't.
> Vicky Arulsingam
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers