32
Validation results

JNews

JNews

WordPress 6.5.2 theme
32
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Malware : Operations on file system file_get_contents was found in the file Element_Socialiconitem_View.php 196: $icon = file_get_contents( get_parent_theme_file_uri( 'assets/img/tiktok.svg' ) );file_get_contents was found in the file Slider_Overlay_View.php 20: $script = @file_get_contents( get_parent_theme_file_path( 'assets/js/joverlayslider-infile_get_contents was found in the file FrontendAsset.php 152: $content = @file_get_contents( $file );file_get_contents was found in the file BackendAsset.php 49: $content = @file_get_contents( $file );file_get_contents was found in the file SocialIcon.php 402: $icon = file_get_contents( get_parent_theme_file_uri( 'assets/img/tiktok.svg' ) );file_get_contents was found in the file FrontendAjax.php 179: $script = @file_get_contents( get_parent_theme_file_path( jnews_custom_text( 'sj.sezisfile_get_contents was found in the file SocialWidget.php 363: $icon = file_get_contents( get_parent_theme_file_uri( 'assets/img/tiktok.svg' ) );file_get_contents was found in the file theme-helper.php 965: $icon_svg = file_get_contents( get_parent_theme_file_uri( 'assets/img/tiktok.svg' ) );
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php : 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  3. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file Element_Userlist_View.php. Use home_url() instead.183: $content = $content . '<li><div class='jeg_userlist-wrap'><div class='jeg_userlist-photo'><a href=\'' . get_bloginfo( 'url' ) . '/?author=' . $user->ID . ''>' . get_avatar( $user-
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in BackendAsset.php. Themes must not deregister core scripts. 72: wp_deregister_script( 'bootstrap' );Found wp_deregister_script in ModuleElementor.php. Themes must not deregister core scripts. 185: wp_deregister_script( 'elementor-editor' );
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _n, with the arguments in file SinglePost.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file author-box.php.Found a translation function that is missing a text-domain. Function esc_attr_e, with the arguments in file author-box.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file comments-button.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file comments-button.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 jnews, jnews-paywall, jnews-frontend-submit, jnews-video, tgmpa.
  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. I18N implementation : Proper use of _e(Possible variable $key found in translation function in author-box.php. Translation function calls should not contain PHP variables. Possible variable $value found in translation function in author-box.php. Translation function calls should not contain PHP variables. Possible variable $post found in translation function in comments-button.php. Translation function calls should not contain PHP variables. Possible variable $post found in translation function in comments-button.php. Translation function calls should not contain PHP variables.
  6. I18N implementation : Proper use of esc_attr_e(Possible variable $key found in translation function in author-box.php. Translation function calls should not contain PHP variables. Possible variable $value found in translation function in author-box.php. Translation function calls should not contain PHP variables.
  7. I18N implementation : Proper use of esc_html_e(Possible variable $post found in translation function in comments-button.php. Translation function calls should not contain PHP variables. Possible variable $post found in translation function in comments-button.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. 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 image template file image.phpThis theme does not contain optional file image.php.
  7. Use of includes : Use of include or requireThe theme appears to use include or require : ModuleOptionAbstract.php 112: include_once 'modules-container.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 : ModuleVC.php 580: require_once (ABSPATH . '/wp-admin/includes/file.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 : ModuleManager.php 412: $this->module_array = empty( $this->module_array ) ? include 'modules.php' : $this->module_array; 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 : ArchiveBuilder.php 100: 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 : FooterBuilder.php 401: 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 : SinglePostTemplate.php 81: 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