0
Validation results

wp-theme-ehesp

wp-theme-ehesp

WordPress 4.8 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.8
  • FILE NAMEwp-theme-ehesp-2015.zip
  • FILE SIZE1165335 bytes
  • MD510416bd22e9edc5d2d1c0d20c753bfcd
  • SHA14f5490b4cd76d05e3651984e06b0facaad430e0e
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://www.ehesp.fr
  • VERSION2.2
  • AUTHOR URI
  • TAGSehesp
  • CREATION DATE2017-07-17
  • LAST FILE UPDATE2017-07-17
  • LAST VALIDATION2017-07-17 09:25
  • OTHER VERSIONS

    2.3.01 : 5%

Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file theme-customize.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_encode() Found base64_encode in file recaptchalib.php.
     return strtr(base64_encode ($x), '+/', '-_');
  4. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"> in file recaptchalib.php.
    Ligne125: <iframe src=''. $server . '/noscript?k=' . $pubkey . $errorpart . '' height
    Found <iframe width="' . $width . '" height="' . $height . '" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="' . $src . '"> in file shortcodes.php.
    Ligne245: $content .= '<iframe width='' . $width . '' height='' . $height . '' frameborder='0' scr
  5. Malware : Operations on file system fwrite was found in the file recaptchalib.php
    Ligne84: fwrite($fs, $http_request);
    fclose was found in the file recaptchalib.php
    Ligne88: fclose($fs);
  6. Malware : Network operations fsockopen was found in the file recaptchalib.php
    Ligne80: if( false == ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {
  7. Admin menu : Themes should use add_theme_page() for adding admin pages. File contact.php :
    Ligne46: add_management_page('Contact', 'Contact', 'edit_theme_options', $this->opti
  8. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  9. Inapropriate constants : Use of HEADER_IMAGE Constant HEADER_IMAGE' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne271: define( 'HEADER_IMAGE', '%s/dist/images/headers/header_default.jpg' );
  10. Inapropriate constants : Use of NO_HEADER_TEXT Constant NO_HEADER_TEXT' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne274: define( 'NO_HEADER_TEXT', true );
  11. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR' was found in the file functions.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne270: define( 'HEADER_TEXTCOLOR', '' );
  12. 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.
    Ligne272: define( 'HEADER_IMAGE_WIDTH', apply_filters( 'wp_bootstrap_header_image_width', 1170
    Constant HEADER_IMAGE_WIDTH was found in the file hero.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne9: $image[1] >= HEADER_IMAGE_WIDTH ) :
  13. 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.
    Ligne273: define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'wp_bootstrape_header_image_height',  
    Constant HEADER_IMAGE_HEIGHT; was found in the file hero.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne13: <img src='<?php header_image(); ?>' width='<?php echo HEADER_IMAGE_WIDTH; ?>' height='<?php echo HEADER_IMAGE_HEIGHT; ?>' alt='' />
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag ehesp in style.css header.
  3. 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 wp-theme-ehesp.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Pages' in file shortcodes.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Categories' in file shortcodes.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ehesp' in file shortcodes.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'ehesp' in file shortcodes.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Contact Form' in file contact.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<p>Contact Form</p><p>{name} ({email}) wrote the following message:</p><p>{message}</p>' in file contact.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Page' in file functions.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 wpbootstrap, ehesp.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  7. I18N implementation : Proper use of ___all(Possible variable $more found in translation function in shortcodes.php. Translation function calls should not contain PHP variables. Possible variable $more found in translation function in shortcodes.php. Translation function calls should not contain PHP variables.
  8. CSS files : Presence of license typeLicense: is missing from style.css header.
  9. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  10. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  11. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  12. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  13. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  14. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  15. 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.
  16. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 865x660px (173:132). Ratio of width to height should be 4:3.Screenshot size is 865x660px. 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 front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.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 image template file image.phpThis theme does not contain optional file image.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : contact.php
    Ligne133: require_once('recaptchalib.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.
Other checked themes