0
Validation results

Cooper

Cooper

WordPress 4.9.8 theme
0
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="<?php echo esc_url(get_post_meta($post-> in file video-index.php.
    Line 6: <iframe src='<?php echo esc_url(get_post_meta($post->ID,'rnr_bl-video',true
    Found <iframe width="100%" scrolling="no" frameborder="no" src="<?php echo esc_url(get_post_meta($post-> in file audio-index.php.
    Line 6: <iframe width='100%' scrolling='no' frameborder='no' src='<?php echo esc_ur
    Found <iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo esc_attr(get_post_meta($post-> in file portfolio-video.php.
    Line 5: <iframe width='560' height='315' src='https://www.youtube.com/embed/<?php e
    Found <iframe src="<?php echo esc_url(get_post_meta($post-> in file video-single.php.
    Line 6: <iframe src='<?php echo esc_url(get_post_meta($post->ID,'rnr_bl-video',true
    Found <iframe width="100%" scrolling="no" frameborder="no" src="<?php echo esc_url(get_post_meta($post-> in file audio-single.php.
    Line 6: <iframe width='100%' scrolling='no' frameborder='no' src='<?php echo esc_ur
  2. Malware : Operations on file system file_get_contents was found in the file parsers.php
    Line 66: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    file_get_contents was found in the file parsers.php
    Line 66: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    file_get_contents was found in the file radium-importer.php
    Line 263: $data = file_get_contents( $file );
    Line 338: $data = file_get_contents( $file );
    file_get_contents was found in the file radium-importer.php
    Line 263: $data = file_get_contents( $file );
    Line 338: $data = file_get_contents( $file );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File cooper-options.php :
    Line 72: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
  4. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
    Line 905: $headers = wp_get_http( $url, $upload['file'] );
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was focus-parallax.zip.
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-eye" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-puzzle-piece" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-trophy" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-child" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-clock-o" in file extend-vc.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 cooper, wordpress-importer, radium, framework, woocommerce.
  2. Screenshot : Screenshot fileBad 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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.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 : loader.php
    Line 20: require_once( $class_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 ).

58
Critical alerts
  1. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
    Line 905: $headers = wp_get_http( $url, $upload['file'] );
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was focus-parallax.zip.
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-eye" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-puzzle-piece" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-trophy" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-child" in file extend-vc.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Please insert <strong><a href='http://fontawesome.io/icons/' target='_blank'>Font Awesome</a></strong> icon class name. Ex: fa-clock-o" in file extend-vc.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 cooper, wordpress-importer, radium, framework, woocommerce.
  2. Screenshot : Screenshot fileBad 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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  6. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.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 : loader.php
    Line 20: require_once( $class_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