53
Validation results

Petro

Petro

WordPress 4.9.8 theme
53
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEpetro.zip
  • FILE SIZE4450277 bytes
  • MD5903ec04b8398fc725867bd5b93daed0a
  • SHA1c795eef4b322ac574f5d923e6dc3c9d54f50611b
  • LICENSECustom
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEMEFOREST PAGEhttps://themeforest.net/item/petro-oil-industry-and-engineering-factory-wordpress-theme/20217564 ($52)
  • THEME URIhttp://store.themegum.com/?theme=petro
  • VERSION2.1.9
  • TAGStwo-columns, three-columns, left-sidebar, right-sidebar, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
  • CREATION DATE2018-08-06
  • LAST FILE UPDATE2018-08-06
  • LAST VALIDATION2018-08-06 23:32
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://w.soundcloud.com/player/?url='.esc_url($atts['url']).'&'.$atts['params'].'&download=false&color=transparent" height="'.$atts['height'].'"> in file themegum_functions.php.
    Line 4295: $content ='<div class='soundcloud-media'><iframe src='https://w.soundcloud.com/player/?url='.esc_url($atts['url']).'
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File settings.php :
    Line 76: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
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 petro, woocommerce.
  2. 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.
    Line 16: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  3. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  4. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  5. I18N implementation : Proper use of ___all(Possible variable $string found in translation function in themegum_functions.php. Translation function calls should not contain PHP variables.
    Line 525: return pll__($string);
  6. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  7. 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 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 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 : tgm.php
    Line 3: require_once (get_template_directory().'/lib/tgm/class-tgm-plugin-activatio
    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 7: require_once(ABSPATH .'/wp-admin/includes/file.php');
    Line 8: require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php');
    Line 9: require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-direct.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 : options.php
    Line 7: require_once(get_template_directory().'/redux-framework/ReduxCore/framework
    Line 12: require_once(get_template_directory().'/lib/config.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 : framework.php
    Line 3398: require_once(get_template_directory().'/redux-framework/ReduxCore/settings.
    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 117: include_once( get_template_directory().'/redux-framework/ReduxCore/core/enq
    Line 576: require_once( get_template_directory(). '/redux-framework/ReduxCore/inc/fie
    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.

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

96
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEpetro.zip
  • FILE SIZE4450277 bytes
  • MD5903ec04b8398fc725867bd5b93daed0a
  • SHA1c795eef4b322ac574f5d923e6dc3c9d54f50611b
  • LICENSECustom
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEMEFOREST PAGEhttps://themeforest.net/item/petro-oil-industry-and-engineering-factory-wordpress-theme/20217564 ($52)
  • THEME URIhttp://store.themegum.com/?theme=petro
  • VERSION2.1.9
  • TAGStwo-columns, three-columns, left-sidebar, right-sidebar, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
  • CREATION DATE2018-08-06
  • LAST FILE UPDATE2018-08-06
  • LAST VALIDATION2018-08-06 23:32
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 petro, woocommerce.
  2. 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.
    Line 16: # Modified by Dovy Paukstys to remove <? shortcode-like declaration.
  3. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  4. 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 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 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 : tgm.php
    Line 3: require_once (get_template_directory().'/lib/tgm/class-tgm-plugin-activatio
    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 7: require_once(ABSPATH .'/wp-admin/includes/file.php');
    Line 8: require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-base.php');
    Line 9: require_once(ABSPATH . 'wp-admin/includes/class-wp-filesystem-direct.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 : options.php
    Line 7: require_once(get_template_directory().'/redux-framework/ReduxCore/framework
    Line 12: require_once(get_template_directory().'/lib/config.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 : framework.php
    Line 3398: require_once(get_template_directory().'/redux-framework/ReduxCore/settings.
    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 117: include_once( get_template_directory().'/redux-framework/ReduxCore/core/enq
    Line 576: require_once( get_template_directory(). '/redux-framework/ReduxCore/inc/fie
    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.
Other checked themes