0
Validation results

SmartMag Themekiller.com

SmartMag Themekiller.com

WordPress 4.8.2 theme
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. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Security breaches : Modification of PHP server settings Found ini_set in file wp-import.php.
    Line 14: @ini_set('memory_limit', '512M');
  4. Malware : Operations on file system file_get_contents was found in the file parsers.php
    Line 66: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    file_get_contents was found in the file parsers.php
    Line 66: $success = $dom->loadXML( file_get_contents( $file ) );
    Line 269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fopen was found in the file parsers.php
    Line 415: $fp = $this->fopen( $file, 'r' );
    Line 641: function fopen( $filename, $mode = 'r' ) {
    Line 644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    fclose was found in the file parsers.php
    Line 464: $this->fclose($fp);
    Line 659: function fclose( $fp ) {
    Line 662: return fclose( $fp );
    file_get_contents was found in the file widgets-importer.php
    Line 89: $data = file_get_contents( $file );
    file_get_contents was found in the file importer.php
    Line 133: $data = json_decode(file_get_contents($widget_data));
    Line 360: $data = json_decode(file_get_contents(get_template_directory() . '/admin/demo-data/settings.jso
    file_get_contents was found in the file importer.php
    Line 133: $data = json_decode(file_get_contents($widget_data));
    Line 360: $data = json_decode(file_get_contents(get_template_directory() . '/admin/demo-data/settings.jso
    file_get_contents was found in the file option-renderer.php
    Line 523: $fonts = file_get_contents(get_template_directory() .'/admin/fonts.json');
    file_get_contents was found in the file options.php
    Line 341: $data = file_get_contents($file['file']);
    file_put_contents was found in the file wp-import.php
    Line 82: file_put_contents($upload['file'], file_get_contents($local_file));
    file_get_contents was found in the file wp-import.php
    Line 82: file_put_contents($upload['file'], file_get_contents($local_file));
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File tgm-activation.php :
    Line 409: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File importer.php :
    Line 26: add_submenu_page(null, 'Demo Importer', '', 'manage_options', 'bunyad_demo_
    File options.php :
    Line 38: //add_object_page($title, $title, 'edit_theme_options', 'bunyad-options', arr
  6. Deprecated functions : screen_icon screen_icon found in file wordpress-importer.php. Deprecated since version 3.8.
    Line 1003: screen_icon();
  7. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
    Line 876: $headers = wp_get_http( $url, $upload['file'] );
  8. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was bunyad-siteorigin-panels.zip bunyad-shortcodes.zip revslider.zip bunyad-widgets.zip.
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  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 smartmag-themekiller-com.
  4. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments '152x152 recommended in PNG format. This icon will be used when users add your ', website as a shortcut on mobile devices like iPhone, iPad, Android etc., 'bunyad' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Selecting a font will show a basic preview. Go to %s for more details. ', It is highly recommended that you choose fonts that have similar heights to , 'the default fonts to maintain pleasing aesthetics.' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Selecting a font will show a basic preview. Go to %s for more details. ', It is highly recommended that you choose fonts that have similar heights to , 'the default fonts to maintain pleasing aesthetics.', 'bunyad' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'This effects almost every element on the theme. Please use a family that has regular, semi-bold and bold style. You may ', want to set the same for Blog Post & Pages Body too., 'bunyad' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'It is the contrast color for the theme. It will be used for all links, menu, category overlays, main page and ', many contrasting elements., 'bunyad' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The right side posts grid consists of 3 blocks and shows the last 3 of the 8 posts marked ', as featured. It is optional setting and does not apply to category sliders. It only applies , 'to homepage slider.' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The right side posts grid consists of 3 blocks and shows the last 3 of the 8 posts marked ', as featured. It is optional setting and does not apply to category sliders. It only applies , 'to homepage slider.', 'bunyad' in file options.php.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 bunyad, tgmpa, wordpress-importer, widget-importer-exporter, website as a shortcut on mobile devices like iPhone, iPad, Android etc., It is highly recommended that you choose fonts that have similar heights to , want to set the same for Blog Post & Pages Body too., , many contrasting elements., as featured. It is optional setting and does not apply to category sliders. It only applies .
  5. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  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. Deprecated functions : screen_iconscreen_icon found in file wordpress-importer.php. Deprecated since version 3.8.
    Line 1003: screen_icon();
  9. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  10. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 550x400px (11:8). Ratio of width to height should be 4:3.Screenshot size is 550x400px. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options.php.
    Line 732: 'bunyad'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Line 1714: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Line 1725: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Line 732: 'bunyad'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Line 1714: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Line 1725: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Line 732: 'bunyad'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Line 1714: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Line 1725: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.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 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 : menus.php
    Line 43: include_once 'menu-walker-edit.php';
    Line 55: include_once 'menu-walker.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