11
Validation results

Betheme

Betheme

WordPress 6.7 theme
11
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. 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. 1686: $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. 5266: $output .= '<iframe class='scale-with-grid' width=''. $width .'' height=''. $height .''
  2. Malware : Operations on file system file_get_contents was found in the file changelog.php 17: <?php echo file_get_contents( THEME_DIR .'/changelog.html' );?>fopen was found in the file class-mfn-importer.php 126: * 3. fopen144: $fp = fopen( $path, 'r' );fread was found in the file class-mfn-importer.php 145: $data = fread( $fp, filesize( $path ) );fclose was found in the file class-mfn-importer.php 146: fclose( $fp );file_get_contents was found in the file parsers.php 71: $success = $dom->loadXML( file_get_contents( $file ) );295: 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 ) );295: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {fopen was found in the file parsers.php 451: $fp = $this->fopen( $file, 'r' );672: function fopen( $filename, $mode = 'r' ) {675: return fopen( $filename, $mode );fclose was found in the file parsers.php 495: $this->fclose($fp);690: function fclose( $fp ) {693: return fclose( $fp );fopen was found in the file parsers.php 451: $fp = $this->fopen( $file, 'r' );672: function fopen( $filename, $mode = 'r' ) {675: return fopen( $filename, $mode );fopen was found in the file parsers.php 451: $fp = $this->fopen( $file, 'r' );672: function fopen( $filename, $mode = 'r' ) {675: return fopen( $filename, $mode );fclose was found in the file parsers.php 495: $this->fclose($fp);690: function fclose( $fp ) {693: return fclose( $fp );fclose was found in the file parsers.php 495: $this->fclose($fp);690: function fclose( $fp ) {693: return fclose( $fp );file_get_contents was found in the file class-mfn-importer-api.php 102: $body = @file_get_contents( $url );fopen was found in the file class-mfn-importer-api.php 101: if( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ){126: $fp = @fopen( $path_zip, 'w' );fwrite was found in the file class-mfn-importer-api.php 127: $fwrite = @fwrite( $fp, $body );129: if( false === $fwrite ){fclose was found in the file class-mfn-importer-api.php 128: @fclose( $fp );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File options.php : 159: $this->page = add_submenu_page(File class-mfn-support.php : 27: $this->page = add_submenu_page(File class-mfn-dashboard.php : 96: $this->page = add_menu_page(File class-mfn-dashboard.php : 106: add_submenu_page(File class-tgm-plugin-activation.php : 724: $this->page_hook = add_submenu_page( $args['parent_slug'], $args['page_title'], $args['menu_tiFile class-mfn-status.php : 30: $this->page = add_submenu_page(File class-mfn-changelog.php : 27: $this->page = add_submenu_page(File class-mfn-importer.php : 77: $this->page = add_submenu_page(
  4. Deprecated functions : get_option get_option( 'home' ) was found in the file class-mfn-status.php. Use home_url() instead.75: 'home' => get_option( 'home' ),
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. 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 js_composer, betheme, woocommerce, mfn-opts, nhp-opts, bbpress, tgmpa, wordpress-importer.
  3. 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.
  4. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file responsive.css.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  7. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  8. 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.
  9. 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 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 archive template file archive.phpThis theme does not contain optional file archive.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 : options.php 202: require_once($this->dir.'fields/'.$field['type'].'/field_'.$field['type'].'404: require_once( $this->dir .'validation/'. $field[ 'validate' ] .'/validation724: 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 215: 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 : class-mfn-tgmpa.php 46: include_once 'class-tgm-plugin-activation.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 : 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