[theme-reviewers] Cirumventing Theme Directory Preview in Ticket #3787
Otto
otto at ottodestruct.com
Thu May 12 05:45:50 UTC 2011
On Wed, May 11, 2011 at 4:40 PM, Tony Jansen <info at tonyjansen.nl> wrote:
> Earlier today during a review I encountered the following code in
> functions.php:
>
> /**
>
> * The WordPress Theme Directory Preview may not be appropriate for this
> theme, so redirecting to custom preview
>
> */
>
> if( false !== strpos( site_url(), 'http://wp-themes.com' )) {
> wp_redirect( 'http://demo.onedesigns.com/minimatica/' );
> exit();
> }
This is absolutely not acceptable, period. Point me to a theme that
has it and I will personally kill that theme in the directory.
Bypassing the wp.org systems with hacks like this, in any way, is
grounds for immediate banishment and flogging. We wouldn't allow
plugins to do it, and we're not going to allow themes to do it either.
-Otto
More information about the theme-reviewers
mailing list