0
Validation results

SmartMag

SmartMag

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 lazyload.php.
     $svg = base64_encode($svg);
  2. Malware : Operations on file system file_get_contents was found in the file amp.php 297: file_get_contents(get_template_directory() . '/inc/amp/map.json'),
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File dashboard.php : 32: add_menu_page('SmartMag', 'SmartMag', 'manage_options', 'sphere-dash', arraFile dashboard.php : 33: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp35: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',36: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt37: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage40: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 33: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp35: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',36: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt37: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage40: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 33: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp35: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',36: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt37: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage40: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 33: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp35: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',36: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt37: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage40: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 33: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp35: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',36: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt37: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage40: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile class-tgm-plugin-activation.php : 737: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : amp.php.
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was smartmag-core.zip bunyad-amp.zip bunyad-instagram-widget.zip sphere-core.zip bunyad-shortcodes.zip bunyad-demo-import.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag last-child { in 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 smartmag.
  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 bunyad, bunyad-admin, cheerup-admin, tgmpa.
  4. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  7. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file theme.php. Function get_option( 'date_format' ) should be used instead.
  8. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options-short.php.679: 'value' => '{copy} {year} ThemeSphere. Designed by <a href='https://theme-sphere.com'>ThemeSphere</a>.',Possible hard-coded links were found in the file footer.php.370: 'value' => '{copy} {year} ThemeSphere. Designed by <a href='https://theme-sphere.com'>ThemeSphere</a>.', // Example copyright message iPossible hard-coded links were found in the file dash-support.php.16: <a href='https://theme-sphere.com/docs/smartmag/' class='button button-primary butto25: <a href='https://theme-sphere.com/get-support/' class='button button-primary button-33: <a href='https://theme-sphere.com/feedback/' class='button button-primary button-larPossible hard-coded links were found in the file dash-welcome.php.79: Once your theme is activated, our <a href='https://theme-sphere.com/docs/smartmag/' target='_blank'>documentation</a> 96: <a href='https://theme-sphere.com/docs/smartmag/#post-install' target='_blank'>this
  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 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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
Other checked themes