11
Validation results

JNews

JNews

WordPress 6.4.3 theme
11
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Security breaches : Modification of PHP server settings Found ini_set in file Minifier.php. 246: ini_set($name, $suggested);
  2. 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-infopen was found in the file GoogleAnalytics.php 237: if ( ! $this->filesystem()->is_dir( $file ) && $handle = fopen( $file, 'w+' ) ) {fclose was found in the file GoogleAnalytics.php 238: fclose( $handle );file_get_contents was found in the file FrontendAsset.php 140: $content = @file_get_contents( $file );file_get_contents was found in the file BackendAsset.php 48: $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' ) );fwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfile_get_contents was found in the file Command.php 64: $css = file_get_contents($input);fwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfile_put_contents was found in the file Command.php 123: if (file_put_contents($output, $css) === false) {fwrite was found in the file Command.php 54: fwrite(STDERR, '-i <file> argument is missing' . PHP_EOL);60: fwrite(STDERR, 'Input file is not readable' . PHP_EOL);67: fwrite(STDERR, 'Input CSS code could not be retrieved from input file' . PH113: fwrite(STDOUT, $css . PHP_EOL);119: fwrite(STDERR, 'Output file is not writable' . PHP_EOL);124: fwrite(STDERR, 'Compressed CSS code could not be saved to output file' . PHfile_put_contents was found in the file SchemeStyle.php 197: file_put_contents( $file_path, $styles );file_get_contents was found in the file FrontendAjax.php 187: $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 991: $icon_svg = file_get_contents( get_parent_theme_file_uri( 'assets/img/tiktok.svg' ) );
  3. 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
  4. 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. 70: 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 Post_Meta_View.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<strong>Error</strong>: The password you entered for the email address %s is incorrect.' in file AccountHandler.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<strong>Error</strong>: The password you entered for the username %s is incorrect.' in file AccountHandler.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Lost your password?' in file AccountHandler.php.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, jfp, jnews-paywall, jnews-frontend-submit, jnews-video, jnews-performance, tgmpa.
  3. PHP short tags : Presence of PHP short tagsPHP short tags were found in file SocialCallback.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.76: request = new URL(`<?=$url?>${jnews_ajax_url}`);82: form.append('nonce', '<?=wp_create_nonce( 'save_twitch_token' )?>');106: request = new URL(`<?=$url?>${jnews_ajax_url}`);111: form.append('nonce', '<?=wp_create_nonce( 'save_facebook_token' )?>');
  4. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. 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.
  7. 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.
  8. 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.
  9. 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 114: include_once 'modules-container.php';119: 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 409: $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 104: 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 82: 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