0
Validation results

Cast

Cast

WordPress 4.9.6 theme
0
  • THEME TYPEWordPress theme 4.9.6
  • FILE NAMEthemeforest-15554444-cast-construction-building-wordpress-theme.zip
  • FILE SIZE43208814 bytes
  • MD5476653b68316b5bb2493c87a456e86d7
  • SHA16f1b355fd99c80ba42cef3456ad9ee6b548344e5
  • LICENSECustom
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEMEFOREST PAGEhttps://themeforest.net/item/cast-construction-building-wordpress-theme/15554444 ($59)
  • THEME URIhttp://www.highgradelab.com/cast/
  • VERSION1.3
  • AUTHOR URI
  • TAGSone-column, two-columns, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, theme-options, translation-ready
  • CREATION DATE2018-03-22
  • LAST FILE UPDATE2018-03-22
  • LAST VALIDATION2018-03-22 18:03
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file extension_customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Malware : Operations on file system fopen was found in the file class.redux_helpers.php
    Line 657: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Line 660: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Line 663: //fclose( $fp );
    fwrite was found in the file lessc.inc.php
    Line 689: // fwrite(STDERR,'failed to find block: '.implode(' > ', $path).'\n');
    file_put_contents was found in the file lessc.inc.php
    Line 1841: //return file_put_contents($outFname, $out);
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File config.php :
    Line 101: // 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 ._cast-child.zip ._cast.zip ._lowspec.zip ._home-default.zip ._woocommerce-jquery-cookie-fix.zip ._hgr_popups.zip ._woocommerce.2.5.5.zip ._hgr_slide_in_panel.zip ._hgr_info_bars.zip ._hgr_megafooter.zip ._hgr_essentials.zip ._woocommerce.2.6.1.zip ._revslider.zip ._hgr_megaheader.zip ._js_composer.zip ._hgr_vc_extender.zip ._essential-grid.zip ._hgr_qcv.zip cast-child.zip home-default.zip lowspec.zip hgr_popups.zip essential-grid.zip woocommerce-jquery-cookie-fix.zip hgr_essentials.zip revslider.zip hgr_info_bars.zip hgr_megaheader.zip hgr_vc_extender.zip hgr_slide_in_panel.zip js_composer.zip hgr_megafooter.zip woocommerce.2.5.5.zip hgr_qcv.zip woocommerce.2.6.1.zip cast.zip.
