error[] = __(''.__('REQUIRED','theme-check').': '.__('Your Theme URI and Author URI should not be the same.', 'theme-check') ); $ret = false; } //We allow .org user profiles as Author URI, so only check the Theme URI. We also allow WordPress.com links. if ( stripos( $data['URI'], 'wordpress.org' ) && $data[ 'AuthorName' ] <> "the WordPress team" || stripos( $data['URI'], 'w.org' ) && $data[ 'AuthorName' ] <> "the WordPress team" ) { $this->error[] .= __(''.__('REQUIRED','theme-check').': '.__('Using a WordPress.org Theme URI is reserved for official themes.', 'theme-check') ); $ret = false; } } return $ret; } function getError() { return $this->error; } } $themechecks[] = new Check_URI;