32
Validation results

Adapt

Adapt

WordPress 4.8.2 theme
32
Critical alerts
  1. Security breaches : Use of base64_decode() Found base64_decode in file functions.interface.php.
    Line 229: $smof_data = unserialize(base64_decode($_POST['data'])); //100% safe - ignore theme check nag
  2. Security breaches : Use of base64_encode() Found base64_encode in file class.options_machine.php.
     $output .= '<textarea id='export_data' rows='8'>'.base64_encode(serialize($smof_data)) /* 100% safe - ignore theme check nag 
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File about.php :
    Line 53: add_menu_page(
    File init.php :
    Line 97: add_filter( 'cmb_show_on', array( &$this, 'add_for_page_template' ), 10, 2 );
    Line 151: function add_for_page_template( $display, $meta_box ) {
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 adapt.
  3. Text domain : Incorrect use of translation functions.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 wpex-adapt, mesa, adapt, wpex.
  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. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. 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.
  7. Date and time implementation : Use of the_time()At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.
  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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Line 42: WordPress Theme by <a href='http://www.wpexplorer.com/adapt-free-responsive-wordpress-theme/' title='Ad
    Possible hard-coded links were found in the file about.php.
    Line 93: <div class='about-text' style='margin-bottom:40px;min-height:0;'><?php esc_html_e( 'A free WordPress theme by WPExplorer', 'wpex-adapt' ); ?> | <a href='<?php echo esc_url( $this->theme_changelog ); ?>' target='_blank'><?php esc_html_e( 'Changelog', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->theme_url ); ?>' target='_blank'><?php esc_html_e( 'Theme Page', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->github_repo ); ?>' target='_blank'><?php esc_html_e( 'Github', 'wpex-adapt' ); ?></a> | <a href='http://www.wpexplorer.com/wordpress-themes/' target='_blank'><?php esc_html
    Line 93: <div class='about-text' style='margin-bottom:40px;min-height:0;'><?php esc_html_e( 'A free WordPress theme by WPExplorer', 'wpex-adapt' ); ?> | <a href='<?php echo esc_url( $this->theme_changelog ); ?>' target='_blank'><?php esc_html_e( 'Changelog', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->theme_url ); ?>' target='_blank'><?php esc_html_e( 'Theme Page', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->github_repo ); ?>' target='_blank'><?php esc_html_e( 'Github', 'wpex-adapt' ); ?></a> | <a href='http://www.wpexplorer.com/wordpress-themes/' target='_blank'><?php esc_html
    Line 108: <?php esc_html_e( 'This theme was created by:', 'wpex-adapt' ); ?> <a href='http://www.wpexplorer.com/'>WPExplorer</a>
    Line 155: <li><span style='font-weight:bold'>Shortcodes:</span> <a href='http://www.wpexplorer.com/symple-shortcodes/' target='_blank'>Symple Shortc
    Line 156: <li><span style='font-weight:bold'>Contact Forms:</span> <a href='http://wordpress.org/plugins/contact-form-7/' target='_blank'>Contact Form 7</a> or <a href='http://www.wpexplorer.com/gravity-forms-plugin/' target='_blank'>Gravity Fo
    Line 157: <li><span style='font-weight:bold'>Page Builder:</span> <a href='http://www.wpexplorer.com/visual-composer-guide/' target='_blank'>Visual Co
    Line 158: <li><span style='font-weight:bold'>Image Sliders:</span class> <a href='http://www.wpexplorer.com/revolution-slider-review-guide/' target='_blank'>
    Line 178: <a href='http://www.wpexplorer.com/wordpress-hosting/' class='button button-primary'
    Line 187: <a href='http://www.wpexplorer.com/coupons/' class='button button-primary' target='_
    Line 115: <a href='https://twitter.com/WPExplorer' class='button button-secondary'>Twitter</a>
    Line 116: <a href='https://www.facebook.com/WPExplorerThemes/' class='button button-secondary'
    Line 117: <a href='https://www.youtube.com/user/wpexplorertv' class='button button-secondary'>
    Line 154: <li><span style='font-weight:bold'>Backups:</span> <a href='https://vaultpress.com/' target='_blank'>VaultPress</a></li>
    Line 155: <li><span style='font-weight:bold'>Shortcodes:</span> <a href='http://www.wpexplorer.com/symple-shortcodes/' target='_blank'>Symple Shortc
    Line 157: <li><span style='font-weight:bold'>Page Builder:</span> <a href='http://www.wpexplorer.com/visual-composer-guide/' target='_blank'>Visual Co
    Line 158: <li><span style='font-weight:bold'>Image Sliders:</span class> <a href='http://www.wpexplorer.com/revolution-slider-review-guide/' target='_blank'>
    Line 159: <li><span style='font-weight:bold'>Other:</span> <a href='http://jetpack.me/' target='_blank'>JetPack</a></li>
    Line 169: <a href='http://wpexplorer-themes.com/total/' target='_blank'><img src='<?php echo e
    Line 178: <a href='http://www.wpexplorer.com/wordpress-hosting/' class='button button-primary'
    Line 187: <a href='http://www.wpexplorer.com/coupons/' class='button button-primary' target='_
    Possible hard-coded links were found in the file dashboard-feed.php.
    Line 17: 'http://www.wpexplorer.com/feed/',
    Line 23: echo '<div style='margin-top:20px;padding-top:10px;border-top:1px solid #eee;'>Feed from <a href='http://www.wpexplorer.com' target='_blank'>wpexplorer.com</a></div>';
    Line 29: 'https://www.wdexplorer.com/feed/',
    Line 35: echo '<div style='margin-top:20px;padding-top:10px;border-top:1px solid #eee;'>Feed from <a href='https://www.wdexplorer.com' target='_blank'>wdexplorer.com</a></div>';
  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 home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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. Use of includes : Use of include or requireThe theme appears to use include or require : index.php
    Line 79: require_once ( ADMIN_PATH . 'functions/functions.load.php' );
    Line 80: require_once ( ADMIN_PATH . 'classes/class.options_machine.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 : functions.load.php
    Line 10: require_once( ADMIN_PATH . 'functions/functions.php' );
    Line 11: require_once( ADMIN_PATH . 'functions/functions.filters.php' );
    Line 12: require_once( ADMIN_PATH . 'functions/functions.interface.php' );
    Line 13: require_once( ADMIN_PATH . 'functions/functions.options.php' );
    Line 14: require_once( ADMIN_PATH . 'functions/functions.admin.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 : functions.interface.php
    Line 84: include_once( ADMIN_PATH . 'front-end/options.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 : usage.php
    Line 110: require_once( get_template_directory() .'/functions/meta/init.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 : homepage.php
    Line 24: include( $file );
    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 ).

94
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 adapt.
  3. Text domain : Incorrect use of translation functions.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 wpex-adapt, mesa, adapt, wpex.
  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. Date and time implementation : Use of the_time()At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.
  6. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Line 42: WordPress Theme by <a href='http://www.wpexplorer.com/adapt-free-responsive-wordpress-theme/' title='Ad
    Possible hard-coded links were found in the file about.php.
    Line 93: <div class='about-text' style='margin-bottom:40px;min-height:0;'><?php esc_html_e( 'A free WordPress theme by WPExplorer', 'wpex-adapt' ); ?> | <a href='<?php echo esc_url( $this->theme_changelog ); ?>' target='_blank'><?php esc_html_e( 'Changelog', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->theme_url ); ?>' target='_blank'><?php esc_html_e( 'Theme Page', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->github_repo ); ?>' target='_blank'><?php esc_html_e( 'Github', 'wpex-adapt' ); ?></a> | <a href='http://www.wpexplorer.com/wordpress-themes/' target='_blank'><?php esc_html
    Line 93: <div class='about-text' style='margin-bottom:40px;min-height:0;'><?php esc_html_e( 'A free WordPress theme by WPExplorer', 'wpex-adapt' ); ?> | <a href='<?php echo esc_url( $this->theme_changelog ); ?>' target='_blank'><?php esc_html_e( 'Changelog', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->theme_url ); ?>' target='_blank'><?php esc_html_e( 'Theme Page', 'wpex-adapt' ); ?></a> | <a href='<?php echo esc_url( $this->github_repo ); ?>' target='_blank'><?php esc_html_e( 'Github', 'wpex-adapt' ); ?></a> | <a href='http://www.wpexplorer.com/wordpress-themes/' target='_blank'><?php esc_html
    Line 108: <?php esc_html_e( 'This theme was created by:', 'wpex-adapt' ); ?> <a href='http://www.wpexplorer.com/'>WPExplorer</a>
    Line 155: <li><span style='font-weight:bold'>Shortcodes:</span> <a href='http://www.wpexplorer.com/symple-shortcodes/' target='_blank'>Symple Shortc
    Line 156: <li><span style='font-weight:bold'>Contact Forms:</span> <a href='http://wordpress.org/plugins/contact-form-7/' target='_blank'>Contact Form 7</a> or <a href='http://www.wpexplorer.com/gravity-forms-plugin/' target='_blank'>Gravity Fo
    Line 157: <li><span style='font-weight:bold'>Page Builder:</span> <a href='http://www.wpexplorer.com/visual-composer-guide/' target='_blank'>Visual Co
    Line 158: <li><span style='font-weight:bold'>Image Sliders:</span class> <a href='http://www.wpexplorer.com/revolution-slider-review-guide/' target='_blank'>
    Line 178: <a href='http://www.wpexplorer.com/wordpress-hosting/' class='button button-primary'
    Line 187: <a href='http://www.wpexplorer.com/coupons/' class='button button-primary' target='_
    Line 115: <a href='https://twitter.com/WPExplorer' class='button button-secondary'>Twitter</a>
    Line 116: <a href='https://www.facebook.com/WPExplorerThemes/' class='button button-secondary'
    Line 117: <a href='https://www.youtube.com/user/wpexplorertv' class='button button-secondary'>
    Line 154: <li><span style='font-weight:bold'>Backups:</span> <a href='https://vaultpress.com/' target='_blank'>VaultPress</a></li>
    Line 155: <li><span style='font-weight:bold'>Shortcodes:</span> <a href='http://www.wpexplorer.com/symple-shortcodes/' target='_blank'>Symple Shortc
    Line 157: <li><span style='font-weight:bold'>Page Builder:</span> <a href='http://www.wpexplorer.com/visual-composer-guide/' target='_blank'>Visual Co
    Line 158: <li><span style='font-weight:bold'>Image Sliders:</span class> <a href='http://www.wpexplorer.com/revolution-slider-review-guide/' target='_blank'>
    Line 159: <li><span style='font-weight:bold'>Other:</span> <a href='http://jetpack.me/' target='_blank'>JetPack</a></li>
    Line 169: <a href='http://wpexplorer-themes.com/total/' target='_blank'><img src='<?php echo e
    Line 178: <a href='http://www.wpexplorer.com/wordpress-hosting/' class='button button-primary'
    Line 187: <a href='http://www.wpexplorer.com/coupons/' class='button button-primary' target='_
    Possible hard-coded links were found in the file dashboard-feed.php.
    Line 17: 'http://www.wpexplorer.com/feed/',
    Line 23: echo '<div style='margin-top:20px;padding-top:10px;border-top:1px solid #eee;'>Feed from <a href='http://www.wpexplorer.com' target='_blank'>wpexplorer.com</a></div>';
    Line 29: 'https://www.wdexplorer.com/feed/',
    Line 35: echo '<div style='margin-top:20px;padding-top:10px;border-top:1px solid #eee;'>Feed from <a href='https://www.wdexplorer.com' target='_blank'>wdexplorer.com</a></div>';
  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 home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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. Use of includes : Use of include or requireThe theme appears to use include or require : index.php
    Line 79: require_once ( ADMIN_PATH . 'functions/functions.load.php' );
    Line 80: require_once ( ADMIN_PATH . 'classes/class.options_machine.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 : functions.load.php
    Line 10: require_once( ADMIN_PATH . 'functions/functions.php' );
    Line 11: require_once( ADMIN_PATH . 'functions/functions.filters.php' );
    Line 12: require_once( ADMIN_PATH . 'functions/functions.interface.php' );
    Line 13: require_once( ADMIN_PATH . 'functions/functions.options.php' );
    Line 14: require_once( ADMIN_PATH . 'functions/functions.admin.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 : functions.interface.php
    Line 84: include_once( ADMIN_PATH . 'front-end/options.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 : usage.php
    Line 110: require_once( get_template_directory() .'/functions/meta/init.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 : homepage.php
    Line 24: include( $file );
    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