[theme-reviewers] Child themes discussion

Chip Bennett chip at chipbennett.net
Sat Jan 22 17:44:32 UTC 2011


No, that's all good. It would be difficult for Theme Check to determine the
appropriateness of get_template_ vs get_stylesheet_ within the Theme itself,
because appropriateness will depend on context: would a Child Theme need to
access its own files, or the Parent Theme's files?

Chip

On Sat, Jan 22, 2011 at 11:29 AM, Simon Prosser <pross at pross.org.uk> wrote:

> On 01/22/11 17:20, Chip Bennett wrote:
> > I agree with appropriate use of template tags, especially get_template_
> vs
> > get_stylesheet_, but I think that's in line with our current Guidelines
> (and
> > something that's already being enforced in recent tickets).
> >
> > Perhaps that needs to be expounded/clarified in the Guidelines, though?
> currently themecheck returns get_template_directory() and
> get_template_directory_uri when it encounters
> get_bloginfo('template_directory') and
> get_bloginfo('template_url') should this be modified do you think?
>
> --
> My Blog: http://www.pross.org.uk/
> Plugins: http://www.pross.org.uk/plugins/
> Themes : http://wordpress.org/extend/themes/profile/pross
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110122/42caf495/attachment.htm>


More information about the theme-reviewers mailing list