[theme-reviewers] Functions.php Worm

Andrew Nacin wp at andrewnacin.com
Wed Oct 13 15:23:19 UTC 2010


On Wed, Oct 13, 2010 at 11:11 AM, Otto <otto at ottodestruct.com> wrote:

> Tangentially related: Can anybody think of a legitimate reason for a
> theme to ever use file_get_contents() in any way that makes sense or
> has no better way to do things?


No, for the simple reason that they should instead be using wp_remote_get.

A decent number do though, with okay intentions (but they should still be
using wp_remote_get).
http://www.google.com/search?q=site:themes.svn.wordpress.org+file_get_contents

Of course, at one point does someone begin to simply use core functions
maliciously?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20101013/98f99cff/attachment.htm>


More information about the theme-reviewers mailing list