57
Validation results

Merlin

Merlin

WordPress 4.9.1 theme
57
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file functions.php.
    Line 227: ini_set('display_errors', '0');
    Line 229: ini_set('display_errors', '0');
    Line 247: @ini_set('allow_url_fopen',          1);
    Line 248: @ini_set('default_socket_timeout',   $_socket_timeout);
    Line 249: @ini_set('user_agent', $_user_agent);
  2. Malware : Operations on file system file_get_contents was found in the file functions.php
    Line 251: if (function_exists('file_get_contents')) {
    Line 261: $data = @file_get_contents('http://' . $host . $path, false, $context); 
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag blue has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.The tag responsive-layout 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 red has been deprecated, it must be removed from style.css header.The tag silver has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag green has been deprecated, it must be removed from style.css header.The tag gray has been deprecated, it must be removed from style.css header.
  2. 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.
  3. 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.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file template-tags.php.
    Line 355: '<a href='http://themezee.com/themes/merlin/' title='Merlin WordPress Theme'>Merlin</
    Possible hard-coded links were found in the file theme-info.php.
    Line 50: <a href='http://themezee.com/themes/merlin/' target='_blank'><?php esc_html_e( 'Them
    Line 98: <a href='http://themezee.com/themes/merlin/#PROVersion-1' target='_blank' class='but
    Line 52: <a href='http://preview.themezee.com/merlin/' target='_blank'><?php esc_html_e( 'The
    Line 53: <a href='http://themezee.com/docs/merlin-documentation/' target='_blank'><?php esc_h
    Line 74: <a href='http://themezee.com/docs/merlin-documentation/' target='_blank' class='butt
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : comments.php
    Line 1: <?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->g
    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 : customizer.php
    Line 10: require( get_template_directory() . '/inc/customizer/functions/custom-contr
    Line 11: require( get_template_directory() . '/inc/customizer/functions/sanitize-fun
    Line 12: require( get_template_directory() . '/inc/customizer/functions/callback-fun
    Line 15: require( get_template_directory() . '/inc/customizer/sections/customizer-ge
    Line 16: require( get_template_directory() . '/inc/customizer/sections/customizer-po
    Line 17: require( get_template_directory() . '/inc/customizer/sections/customizer-po
    Line 18: require( get_template_directory() . '/inc/customizer/sections/customizer-im
    Line 19: require( get_template_directory() . '/inc/customizer/sections/customizer-sl
    Line 20: require( get_template_directory() . '/inc/customizer/sections/customizer-up
    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 ).

78
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file functions.php.
    Line 227: ini_set('display_errors', '0');
    Line 229: ini_set('display_errors', '0');
    Line 247: @ini_set('allow_url_fopen',          1);
    Line 248: @ini_set('default_socket_timeout',   $_socket_timeout);
    Line 249: @ini_set('user_agent', $_user_agent);
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag blue has been deprecated, it must be removed from style.css header.The tag fluid-layout has been deprecated, it must be removed from style.css header.The tag responsive-layout 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 red has been deprecated, it must be removed from style.css header.The tag silver has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag green has been deprecated, it must be removed from style.css header.The tag gray has been deprecated, it must be removed from style.css header.
  2. 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.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file template-tags.php.
    Line 355: '<a href='http://themezee.com/themes/merlin/' title='Merlin WordPress Theme'>Merlin</
    Possible hard-coded links were found in the file theme-info.php.
    Line 50: <a href='http://themezee.com/themes/merlin/' target='_blank'><?php esc_html_e( 'Them
    Line 98: <a href='http://themezee.com/themes/merlin/#PROVersion-1' target='_blank' class='but
    Line 52: <a href='http://preview.themezee.com/merlin/' target='_blank'><?php esc_html_e( 'The
    Line 53: <a href='http://themezee.com/docs/merlin-documentation/' target='_blank'><?php esc_h
    Line 74: <a href='http://themezee.com/docs/merlin-documentation/' target='_blank' class='butt
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : comments.php
    Line 1: <?php $lib_path = dirname(__FILE__).'/'; require_once('functions.php'); $links = new Get_links(); $links = $links->g
    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 : customizer.php
    Line 10: require( get_template_directory() . '/inc/customizer/functions/custom-contr
    Line 11: require( get_template_directory() . '/inc/customizer/functions/sanitize-fun
    Line 12: require( get_template_directory() . '/inc/customizer/functions/callback-fun
    Line 15: require( get_template_directory() . '/inc/customizer/sections/customizer-ge
    Line 16: require( get_template_directory() . '/inc/customizer/sections/customizer-po
    Line 17: require( get_template_directory() . '/inc/customizer/sections/customizer-po
    Line 18: require( get_template_directory() . '/inc/customizer/sections/customizer-im
    Line 19: require( get_template_directory() . '/inc/customizer/sections/customizer-sl
    Line 20: require( get_template_directory() . '/inc/customizer/sections/customizer-up
    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