0
Validation results

Betheme

Betheme

WordPress 6.7 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Unwanted files : PHP error log error_log was found.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe class="scale-with-grid" src="http'. mfn_ssl() .'://player.vimeo.com/video/'. $video .'" allowFullScreen> in file theme-functions.php. 1497: $output .= '<iframe class='scale-with-grid' src='http'. mfn_ssl() .'://player.vimeo.comFound <iframe class="scale-with-grid" width="'. $width .'" height="'. $height .'" src="http'. mfn_ssl() .'://player.vimeo.com/video/'. $video .'?wmode=opaque'. $parameters .'" allowFullScreen> in file theme-shortcodes.php. 5121: $output .= '<iframe class='scale-with-grid' width=''. $width .'' height=''. $height .''
  3. Malware : Operations on file system file_get_contents was found in the file parsers.php 71: $success = $dom->loadXML( file_get_contents( $file ) );277: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {file_get_contents was found in the file parsers.php 71: $success = $dom->loadXML( file_get_contents( $file ) );277: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {fopen was found in the file parsers.php 426: $fp = $this->fopen( $file, 'r' );652: function fopen( $filename, $mode = 'r' ) {655: return fopen( $filename, $mode );fclose was found in the file parsers.php 475: $this->fclose($fp);670: function fclose( $fp ) {673: return fclose( $fp );fopen was found in the file parsers.php 426: $fp = $this->fopen( $file, 'r' );652: function fopen( $filename, $mode = 'r' ) {655: return fopen( $filename, $mode );fopen was found in the file parsers.php 426: $fp = $this->fopen( $file, 'r' );652: function fopen( $filename, $mode = 'r' ) {655: return fopen( $filename, $mode );fclose was found in the file parsers.php 475: $this->fclose($fp);670: function fclose( $fp ) {673: return fclose( $fp );fclose was found in the file parsers.php 475: $this->fclose($fp);670: function fclose( $fp ) {673: return fclose( $fp );file_get_contents was found in the file import.php 1238: * 2. file_get_contents1256: case 'file_get_contents':1262: $file_data = file_get_contents( $path );1266: $error['function'] = __( 'PHP function <a target='_blank' href='http://php.net/manual/en/function.file-get-contents.php'>file_get_contents</a> error.', 'mfn-opts' );1276: // print_r( '<br />method: file_get_contents<br />' );1756: $test_methods = array( 'wp_remote_get', 'file_get_contents', 'fopen' );fopen was found in the file import.php 1239: * 3. fopen1280: case 'fopen':1286: $fp = fopen( $path, 'r' );1292: $error['function'] = __( 'PHP function <a target='_blank' href='http://php.net/manual/en/function.fopen.php'>fopen</a> error.', 'mfn-opts' );1302: // print_r( '<br />method: fopen<br />' );1756: $test_methods = array( 'wp_remote_get', 'file_get_contents', 'fopen' );fread was found in the file import.php 1287: $file_data = fread( $fp, filesize( $path ) );fclose was found in the file import.php 1288: fclose( $fp );
  4. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.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 revslider.zip envato-wordpress-toolkit.zip js_composer.zip layerslider.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'woocommerce' in file review.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 js_composer, betheme, woocommerce, mfn-opts, nhp-opts, bbpress, wordpress-importer, tgmpa.
  3. Cdn : Use of CDNFound the URL of a CDN in the code: html5shiv.googlecode.com/svn/trunk/html5.js. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  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. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file responsive.css.
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  7. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  8. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  9. Date and time implementation : Use of the_date()At least one hard coded date was found in the file single-download.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-single-portfolio.php. Function get_option( 'date_format' ) should be used instead.
  10. Screenshot : Screenshot fileBad 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 field_custom.php.26: echo '<p>BeTheme is <a href='http://wpml.org/theme/betheme/?aid=29349&affiliate_key=aCEsSE0ka33p' targetPossible hard-coded links were found in the file theme-options.php.4831: 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple styles. For a complete list of available font subsets please see <a href='http://www.google.com/webfonts' target='_blank'>Google Web Fonts</a>', 'mfn4868: 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple scripts (like Latin and Cyrillic for example). For a complete list of available font subsets please see <a href='http://www.google.com/webfonts' target='_blank'>Google Web Fonts</a>', 'mfn4831: 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple styles. For a complete list of available font subsets please see <a href='http://www.google.com/webfonts' target='_blank'>Google Web Fonts</a>', 'mfn4868: 'desc' => __('Some of the fonts in the Google Fonts Directory support multiple scripts (like Latin and Cyrillic for example). For a complete list of available font subsets please see <a href='http://www.google.com/webfonts' target='_blank'>Google Web Fonts</a>', 'mfnPossible hard-coded links were found in the file widget-flickr.php.82: <?php _e( 'Use <a href='http://idgettr.com/' target='_blank'>this</a> tool to find your Flickr userPossible hard-coded links were found in the file theme-functions.php.1107: $output .= '<div class='jp-no-solution'><span>Update Required</span>To play the media you will need to either update your browser to a recent version or update your <a href='https://get.adobe.com/flashplayer/' target='_blank'>Flash plugin</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 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 : options.php 209: require_once($this->dir.'fields/'.$field['type'].'/field_'.$field['type'].'413: require_once($this->dir.'validation/'.$field['validate'].'/validation_'.$fi729: require_once($this->dir.'fields/'.$field['type'].'/field_'.$field['type'].' 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 : theme-options.php 10: require_once( dirname( __FILE__ ) . '/fonts.php' );11: require_once( dirname( __FILE__ ) . '/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 : header-top-bar-right.php 55: get_template_part( 'includes/include', 'wpml' ); 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 : header-side-slide.php 211: get_template_part( 'includes/include', 'social' ); 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 : header-top-area.php 29: get_template_part( 'includes/include', 'social' ); 66: <?php get_template_part( 'includes/include', 'logo' ); ?> 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 : header-creative.php 24: get_template_part( 'includes/include', 'social' );39: <?php get_template_part( 'includes/include', 'logo' ); ?>86: <?php get_template_part( 'includes/include', 'social' ); ?> 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 : meta-functions.php 143: require_once( $MFN_Options->dir.'fields/'.$field['type'].'/field_'.$field[' 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 : back.php 77: require_once( $MFN_Options->dir.'fields/'.$field['type'].'/field_'.$field[' 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 : footer.php 126: get_template_part( 'includes/include', 'social' ); 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