30
Validation results

MasterStudy

MasterStudy

WordPress 5.0.3 theme
30
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="950" height="534" src="'.$link.'?feature=oembed" frameborder="0" allowfullscreen=""> in file vc_video.php.
    Line 29: $embed = '<iframe width='950' height='534' src=''.$link.'?feature=oembed' frameborder
  2. Malware : Operations on file system file_get_contents was found in the file theme.php
    Line 108: // file_get_contents if body is empty.
    Line 111: $body = @file_get_contents( get_package($layout, 'zip') );
    fopen was found in the file theme.php
    Line 110: if ( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ) {
    Line 117: $fp = @fopen( $fzip, 'w' );
    fwrite was found in the file theme.php
    Line 119: @fwrite( $fp, $body );
    fclose was found in the file theme.php
    Line 120: @fclose( $fp );
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was content.zip stm-post-type.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag classes in style.css header.Found wrong tag courses in style.css header.Found wrong tag education center in style.css header.Found wrong tag learning center in style.css header.Found wrong tag tutoring in style.css header.Found wrong tag teaching in style.css header.Found wrong tag study in style.css header.Found wrong tag studying in style.css header.Found wrong tag learning in style.css header.Found wrong tag lessons in style.css header.Found wrong tag instructor in style.css header.Found wrong tag teacher in style.css header.Found wrong tag mentor 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 masterstudy.
  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 masterstudy, stm_domain.
  4. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  5. Custom elements : Presence of custom backgroundNo reference to custom background 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. I18N implementation : Proper use of ___all(Possible variable $element found in translation function in custom.php. Translation function calls should not contain PHP variables.
    Line 455: echo esc_html__('Element not found in ' . $element, 'masterstudy');
  8. I18N implementation : Proper use of esc_html___all(Possible variable $element found in translation function in custom.php. Translation function calls should not contain PHP variables.
    Line 455: echo esc_html__('Element not found in ' . $element, 'masterstudy');
  9. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file checkout.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file billing.php. Function get_option( 'date_format' ) should be used instead.
  10. 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 review-notice.php.
    Line 44: <a href='https://themeforest.net/downloads' class='add_review button-primary' target
  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 archive template file archive.phpThis theme does not contain optional file archive.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. Use of includes : Use of include or requireThe theme appears to use include or require : custom.php
    Line 862: require_once($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 ).

75
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was content.zip stm-post-type.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag classes in style.css header.Found wrong tag courses in style.css header.Found wrong tag education center in style.css header.Found wrong tag learning center in style.css header.Found wrong tag tutoring in style.css header.Found wrong tag teaching in style.css header.Found wrong tag study in style.css header.Found wrong tag studying in style.css header.Found wrong tag learning in style.css header.Found wrong tag lessons in style.css header.Found wrong tag instructor in style.css header.Found wrong tag teacher in style.css header.Found wrong tag mentor 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 masterstudy.
  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 masterstudy, stm_domain.
  4. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file checkout.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file billing.php. Function get_option( 'date_format' ) should be used instead.
  5. 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 review-notice.php.
    Line 44: <a href='https://themeforest.net/downloads' class='add_review button-primary' target
  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 archive template file archive.phpThis theme does not contain optional file archive.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. Use of includes : Use of include or requireThe theme appears to use include or require : custom.php
    Line 862: require_once($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