0
Validation results

SmartMag

SmartMag

WordPress 6.7.1 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Security breaches : Modification of PHP server settings Found ini_set in file wp-import.php. 17: @ini_set('memory_limit', '512M');
  4. Malware : Operations on file system file_get_contents was found in the file option-renderer.php 593: $fonts = file_get_contents(get_template_directory() .'/admin/fonts.json');file_get_contents was found in the file importer.php 147: $data = json_decode(file_get_contents($widget_data));374: $data = json_decode(file_get_contents($this->demo_data_path . 'settings.json'), true);file_get_contents was found in the file importer.php 147: $data = json_decode(file_get_contents($widget_data));374: $data = json_decode(file_get_contents($this->demo_data_path . 'settings.json'), true);file_put_contents was found in the file wp-import.php 182: file_put_contents($upload['file'], file_get_contents($local_file));file_get_contents was found in the file wp-import.php 182: file_put_contents($upload['file'], file_get_contents($local_file));file_get_contents was found in the file options.php 385: $data = file_get_contents($file['file']);file_get_contents was found in the file parsers.php 66: $success = $dom->loadXML( file_get_contents( $file ) );269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {file_get_contents was found in the file parsers.php 66: $success = $dom->loadXML( file_get_contents( $file ) );269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {fopen was found in the file parsers.php 415: $fp = $this->fopen( $file, 'r' );641: function fopen( $filename, $mode = 'r' ) {644: return fopen( $filename, $mode );fclose was found in the file parsers.php 464: $this->fclose($fp);659: function fclose( $fp ) {662: return fclose( $fp );fopen was found in the file parsers.php 415: $fp = $this->fopen( $file, 'r' );641: function fopen( $filename, $mode = 'r' ) {644: return fopen( $filename, $mode );fopen was found in the file parsers.php 415: $fp = $this->fopen( $file, 'r' );641: function fopen( $filename, $mode = 'r' ) {644: return fopen( $filename, $mode );fclose was found in the file parsers.php 464: $this->fclose($fp);659: function fclose( $fp ) {662: return fclose( $fp );fclose was found in the file parsers.php 464: $this->fclose($fp);659: function fclose( $fp ) {662: return fclose( $fp );file_get_contents was found in the file widgets-importer.php 89: $data = file_get_contents( $file );
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File importer.php : 27: add_submenu_page(null, 'Demo Importer', '', 'manage_options', 'bunyad_demo_File options.php : 47: //add_object_page($title, $title, 'edit_theme_options', 'bunyad-options', arrFile tgm-activation.php : 737: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  6. Deprecated functions : screen_icon screen_icon found in file wordpress-importer.php. Deprecated since version 3.8.1003: screen_icon();
  7. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.876: $headers = wp_get_http( $url, $upload['file'] );
  8. Deprecated functions : get_bloginfo get_bloginfo('url') was found in the file schema.php. Use home_url() instead.271: 'sameAs' => get_bloginfo('url')
  9. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was bunyad-siteorigin-panels.zip bunyad-widgets.zip sphere-core.zip bunyad-shortcodes.zip.
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. 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.
  4. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function __, with the arguments '152x152 recommended in PNG format. This icon will be used when users add your ', website as a shortcut on mobile devices like iPhone, iPad, Android etc., 'bunyad-admin' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Selecting a font will show a basic preview. Go to %s for more details. ', It is highly recommended that you choose fonts that have similar heights to , 'the default fonts to maintain pleasing aesthetics.' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'Selecting a font will show a basic preview. Go to %s for more details. ', It is highly recommended that you choose fonts that have similar heights to , 'the default fonts to maintain pleasing aesthetics.', 'bunyad-admin' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'This effects almost every element on the theme. Please use a family that has regular, semi-bold and bold style. You may ', want to set the same for Blog Post & Pages Body too., 'bunyad-admin' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'It is the contrast color for the theme. It will be used for all links, menu, category overlays, main page and ', many contrasting elements., 'bunyad-admin' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The right side posts grid consists of 3 blocks and shows the last 3 of the 8 posts marked ', as featured. It is optional setting and does not apply to category sliders. It only applies , 'to homepage slider. This only applies to Default Slider!' in file options.php.Found a translation function that has an incorrect number of arguments. Function __, with the arguments 'The right side posts grid consists of 3 blocks and shows the last 3 of the 8 posts marked ', as featured. It is optional setting and does not apply to category sliders. It only applies , 'to homepage slider. This only applies to Default Slider!', 'bunyad-admin' in file options.php.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Save my name, email, and website in this browser for the next time I comment.' in file comments.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 bunyad, bunyad-admin, website as a shortcut on mobile devices like iPhone, iPad, Android etc., It is highly recommended that you choose fonts that have similar heights to , want to set the same for Blog Post & Pages Body too., , many contrasting elements., as featured. It is optional setting and does not apply to category sliders. It only applies , amp, wordpress-importer, cheerup, tgmpa, widget-importer-exporter.
  5. 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.
  6. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  7. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  8. Deprecated functions : screen_iconscreen_icon found in file wordpress-importer.php. Deprecated since version 3.8.1003: screen_icon();
  9. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  10. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options.php.926: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'2011: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 2022: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 926: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'2011: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 2022: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 926: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'2011: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 2022: 'desc' => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : content.php 26: require_once( AMP__DIR__ . '/includes/utils/class-amp-dom-utils.php' );27: require_once( AMP__DIR__ . '/includes/sanitizers/class-amp-base-sanitizer.p28: require_once( AMP__DIR__ . '/includes/embeds/class-amp-base-embed-handler.p 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 : init.php 13: require_once 'bunyad.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 : menus.php 42: include_once 'menu-walker-edit.php';54: include_once 'menu-walker.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