0
Validation results

Midway

Midway

WordPress 4.9.8 theme
0
Critical alerts
  1. 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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Security breaches : Use of base64_encode() Found base64_encode in file functions.php.
     if(wp_mail($recipient, '=?UTF-8?B?'.base64_encode($subject).'?=', $message, $headers)) {
  3. Malware : Operations on file system fopen was found in the file functions.php
    Line 196: $file=@fopen(THEMEX_PATH.'strings.php', 'a');
    Line 211: $file=@fopen(THEMEX_PATH.'strings.php', 'w');	
    fwrite was found in the file functions.php
    Line 199: fwrite($file, '\r\n'.'$strings'.'[''.$name.'']=__(''.$string.'', 'midway');
    Line 213: fwrite($file, '<?php ');
    fclose was found in the file functions.php
    Line 200: fclose($file);
    Line 214: fclose($file);
    fopen was found in the file functions.php
    Line 196: $file=@fopen(THEMEX_PATH.'strings.php', 'a');
    Line 211: $file=@fopen(THEMEX_PATH.'strings.php', 'w');	
    fwrite was found in the file functions.php
    Line 199: fwrite($file, '\r\n'.'$strings'.'[''.$name.'']=__(''.$string.'', 'midway');
    Line 213: fwrite($file, '<?php ');
    fclose was found in the file functions.php
    Line 200: fclose($file);
    Line 214: fclose($file);
  4. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : themex.interface.php.
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was midway.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag travel in style.css header.Found wrong tag trip in style.css header.Found wrong tag tour in style.css header.Found wrong tag journal in style.css header.Found wrong tag nature in style.css header.Found wrong tag ecological in style.css header.Found wrong tag cruise in style.css header.Found wrong tag booking in style.css header.
  2. 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.
  3. Unwanted files : Windows thumbnail storethumbs.db was found.
  4. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  5. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  6. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  9. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  10. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  11. 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.
  12. Screenshot : Screenshot fileScreenshot size is 300x225px. 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 author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : themex.core.php
    Line 183: require_once(THEMEX_PATH.'classes/'.$file.'.php');
    Line 486: require_once(THEMEX_PATH.'classes/widgets/'.$file.'.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 : themex.interface.php
    Line 145: include(THEMEX_PATH.'templates/index.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 : themex.shortcode.php
    Line 25: require_once(THEMEX_PATH.'shortcodes.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 : popup.php
    Line 4: require_once($wp_path.'/wp-load.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 : thankyou.php
    Line 75: include(ABSPATH.'wp-content/plugins/woocommerce/templates/checkout/thankyou
    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 : form-checkout.php
    Line 61: include(ABSPATH.'wp-content/plugins/woocommerce/templates/checkout/form-che
    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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

31
Critical alerts
  1. 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.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : themex.interface.php.
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was midway.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag travel in style.css header.Found wrong tag trip in style.css header.Found wrong tag tour in style.css header.Found wrong tag journal in style.css header.Found wrong tag nature in style.css header.Found wrong tag ecological in style.css header.Found wrong tag cruise in style.css header.Found wrong tag booking in style.css header.
  2. 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.
  3. Unwanted files : Windows thumbnail storethumbs.db was found.
  4. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  5. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  6. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  7. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  8. 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.
  9. Screenshot : Screenshot fileScreenshot size is 300x225px. 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 author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : themex.core.php
    Line 183: require_once(THEMEX_PATH.'classes/'.$file.'.php');
    Line 486: require_once(THEMEX_PATH.'classes/widgets/'.$file.'.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 : themex.interface.php
    Line 145: include(THEMEX_PATH.'templates/index.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 : themex.shortcode.php
    Line 25: require_once(THEMEX_PATH.'shortcodes.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 : popup.php
    Line 4: require_once($wp_path.'/wp-load.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 : thankyou.php
    Line 75: include(ABSPATH.'wp-content/plugins/woocommerce/templates/checkout/thankyou
    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 : form-checkout.php
    Line 61: include(ABSPATH.'wp-content/plugins/woocommerce/templates/checkout/form-che
    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