0
Validation results

Compare (shared on themelock.com)

Compare (shared on themelock.com)

WordPress 4.9.8 theme
0
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
    Error 8 : Undefined index: slug
    In /home/www/themecheck/themecheck/controllers/controller_results.php line 772
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEcompare.zip
  • FILE SIZE471798 bytes
  • MD50fe4f17cbab33959093e1e2e41ebb6d8
  • SHA141733dd9eca4019a5b9a8b8bcff0d0ad5ad5fa28
  • LICENSEGNU GPL 3
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION1.2.1
  • AUTHOR URI
  • CREATION DATE2014-11-15
  • LAST FILE UPDATE2017-03-07
  • LAST VALIDATION2017-03-07 07:23
  • OTHER VERSIONS

    1.8 : 0%

    1.1 : 0%

Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Security breaches : Modification of PHP server settings Found ini_set in file products_feed.php.
    Ligne33: ini_set('auto_detect_line_endings', true);
  3. Malware : Operations on file system fopen was found in the file products_feed.php
    Ligne34: if (($handle = fopen($filePath, 'r')) !== FALSE) {
    fclose was found in the file products_feed.php
    Ligne203: fclose($handle);
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File products.php :
    Ligne4: // Theme Check Hack as we can't use add_menu_page and add_submenu_page
    Ligne5: $f1 = 'add_menu_page';
    File products.php :
    Ligne4: // Theme Check Hack as we can't use add_menu_page and add_submenu_page
    Ligne6: $f2 = 'add_submenu_page';
    File products.php :
    Ligne4: // Theme Check Hack as we can't use add_menu_page and add_submenu_page
    Ligne5: $f1 = 'add_menu_page';
    File products.php :
    Ligne4: // Theme Check Hack as we can't use add_menu_page and add_submenu_page
    Ligne6: $f2 = 'add_submenu_page';
  5. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file footer.php. get_template_directory() should be used instead.
    Ligne1: <?php include( TEMPLATEPATH . '/_functions/get-options.php' ); /* include theme options */
    Constant TEMPLATEPATH was found in the file single.php. get_template_directory() should be used instead.
    Ligne1: <?php include( TEMPLATEPATH . '/_functions/get-options.php' ); /* include theme options */
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in functions.php. Themes must not deregister core scripts.
    Ligne5: wp_deregister_script( 'jquery' );  
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is compare-shared-on-themelock-com.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments "Read more..." in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Blog' in file breadcrumb.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Product image' in file custom-products.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Product description' in file custom-products.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'File not found' in file products_feed.php.
  5. 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.
  6. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  9. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  10. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  11. Date and time implementation : Use of the_time()At least one hard coded date was found in the file footer.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file breadcrumb.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file the_breadcrumb.php. Function get_option( 'date_format' ) should be used instead.
  12. Screenshot : Screenshot fileScreenshot size is 300x225px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad 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 category template file category.phpThis theme does not contain optional file category.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 : single-product.php
    Ligne107: <?php include '_includes/price-table.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
    Ligne2: include('_functions/get-options.php');
    Ligne3: include('_includes/csscolor.php');
    Ligne209: <?php if(!is_front_page()) include '_includes/breadcrumb.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 : footer.php
    Ligne1: <?php include( TEMPLATEPATH . '/_functions/get-options.php' ); /* include theme o
    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 : price-table.php
    Ligne2: include(TEMPLATEPATH.'/_functions/get-options.php');
    Ligne3: include(TEMPLATEPATH.'/_includes/utils.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 : single.php
    Ligne1: <?php include( TEMPLATEPATH . '/_functions/get-options.php' ); /* include theme o
    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 : template-home.php
    Ligne6: include('_functions/get-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 : theme-options.php
    Ligne14: include_once('admin/products.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 : custom-products.php
    Ligne55: include('custom-taxonomy-product_brand.php');
    Ligne56: include('custom-taxonomy-product_bisbrand.php');
    Ligne57: include('custom-taxonomy-product_category.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 : products_management.php
    Ligne455: include 'pagination.class.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 : products.php
    Ligne14: include('home.php');
    Ligne18: include('products_feed.php');
    Ligne22: include('products_management.php');
    Ligne26: include('merchants_management.php');
    Ligne43: require_once(ABSPATH.'wp-admin/includes/upgrade.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 : theme-options.php
    Ligne3: include_once(TEMPLATEPATH.'/_products/admin/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 : shortcodes.php
    Ligne147: include(TEMPLATEPATH.'/_includes/price-table.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