33
Validation results

Hotelica

Hotelica

WordPress 4.9.8 theme
33
Critical alerts
  1. Malware : Network operations curl_init was found in the file FreemiusWordPress.php
    Line 43: 'curl_init',
    Line 519: * @param resource $handle A cURL handle returned by curl_init()
    Line 521: * @return resource $handle A cURL handle returned by curl_init() with CURLOPT_IPRESOLVE set to
    Line 616: 'curl_init',
    curl_init was found in the file FreemiusWordPress.php
    Line 43: 'curl_init',
    Line 519: * @param resource $handle A cURL handle returned by curl_init()
    Line 521: * @return resource $handle A cURL handle returned by curl_init() with CURLOPT_IPRESOLVE set to
    Line 616: 'curl_init',
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-fs-admin-menu-manager.php :
    Line 768: *  This is a replication of `add_menu_page()` to avoid Theme Check warning.
    File class-fs-admin-menu-manager.php :
    Line 871: *  This is a replication of `add_submenu_page()` to avoid Theme Check warning.
  3. Deprecated functions : get_bloginfo get_bloginfo('wpurl') was found in the file contact.php. Use site_url() instead.
    Line 73: //		'wp_admin_css' => get_bloginfo('wpurl') . '/wp-admin/load-styles.php?c=1&load=buttons,wp-admi
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.
  2. 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 hotelica, kirki.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  5. 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.
  6. I18N implementation : Proper use of _x(Possible variable $text found in translation function in l10n.php. Translation function calls should not contain PHP variables.
    Line 44: function _fs_x( $text, $context ) {
  7. 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.
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 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.

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

57
Critical alerts
  1. Malware : Network operations curl_init was found in the file FreemiusWordPress.php
    Line 43: 'curl_init',
    Line 519: * @param resource $handle A cURL handle returned by curl_init()
    Line 521: * @return resource $handle A cURL handle returned by curl_init() with CURLOPT_IPRESOLVE set to
    Line 616: 'curl_init',
    curl_init was found in the file FreemiusWordPress.php
    Line 43: 'curl_init',
    Line 519: * @param resource $handle A cURL handle returned by curl_init()
    Line 521: * @return resource $handle A cURL handle returned by curl_init() with CURLOPT_IPRESOLVE set to
    Line 616: 'curl_init',
  2. Deprecated functions : get_bloginfo get_bloginfo('wpurl') was found in the file contact.php. Use site_url() instead.
    Line 73: //		'wp_admin_css' => get_bloginfo('wpurl') . '/wp-admin/load-styles.php?c=1&load=buttons,wp-admi
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.
  2. 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 hotelica, kirki.
  3. 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.
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 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.
Other checked themes