32
Validation results

Virtue

Free WordPress 4.8.1 theme

Virtue

Free WordPress 4.8.1 theme
32
Error 8 : Undefined variable: cms
In /home/www/themecheck/themecheck/controllers/controller_results.php line 818
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
    Ligne651: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Ligne654: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Ligne657: //fclose( $fp );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File framework.php :
    Ligne1320: // wrappers and need to be appened to using add_submenu_page.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in framework.php. Themes must not deregister core scripts.
    Ligne549: wp_deregister_script( 'wpb_ace' );
    Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
    Ligne215: wp_deregister_script( 'jquerySelect2' );
  2. theme tags : Presence of bad theme tagsThe tag responsive-layout has been deprecated, it must be removed from style.css header.The tag photoblogging has been deprecated, it must be removed from style.css header.
  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 virtue, tgmpa, cmb, pinnacle, redux-framework, themecheck.
  4. PHP short tags : Presence of PHP short tagsPHP 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.
    Ligne14: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  5. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file virtue-unmin.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. 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 footer.php.
    Ligne66: $footertext = str_replace('[theme-credit]','- WordPress Theme by <a href='http://www.kadencethemes.com/' target='_blank'>Kadence Themes</a>',$footert
    Possible hard-coded links were found in the file options.php.
    Ligne52: 'intro_text'           => 'Upgrade to <a href='http://kadencethemes.com/product/virtue-premium-theme/' target='_blank' >Vi
    Ligne52: 'intro_text'           => 'Upgrade to <a href='http://kadencethemes.com/product/virtue-premium-theme/' target='_blank' >Vi
    Ligne53: 'footer_credit'        => __('Thank you for using the Virtue Theme by <a href='http://kadencethemes.com/' target='_blank'>Kadence Themes</a>.', 'virtue'),
    Ligne109: <p>'.__('This theme was developed by', 'virtue').' <a href=\'http://kadencethemes.com/\' target=\'_blank\'>Kadence Themes</a></p>
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : init.php
    Ligne212: @include( $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 : custom.php
    Ligne84: 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 : icons.php
    Ligne12: include_once($extension . '.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 : metaboxes.php
    Ligne283: require_once 'cmb/init.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 : virtue_extension.php
    Ligne30: 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 : framework.php
    Ligne1627: require_once 'core/enqueue.php';
    Ligne2772: require_once 'core/enqueue.php';
    Ligne2830: require_once 'core/panel.php';
    Ligne3159: 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
    Ligne142: include_once( ReduxFramework::$_dir . 'core/enqueue.php' );
    Ligne752: 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