0
Validation results

Zerif PRO Themekiller.com

Zerif PRO Themekiller.com

WordPress 4.9.8 theme
0
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe class='zerif_google_map' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='https://maps.google.com/maps?&amp;q=".urlencode( $zerif_googlemap_address )."&amp;output=embed&iwloc'> in file google_map.php.
    Ligne25: echo '<section id='map'><iframe class='zerif_google_map' frameborder='0' scrolling='no'  marginheig
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne641: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Inapropriate constants : Use of HEADER_TEXTCOLOR Constant HEADER_TEXTCOLOR was found in the file custom-header.php. add_theme_support( 'custom-header' ) should be used instead.
    Ligne49: // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value
    
    Ligne50: if ( HEADER_TEXTCOLOR == $header_text_color ) {
    
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was mailin.zip widget-customizer.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag black has been deprecated, it must be removed from style.css header.The tag gray has been deprecated, it must be removed from style.css header.The tag red has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. 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 zerif-pro-themekiller-com.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Install Required Plugins' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Install Plugins' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Installing Plugin: %s' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Something went wrong with the plugin API.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.', 'Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.', 'Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.', 'Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin installing plugin', 'Begin installing plugins' in file functions.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin activating plugin', 'Begin activating plugins' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Return to Required Plugins Installer' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Plugin activated successfully.' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'All plugins installed and activated successfully. %s' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Image:' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Image:' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Image:' in file functions.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Image:' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Updating this theme will lose any customizations you have made. 'Cancel' to stop, 'OK' to update." in file cwp-update.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 zerif, tgmpa, zerif-lite, wp_themeisle.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  5. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file functions.php.
  6. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.css.
  7. I18N implementation : Proper use of ___all(Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables. Possible variable $theme_text_domain found in translation function in functions.php. Translation function calls should not contain PHP variables.
  8. Screenshot : Screenshot fileScreenshot size is 880x660px. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Ligne378: <p class='TK'><a href='http://www.themekiller.com/' title='themekiller' rel='follow'></a><a href='
    Possible hard-coded links were found in the file cwp-update.php.
    Ligne24: echo '<p ><input '.(($status === 'valid') ? ('style='border:1px solid #7ad03a; '') : '').' type='text' id='zerif_pro_license' name='zerif_pro_license' value='' . $value . '' /><a '.(($status === 'valid') ? ('style='color:#fff;background:  #7ad03a; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px;  -webkit-border-radius: 3px;border-radius: 3px; '>Valid') : ('style='color:#fff;background:  #dd3d36; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px;  -webkit-border-radius: 3px;border-radius: 3px; '>Invalid')).' </a>&nbsp;&nbsp;&nbsp;<button name='zerif_pro_btn_trigger' '.(($status === 'valid') ? (' class='button button-primary'>Deactivate') : (' class='button button-primary' value='yes' type='submit' >Activate')).' </button></p><p class='description'>Enter your license from <a  href='https://themeisle.com/purchase-history'>themeisle.com</a> in order to get t
    Ligne109: <p><strong>You do not have a valid license for <?php echo $theme_data->get('Name'); ?>  theme !!!. You can get the license code from your purchase history on <a href='https://themeisle.com/purchase-history' >themeisle.com</a> and validate it 
    Ligne24: echo '<p ><input '.(($status === 'valid') ? ('style='border:1px solid #7ad03a; '') : '').' type='text' id='zerif_pro_license' name='zerif_pro_license' value='' . $value . '' /><a '.(($status === 'valid') ? ('style='color:#fff;background:  #7ad03a; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px;  -webkit-border-radius: 3px;border-radius: 3px; '>Valid') : ('style='color:#fff;background:  #dd3d36; display: inline-block;text-decoration: none;font-size: 13px;line-height: 26px;height: 26px; margin-left:5px; padding: 0 10px 1px;  -webkit-border-radius: 3px;border-radius: 3px; '>Invalid')).' </a>&nbsp;&nbsp;&nbsp;<button name='zerif_pro_btn_trigger' '.(($status === 'valid') ? (' class='button button-primary'>Deactivate') : (' class='button button-primary' value='yes' type='submit' >Activate')).' </button></p><p class='description'>Enter your license from <a  href='https://themeisle.com/purchase-history'>themeisle.com</a> in order to get t
    Ligne109: <p><strong>You do not have a valid license for <?php echo $theme_data->get('Name'); ?>  theme !!!. You can get the license code from your purchase history on <a href='https://themeisle.com/purchase-history' >themeisle.com</a> and validate it 
    Ligne120: <p><strong>Your license is about to expire for <?php echo $theme_data->get('Name'); ?>   theme !!!. You can go to  <a href='https://themeisle.com/' >themeisle.com</a> and  renew it.</strong>| <a href
    Ligne135: return 'https://themeisle.com/checkout/?edd_license_key='.$license_data->key.'&down
    Ligne139: return ' https://themeisle.com/';
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.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 : front-page.php
    Ligne8: include( get_page_template() );
    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