[theme-reviewers] Header Redirect: Any Good Reason For This?

Chip Bennett 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>
> wrote:
> > 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:
>
> <?php
> // 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
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100927/124771d1/attachment-0001.htm>


More information about the theme-reviewers mailing list