Warning
  1. 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 cast, redux-framework.
  2. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  3. Unwanted files : hidden file(s) or folder(s).ds_store was found.
  4. PHP short tags : Presence of PHP short tagsPHP short tags were found in file ._field_sortable.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 1: 
    PHP short tags were found in file parsedown.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 14: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  5. I18N implementation : Proper use of _e(Possible variable $str found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 103: $url = $this->compileValue($this->lib_e($str));
    Possible variable $arg found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 957: protected function lib_e($arg) {
    Possible variable $items found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 962: return $this->lib_e($items[0]);
    Possible variable $string found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 979: $template = $this->compileValue($this->lib_e($string));
    Possible variable $val found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 993: $rep = $this->compileValue($this->lib_e($val));
    Possible variable $newUnit found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 1022: $this->compileValue($this->lib_e($newUnit)));
    Possible variable $res found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 1369: if (empty($value[2])) $res = $this->lib_e($res);
    Possible variable $key found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 1376: $key = $this->vPrefix . $this->compileValue($this->lib_e($key));
    Possible variable $part found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 1401: if ($strip) $part = $this->lib_e($part);
    Possible variable $this found in translation function in lessc.inc.php. Translation function calls should not contain PHP variables.
    Line 1407: return $this->lib_e($this->reduce($inner));
  6. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file date.php. Function get_option( 'date_format' ) should be used instead.
  7. 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 welcome.php.
    Line 425: <a href='http://docs.reduxframework.com/' class='docs button button-primary'>Docs</a
    Line 428: <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMFMHW
    Possible hard-coded links were found in the file config.php.
    Line 1894: 'default'	=>	'Copyright 2015 <a href='http://www.highgradelab.com'>HighGrade</a>. All rights reserved.'
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  4. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  5. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  6. Use of includes : Use of include or requireThe theme appears to use include or require : framework.php
    Line 418: require_once 'core/dashboard.php';
    Line 421: require_once 'core/newsflash.php';
    Line 1700: require_once 'core/enqueue.php';
    Line 2845: require_once 'core/enqueue.php';
    Line 2903: require_once 'core/panel.php';
    Line 3232: require_once 'core/panel.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 : extension_customizer.php
    Line 724: 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.
    The theme appears to use include or require : widget.php
    Line 60: include_once('class.functions.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 : extension_social_profiles.php
    Line 81: include_once('social_profiles/inc/defaults.php');
    Line 82: include_once('social_profiles/inc/class.functions.php');
    Line 97: include_once('social_profiles/inc/widget.php');
    Line 100: include_once('social_profiles/inc/shortcode.php');
    Line 320: include_once('social_profiles/inc/class.functions.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 : welcome.php
    Line 324: require_once 'views/about.php';
    Line 339: require_once 'views/changelog.php';
    Line 354: require_once 'views/extensions.php';
    Line 370: require_once 'views/support.php';
    Line 385: require_once 'views/credits.php';
    Line 400: require_once 'views/status_report.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 : field_button_set.php
    Line 46: *              ['format']      string Formatting options for paginate fields. Options include ('currency','nice','niceShort','timeAgoInWords' or a valid Date() f
    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 : config.php
    Line 11: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : hgr_bootstrap_navwalker.php
    Line 68: @include_once( ABSPATH . 'wp-admin/includes/plugin.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.php
    Line 62: @require_once( get_template_directory() . '/layouts/headers/complex_header.p
    Line 72: @require_once( get_template_directory() . '/layouts/headers/'.$selected_head
    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 : front-page.php
    Line 149: <?php include(locate_template('loop.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.

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 ).

34
  • THEME TYPEWordPress theme 4.9.6
  • FILE NAMEthemeforest-15554444-cast-construction-building-wordpress-theme.zip
  • FILE SIZE43208814 bytes
  • MD5476653b68316b5bb2493c87a456e86d7
  • SHA16f1b355fd99c80ba42cef3456ad9ee6b548344e5
  • LICENSECustom
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEMEFOREST PAGEhttps://themeforest.net/item/cast-construction-building-wordpress-theme/15554444 ($59)
  • THEME URIhttp://www.highgradelab.com/cast/
  • VERSION1.3
  • AUTHOR URI
  • TAGSone-column, two-columns, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, theme-options, translation-ready
  • CREATION DATE2018-03-22
  • LAST FILE UPDATE2018-03-22
  • LAST VALIDATION2018-03-22 18:03
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file extension_customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. 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'] );
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was ._cast-child.zip ._cast.zip ._lowspec.zip ._home-default.zip ._woocommerce-jquery-cookie-fix.zip ._hgr_popups.zip ._woocommerce.2.5.5.zip ._hgr_slide_in_panel.zip ._hgr_info_bars.zip ._hgr_megafooter.zip ._hgr_essentials.zip ._woocommerce.2.6.1.zip ._revslider.zip ._hgr_megaheader.zip ._js_composer.zip ._hgr_vc_extender.zip ._essential-grid.zip ._hgr_qcv.zip cast-child.zip home-default.zip lowspec.zip hgr_popups.zip essential-grid.zip woocommerce-jquery-cookie-fix.zip hgr_essentials.zip revslider.zip hgr_info_bars.zip hgr_megaheader.zip hgr_vc_extender.zip hgr_slide_in_panel.zip js_composer.zip hgr_megafooter.zip woocommerce.2.5.5.zip hgr_qcv.zip woocommerce.2.6.1.zip cast.zip.
Warning
  1. 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 cast, redux-framework.
  2. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  3. Unwanted files : hidden file(s) or folder(s).ds_store was found.
  4. PHP short tags : Presence of PHP short tagsPHP short tags were found in file ._field_sortable.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 1: 
    PHP short tags were found in file parsedown.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 14: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  5. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file date.php. Function get_option( 'date_format' ) should be used instead.
  6. 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 welcome.php.
    Line 425: <a href='http://docs.reduxframework.com/' class='docs button button-primary'>Docs</a
    Line 428: <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMFMHW
    Possible hard-coded links were found in the file config.php.
    Line 1894: 'default'	=>	'Copyright 2015 <a href='http://www.highgradelab.com'>HighGrade</a>. All rights reserved.'
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  4. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  5. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  6. Use of includes : Use of include or requireThe theme appears to use include or require : framework.php
    Line 418: require_once 'core/dashboard.php';
    Line 421: require_once 'core/newsflash.php';
    Line 1700: require_once 'core/enqueue.php';
    Line 2845: require_once 'core/enqueue.php';
    Line 2903: require_once 'core/panel.php';
    Line 3232: require_once 'core/panel.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 : extension_customizer.php
    Line 724: 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.
    The theme appears to use include or require : widget.php
    Line 60: include_once('class.functions.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 : extension_social_profiles.php
    Line 81: include_once('social_profiles/inc/defaults.php');
    Line 82: include_once('social_profiles/inc/class.functions.php');
    Line 97: include_once('social_profiles/inc/widget.php');
    Line 100: include_once('social_profiles/inc/shortcode.php');
    Line 320: include_once('social_profiles/inc/class.functions.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 : welcome.php
    Line 324: require_once 'views/about.php';
    Line 339: require_once 'views/changelog.php';
    Line 354: require_once 'views/extensions.php';
    Line 370: require_once 'views/support.php';
    Line 385: require_once 'views/credits.php';
    Line 400: require_once 'views/status_report.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 : field_button_set.php
    Line 46: *              ['format']      string Formatting options for paginate fields. Options include ('currency','nice','niceShort','timeAgoInWords' or a valid Date() f
    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 : config.php
    Line 11: include_once( ABSPATH . 'wp-admin/includes/plugin.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 : hgr_bootstrap_navwalker.php
    Line 68: @include_once( ABSPATH . 'wp-admin/includes/plugin.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.php
    Line 62: @require_once( get_template_directory() . '/layouts/headers/complex_header.p
    Line 72: @require_once( get_template_directory() . '/layouts/headers/'.$selected_head
    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 : front-page.php
    Line 149: <?php include(locate_template('loop.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.
Other checked themes