0
Validation results

Dark N Gritty Evolved

Dark N Gritty Evolved

WordPress 4.8.1 theme
0
  • THEME TYPEWordPress theme 4.8.1
  • FILE NAMEdark-gritty-evolved.zip
  • FILE SIZE3648976 bytes
  • MD57d846a68d62b63d0b7769da678265714
  • SHA10999fca07d2bcf86391bdd8b9394039dbea61d65
  • LICENSEGNU GPL 2
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION5.1.1
  • TAGSgray, black, dark
  • CREATION DATE2017-04-19
  • LAST FILE UPDATE2017-04-19
  • LAST VALIDATION2017-04-19 17:35
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file options-customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.
  3. Security breaches : Use of base64_decode() Found base64_decode in file OAuth.php.
    Line 202: $decoded_sig = base64_decode($signature);
  4. Security breaches : Use of base64_encode() Found base64_encode in file OAuth.php.
     return base64_encode(hash_hmac('sha1', $base_string, $key, true));
     return base64_encode($signature);
  5. Unwanted files : hidden file(s) or folder(s) .tweetcache .ds_store was found.
  6. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="%s" height="%s" scrolling="no" frameborder="no" src="%s"> in file plugin.soundcloud.shortcode.php.
    Line 180: return sprintf('<iframe width='%s' height='%s' scrolling='no' frameborder='no' src='%s'></i
  7. Malware : Operations on file system file_get_contents was found in the file StormTwitter.class.php
    Line 95: $cache = file_get_contents($file);
    Line 152: $cache = json_decode(file_get_contents($this->getCacheLocation()),true);
    file_put_contents was found in the file StormTwitter.class.php
    Line 116: file_put_contents($file,json_encode($cache));
    Line 159: file_put_contents($file,json_encode($cache));
    file_get_contents was found in the file StormTwitter.class.php
    Line 95: $cache = file_get_contents($file);
    Line 152: $cache = json_decode(file_get_contents($this->getCacheLocation()),true);
    file_put_contents was found in the file StormTwitter.class.php
    Line 116: file_put_contents($file,json_encode($cache));
    Line 159: file_put_contents($file,json_encode($cache));
    file_get_contents was found in the file OAuth.php
    Line 272: file_get_contents(self::$POST_INPUT)
  8. Malware : Network operations curl_init was found in the file twitteroauth.php
    Line 200: $ci = curl_init();
    curl_exec was found in the file twitteroauth.php
    Line 232: $response = curl_exec($ci);
  9. Admin menu : Themes should use add_theme_page() for adding admin pages. File settings-page.php :
    Line 20: add_menu_page(
  10. Inapropriate constants : Use of HEADER_IMAGE_WIDTH Constant HEADER_IMAGE_WIDTH; was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 151: width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
  11. Inapropriate constants : Use of HEADER_IMAGE_HEIGHT Constant HEADER_IMAGE_HEIGHT; was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Line 152: height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    Line 161: line-height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
  12. Registration of theme features : Implementation of add_theme_support() add_theme_support() was found in the file wordpress-hooks.php. However get_post_format and/or has_post_format were not found, and no use of formats in the CSS was detected.
Warning
  1. theme tags : Presence of bad theme tagsThe tag gray has been deprecated, it must be removed from style.css header.The tag black has been deprecated, it must be removed from style.css header.The tag dark has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is dark-n-gritty-evolved.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Your comment is awaiting moderation.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<cite class="fn">%s</cite>' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s at %2$s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(Edit)' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Your comment is awaiting moderation.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<cite class="fn">%s</cite>' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s at %2$s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '(Edit)' in file functions.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Front Page Sliders', foxhound_, 'foxhound_' in file cpt-slider.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Featured Image' in file cpt-slider.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%s Front Page Slider', '%s Front Page Sliders' in file cpt-slider.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%s Gig', '%s Gigs' in file cpt-event.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%s Album', '%s Albums' in file cpt-album.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are foxhound_, foxxhound, night, b2b, darkgrittyevolved.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Fundamental theme elements : Presence of language_attributes()Could not find .
  6. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  7. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  8. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  3. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  9. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  13. Use of includes : Use of include or requireThe theme appears to use include or require : front-page.php
    Line 8: include( get_home_template() );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : StormTwitter.class.php
    Line 9: require_once('oauth/twitteroauth.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : twitteroauth.php
    Line 11: if (!class_exists('OAuthRequest')) require_once('OAuth.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : twitter-feed-for-developers.php
    Line 54: require( FOXHOUND_PATH . 'library/oauth/StormTwitter.class.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : admin.php
    Line 22: require_once( FOXHOUND_PATH . '/functions/options.php' );
    Line 27: require_once( FOXHOUND_PATH . '/functions/options-register.php' );
    Line 32: require_once( FOXHOUND_PATH . '/functions/settings-page.php' );
    Line 37: require_once( FOXHOUND_PATH . '/functions/options-customizer.php' );
    Line 42: require_once( FOXHOUND_PATH . '/functions/wordpress-hooks.php' );
    Line 47: require_once( FOXHOUND_PATH . '/functions/localization.php' );
    Line 52: require_once( FOXHOUND_PATH . '/functions/widgets.php' );
    Line 57: require_once( FOXHOUND_PATH . '/functions/post-custom-meta.php' );
    Line 63: require_once( FOXHOUND_PATH . '/functions/cpt-slider.php' );
    Line 70: require_once( FOXHOUND_PATH . '/functions/cpt-album.php' );
    Line 78: require_once( FOXHOUND_PATH . '/functions/cpt-event.php' );
    Line 84: require_once( FOXHOUND_PATH . '/library/twp/twp.php' );
    Line 89: require_once( FOXHOUND_PATH . '/functions/custom-functions.php' );
    Line 94: require_once( FOXHOUND_PATH . '/functions/plugin-compat.php' );
    Line 99: require_once( FOXHOUND_PATH . '/library/oauth/twitter-feed-for-developers.p
    Line 105: require_once( FOXHOUND_PATH . '/library/plugin.soundcloud.shortcode.php' );
    Line 111: require_once( FOXHOUND_PATH . '/functions/deprecated.php' );
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : settings-page.php
    Line 192: require( apply_filters( 'foxhound_theme_documentation', FOXHOUND_PATH . 'do
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes