[theme-reviewers] Header Redirect: Any Good Reason For This?
chip at chipbennett.net
Mon Sep 27 17:16:18 UTC 2010
So should I request a more WordPress-standard implementation there?
On Mon, Sep 27, 2010 at 12:11 PM, Austin Matzko <austin at pressedcode.com>wrote:
> On Mon, Sep 27, 2010 at 11:55 AM, Chip Bennett <chip at chipbennett.net>
> > Checking the diff for an update to a Theme that I had previously
> approved, I
> > found this:
> > <?php ( header('Location: http://allfreecms.com') );?>
> They've set up the theme so that if someone requests the URL of the
> functions sub-directory, it re-directs that request to the theme
> developer's site.
> It's an unusual alternative to WP's core alternate approach in, for
> example, the wp-content/index.php file, which just has the following:
> // Silence is golden.
> I don't think it's a sin. If you're trying to get the web server to
> list directory contents you're probably up to no good anyways.
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers