0
Validation results

Newspaper

Newspaper

WordPress 6.5.2 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Security breaches : Use of base64_encode() Found base64_encode in file functions.php.
     $tdnull['td_011'] = base64_encode( '7GP00000-78e1-4oa4-00000-2dfd39!NulledCH' );
  2. Malware : Operations on file system fopen was found in the file td_review.php 432: $fh = fopen($myFile, 'w') or die('can't open file');fwrite was found in the file td_review.php 436: fwrite($fh, $stringData);fclose was found in the file td_review.php 437: fclose($fh);
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File td_js.php : 162: add_submenu_page( 'td_theme_welcome', 'Activate theme', 'Activate theme', 'File td_panel.php : 35: /* wp doc: add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function36: add_menu_page('Theme panel', TD_THEME_NAME, 'edit_posts', 'td_theme_welcomeFile td_panel.php : 35: /* wp doc: add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function36: add_menu_page('Theme panel', TD_THEME_NAME, 'edit_posts', 'td_theme_welcomeFile td_panel.php : 39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_pFile td_panel.php : 39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_pFile td_panel.php : 39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_pFile td_panel.php : 39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_pFile td_panel.php : 39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_pFile td_cake.php : 172: add_submenu_page( 'td_theme_welcome', 'Activate theme', 'Activate theme', 'File class-tgm-plugin-activation.php : 741: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file td_view_install_demos.php. get_template_directory() should be used instead. 4: //require_once TEMPLATEPATH . '/includes/demos/blog_baby/td_import.php';
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was td-social-counter.zip td-newsletter.zip td-cloud-library.zip td-mobile-plugin.zip td-composer.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 white has been deprecated, it must be removed from style.css header.The tag fixed-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 newspaper.
  3. 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 newspaper, tgmpa.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  7. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  8. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 390x150px (13:5). Ratio of width to height should be 4:3.Screenshot size is 390x150px. 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 td_wp_booster_functions.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  4. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.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 : comments.php 20: require_once( TDB_TEMPLATE_BUILDER_DIR . '/parts/tdb-comments.php' );22: require_once('includes/wp_booster/comments.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 : sidebar.php 7: require_once('includes/wp_booster/sidebar.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 : td_panel_theme_fonts.php 2: <?php require_once(td_global::$get_template_directory . '/includes/wp_booster/wp- 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 : td_first_install.php 48: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );191: require_once(ABSPATH . 'wp-admin/includes/file.php');192: require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');193: require_once(ABSPATH . 'wp-admin/includes/class-wp-upgrader.php');194: require_once(ABSPATH . 'wp-admin/includes/plugin.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 : td_autoload_classes.php 39: // require_once($class_file_path); - we need to use load_template to make our 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 : td_js.php 187: 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 : td_view_support.php 3: 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 : td_panel.php 64: 69: 73: 77: 81: require_once 'td_view_system_status.php';97: include 'td_view_import_export_settings.php';100: include 'td_view_update_newspaper_6.php';108: include 'td_view_panel.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 : td_view_install_demos.php 2: 110: //require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_1.php111: require_once(td_global::$demo_list[$_GET['puiu_test']]['folder'] . 'td_impo 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 : td_demo_util.php 1323: require_once(ABSPATH . 'wp-admin/includes/media.php');1324: require_once(ABSPATH . 'wp-admin/includes/file.php');1325: require_once(ABSPATH . 'wp-admin/includes/image.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 : td_view_system_status.php 5: 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 : td_demo_installer.php 147: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_1.php154: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_2.php159: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_3.php163: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_4.php167: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_5.php171: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_6.php177: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_import.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 : td_view_theme_plugins.php 62: 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 : td_panel_core.php 139: require_once($panel_array['file']); // the panel is loaded from our hardcod211: require_once(td_global::$get_template_directory . '/includes/wp_booster/wp- 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 : td_panel_generator.php 697: ace.require('ace/ext/language_tools');748: ace.require('ace/ext/language_tools');797: ace.require('ace/ext/language_tools'); 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 : td_view_welcome.php 2: 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 : td_wp_booster_functions.php 10: require_once('td_admin_notices.php');13: require_once('td_global.php');14: require_once('td_options.php');18: require_once('td_util.php');22: require_once('td_api.php');27: require_once('wp-admin/panel/panel_core/td_panel_data_source.php');30: require_once('td_fonts.php'); // no autoload - fonts support32: require_once('td_first_install.php'); // no autoload - the code that runs39: require_once('td_global_blocks.php'); // no autoload -40: //require_once('td_menu.php'); // theme menu support47: require_once('td_social_icons.php'); // no autoload (almost always neede48: require_once('td_js_buffer.php'); // no autoload - the theme always o49: require_once('td_unique_posts.php'); // no autoload - unique posts (uses50: require_once('td_module.php'); // module builder51: require_once('td_block.php'); // block builder52: //require_once('td_cake.php');53: require_once('td_js_generator.php'); // no autoload - the theme always o54: require_once('td_block_widget.php'); // no autoload - used to make widge55: require_once('td_background.php'); // background support - is not auto56: require_once('td_background_render.php');57: require_once('td_style.php'); // - base class for block' styles59: require_once('td_gutenberg.php'); // wp 5.0(gutenberg) block editor customi61: require_once('td_autoload_classes.php'); //used to autoload classes [modul172: require_once('td_ios_redirect.php' );829: require_once('td_translate.php');1354: require_once(get_template_directory() . '/includes/td_templates_builder.php2343: //require_once('td_js.php');2352: require_once('wp-admin/panel/td_demo_installer.php');2353: require_once('wp-admin/panel/td_demo_util.php');2360: require_once('wp-admin/panel/panel_core/td_panel_core.php');2361: require_once('wp-admin/panel/panel_core/td_panel_generator.php');2365: require_once('wp-admin/panel/td_panel.php');2368: require_once( 'wp-admin/panel/td_theme_plugins_setup.php' );2374: require_once(ABSPATH . 'wp-admin/includes/file.php');2386: require_once('wp-admin/tinymce/tinymce.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 : td_menu.php 39: //include_once('td_menu_back.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 : td_cake.php 197: 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 : td_global.php 736: require_once(ABSPATH . 'wp-admin/includes/plugin.php');741: require_once(ABSPATH . 'wp-admin/includes/plugin.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 : td_smart_list.php 97: include( get_404_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