error[] = ''.__('RECOMMENDED','theme-check').': '.__('No reference to the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails.', 'theme-check' );
}
if ( strpos( $php, 'post-thumbnails' ) === false ) {
$this->error[] = ''.__('RECOMMENDED','theme-check').': '.__('No reference to post-thumbnails was found in the theme. If the theme has a thumbnail like functionality, it should be implemented with add_theme_support( "post-thumbnails" )in the functions.php file.', 'theme-check' );
}
return $ret;
}
function getError() { return $this->error; }
}
$themechecks[] = new PostThumbnailCheck;