0
Validation results

SmartMag (shared on themelot.net)

SmartMag (shared on themelot.net)

WordPress 4.8.2 theme
0
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.
    Ligne17: @ini_set('memory_limit', '512M');
  4. Malware : Operations on file system file_get_contents was found in the file parsers.php
    Ligne66: $success = $dom->loadXML( file_get_contents( $file ) );
    Ligne269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    file_get_contents was found in the file parsers.php
    Ligne66: $success = $dom->loadXML( file_get_contents( $file ) );
    Ligne269: if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
    fopen was found in the file parsers.php
    Ligne415: $fp = $this->fopen( $file, 'r' );
    Ligne641: function fopen( $filename, $mode = 'r' ) {
    Ligne644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Ligne464: $this->fclose($fp);
    Ligne659: function fclose( $fp ) {
    Ligne662: return fclose( $fp );
    fopen was found in the file parsers.php
    Ligne415: $fp = $this->fopen( $file, 'r' );
    Ligne641: function fopen( $filename, $mode = 'r' ) {
    Ligne644: return fopen( $filename, $mode );
    fopen was found in the file parsers.php
    Ligne415: $fp = $this->fopen( $file, 'r' );
    Ligne641: function fopen( $filename, $mode = 'r' ) {
    Ligne644: return fopen( $filename, $mode );
    fclose was found in the file parsers.php
    Ligne464: $this->fclose($fp);
    Ligne659: function fclose( $fp ) {
    Ligne662: return fclose( $fp );
    fclose was found in the file parsers.php
    Ligne464: $this->fclose($fp);
    Ligne659: function fclose( $fp ) {
    Ligne662: return fclose( $fp );
    file_get_contents was found in the file widgets-importer.php
    Ligne89: $data = file_get_contents( $file );
    file_get_contents was found in the file importer.php
    Ligne143: $data = json_decode(file_get_contents($widget_data));
    Ligne370: $data = json_decode(file_get_contents($this->demo_data_path . 'settings.json'), true);
    file_get_contents was found in the file importer.php
    Ligne143: $data = json_decode(file_get_contents($widget_data));
    Ligne370: $data = json_decode(file_get_contents($this->demo_data_path . 'settings.json'), true);
    file_get_contents was found in the file option-renderer.php
    Ligne522: $fonts = file_get_contents(get_template_directory() .'/admin/fonts.json');
    file_get_contents was found in the file options.php
    Ligne352: $data = file_get_contents($file['file']);
    file_put_contents was found in the file wp-import.php
    Ligne182: file_put_contents($upload['file'], file_get_contents($local_file));
    file_get_contents was found in the file wp-import.php
    Ligne182: file_put_contents($upload['file'], file_get_contents($local_file));
  5. Admin menu : Themes should use add_theme_page() for adding admin pages. File tgm-activation.php :
    Ligne409: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File importer.php :
    Ligne27: add_submenu_page(null, 'Demo Importer', '', 'manage_options', 'bunyad_demo_
    File options.php :
    Ligne38: //add_object_page($title, $title, 'edit_theme_options', 'bunyad-options', arr
  6. Deprecated functions : screen_icon screen_icon found in file wordpress-importer.php. Deprecated since version 3.8.
    Ligne1003: 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.
    Ligne876: $headers = wp_get_http( $url, $upload['file'] );
  8. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was bunyad-siteorigin-panels.zip bunyad-shortcodes.zip revslider.zip bunyad-widgets.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-shared-on-themelot-net.
  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.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, tgmpa, wordpress-importer, widget-importer-exporter, 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 .
  5. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.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.
    Ligne1003: 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.
    Ligne864: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Ligne1854: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Ligne1865: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Ligne864: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Ligne1854: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Ligne1865: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Ligne864: 'bunyad-admin'), '<a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a>'
    Ligne1854: 'desc'  => __('Please go to <a href='http://www.google.com/webfonts' target='_blank'>google fonts directory</a> 
    Ligne1865: '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 : menus.php
    Ligne42: include_once 'menu-walker-edit.php';
    Ligne54: 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.
    The theme appears to use include or require : init.php
    Ligne13: 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.
Other checked themes