12
Validation results

Newspaper

Newspaper

WordPress 6.5.2 theme
12
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Malware : Operations on file system fopen was found in the file td_review.php
    Ligne432: $fh = fopen($myFile, 'w') or die('can't open file');
    fwrite was found in the file td_review.php
    Ligne436: fwrite($fh, $stringData);
    fclose was found in the file td_review.php
    Ligne437: fclose($fh);
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php :
    Ligne741: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File td_js.php :
    Ligne162: add_submenu_page( 'td_theme_welcome', 'Activate theme', 'Activate theme', '
    File td_panel.php :
    Ligne35: /* wp doc: add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function
    Ligne36: add_menu_page('Theme panel', TD_THEME_NAME, 'edit_posts', 'td_theme_welcome
    File td_panel.php :
    Ligne35: /* wp doc: add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function
    Ligne36: add_menu_page('Theme panel', TD_THEME_NAME, 'edit_posts', 'td_theme_welcome
    File td_panel.php :
    Ligne39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't
    Ligne43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed
    Ligne46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '
    Ligne47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed
    Ligne50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_p
    File td_panel.php :
    Ligne39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't
    Ligne43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed
    Ligne46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '
    Ligne47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed
    Ligne50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_p
    File td_panel.php :
    Ligne39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't
    Ligne43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed
    Ligne46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '
    Ligne47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed
    Ligne50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_p
    File td_panel.php :
    Ligne39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't
    Ligne43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed
    Ligne46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '
    Ligne47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed
    Ligne50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_p
    File td_panel.php :
    Ligne39: add_submenu_page('td_theme_welcome', 'Plugins', 'Plugins', 'edit_posts', 't
    Ligne43: add_submenu_page( 'td_theme_welcome', 'Install demos', 'Install demos', 'ed
    Ligne46: add_submenu_page( 'td_theme_welcome', 'Support', 'Support', 'edit_posts', '
    Ligne47: add_submenu_page( 'td_theme_welcome', 'System status', 'System status', 'ed
    Ligne50: add_submenu_page( 'td_theme_welcome', 'Theme panel', 'Theme panel', 'edit_p
    File td_cake.php :
    Ligne172: add_submenu_page( 'td_theme_welcome', 'Activate theme', 'Activate theme', '
  3. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file td_view_install_demos.php. get_template_directory() should be used instead.
    Ligne4: //require_once TEMPLATEPATH . '/includes/demos/blog_baby/td_import.php';
  4. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was td-social-counter.zip td-cloud-library.zip td-newsletter.zip td-composer.zip td-mobile-plugin.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 : sidebar.php
    Ligne7: 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
    Ligne2: <?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_js.php
    Ligne187: 
    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
    Ligne736: require_once(ABSPATH . 'wp-admin/includes/plugin.php');
    Ligne741: 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_menu.php
    Ligne39: //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_demo_util.php
    Ligne1323: require_once(ABSPATH . 'wp-admin/includes/media.php');
    Ligne1324: require_once(ABSPATH . 'wp-admin/includes/file.php');
    Ligne1325: 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_panel_generator.php
    Ligne697: ace.require('ace/ext/language_tools');
    Ligne748: ace.require('ace/ext/language_tools');
    Ligne797: 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_panel_core.php
    Ligne139: require_once($panel_array['file']); // the panel is loaded from our hardcod
    Ligne211: 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_view_support.php
    Ligne3: 
    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
    Ligne147: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_1.php
    Ligne154: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_2.php
    Ligne159: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_3.php
    Ligne163: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_4.php
    Ligne167: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_5.php
    Ligne171: require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_6.php
    Ligne177: 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
    Ligne62: 
    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
    Ligne2: 
    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
    Ligne2: 
    Ligne110: //require_once(td_global::$demo_list[$td_demo_id]['folder'] . 'td_media_1.php
    Ligne111: 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_panel.php
    Ligne64: 
    Ligne69: 
    Ligne73: 
    Ligne77: 
    Ligne81: require_once 'td_view_system_status.php';
    Ligne97: include 'td_view_import_export_settings.php';
    Ligne100: include 'td_view_update_newspaper_6.php';
    Ligne108: 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_system_status.php
    Ligne5: 
    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
    Ligne97: 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.
    The theme appears to use include or require : td_autoload_classes.php
    Ligne39: // 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_cake.php
    Ligne197: 
    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
    Ligne48: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Ligne191: require_once(ABSPATH . 'wp-admin/includes/file.php');
    Ligne192: require_once(ABSPATH . 'wp-admin/includes/plugin-install.php');
    Ligne193: require_once(ABSPATH . 'wp-admin/includes/class-wp-upgrader.php');
    Ligne194: 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_wp_booster_functions.php
    Ligne10: require_once('td_admin_notices.php');
    Ligne13: require_once('td_global.php');
    Ligne14: require_once('td_options.php');
    Ligne18: require_once('td_util.php');
    Ligne22: require_once('td_api.php');
    Ligne27: require_once('wp-admin/panel/panel_core/td_panel_data_source.php');
    Ligne30: require_once('td_fonts.php');           // no autoload - fonts support
    Ligne32: require_once('td_first_install.php');   // no autoload - the code that runs
    Ligne39: require_once('td_global_blocks.php');   // no autoload -
    Ligne40: //require_once('td_menu.php');            // theme menu support
    Ligne47: require_once('td_social_icons.php');    // no autoload (almost always neede
    Ligne48: require_once('td_js_buffer.php');       // no autoload - the theme always o
    Ligne49: require_once('td_unique_posts.php');    // no autoload - unique posts (uses
    Ligne50: require_once('td_module.php');          // module builder
    Ligne51: require_once('td_block.php');           // block builder
    Ligne52: require_once('td_cake.php');
    Ligne53: require_once('td_js_generator.php');    // no autoload - the theme always o
    Ligne54: require_once('td_block_widget.php');    // no autoload - used to make widge
    Ligne55: require_once('td_background.php');      // background support - is not auto
    Ligne56: require_once('td_background_render.php');
    Ligne57: require_once('td_style.php');           // - base class for block' styles
    Ligne59: require_once('td_gutenberg.php'); // wp 5.0(gutenberg) block editor customi
    Ligne61: require_once('td_autoload_classes.php');  //used to autoload classes [modul
    Ligne172: require_once('td_ios_redirect.php' );
    Ligne829: require_once('td_translate.php');
    Ligne1354: require_once(get_template_directory() . '/includes/td_templates_builder.php
    Ligne2343: require_once('td_js.php');
    Ligne2352: require_once('wp-admin/panel/td_demo_installer.php');
    Ligne2353: require_once('wp-admin/panel/td_demo_util.php');
    Ligne2360: require_once('wp-admin/panel/panel_core/td_panel_core.php');
    Ligne2361: require_once('wp-admin/panel/panel_core/td_panel_generator.php');
    Ligne2365: require_once('wp-admin/panel/td_panel.php');
    Ligne2368: require_once( 'wp-admin/panel/td_theme_plugins_setup.php' );
    Ligne2374: require_once(ABSPATH . 'wp-admin/includes/file.php');
    Ligne2386: 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 : comments.php
    Ligne20: require_once( TDB_TEMPLATE_BUILDER_DIR . '/parts/tdb-comments.php' );
    Ligne22: 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.
Other checked themes