[theme-reviewers] Guidance on theme security
Andrew Nacin
wp at andrewnacin.com
Wed Oct 20 08:27:20 UTC 2010
On Tue, Oct 19, 2010 at 3:18 PM, Edward Caissie <edward.caissie at gmail.com>wrote:
> So you are suggesting more an "either / or" approach for those items?
Pretty much -- anything that is synonymous with a bloginfo() call is a
harmless alias.
Things like bloginfo('text_direction') might still be more appropriate if
they specifically wanted a result of "rtl" or "ltr". is_rtl() was added for
the simplistic yes/no call for which we were previously were doing 'rtl' ==
get_bloginfo('text_direction').
The edits to that section look good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20101020/d430f60f/attachment.htm>
More information about the theme-reviewers
mailing list