[theme-reviewers] Guidance on theme security

Simon Prosser pross at pross.org.uk
Tue Oct 19 19:50:16 UTC 2010


On 10/19/10 20:18, Edward Caissie wrote:
> So you are suggesting more an "either / or" approach for those items?
get_option('home') and get_option('siteurl') + all the others have been
added to theme-check v2 for further testing :)

get_option\((\s|)("|\')home("|\')(\s|)\) should catch em ;)
-- 
My Blog : http://www.pross.org.uk/
Plugins : http://www.pross.org.uk/plugins/
Themes  : http://wordpress.org/extend/themes/profile/pross


More information about the theme-reviewers mailing list