98
Validation results

NewsMag

NewsMag

WordPress 4.9.1 theme
98
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function _e, with the arguments 'Welcome to Newsmag! - Version ', Version, 'newsmag' in file welcome-screen.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 newsmag, Version.
  2. I18N implementation : Proper use of _e(Possible variable $newsmag found in translation function in welcome-screen.php. Translation function calls should not contain PHP variables.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Ligne35: echo wp_kses_post( get_theme_mod( 'newsmag_copyright_contents', '&copy; ' . date( 'Y' ) . ' <a href='https://machothemes.com/newsmag-lite/'>Newsmag</a>. All rights reserved.' )
    Ligne35: echo wp_kses_post( get_theme_mod( 'newsmag_copyright_contents', '&copy; ' . date( 'Y' ) . ' <a href='https://machothemes.com/newsmag-lite/'>Newsmag</a>. All rights reserved.' )
    Ligne40: <?php echo __( 'Created by <a href='https://machothemes.com'>Macho Themes</a>', 'newsmag' ) ?>
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.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 author template file author.phpThis theme does not contain optional file author.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 : welcome-screen.php
    Ligne207: require_once( ABSPATH . 'wp-load.php' );
    Ligne208: require_once( ABSPATH . 'wp-admin/admin.php' );
    Ligne209: require_once( ABSPATH . 'wp-admin/admin-header.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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

99
Warning
  1. Text domain : Incorrect use of translation functions.Found a translation function that has an incorrect number of arguments. Function _e, with the arguments 'Welcome to Newsmag! - Version ', Version, 'newsmag' in file welcome-screen.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 newsmag, Version.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file footer.php.
    Ligne35: echo wp_kses_post( get_theme_mod( 'newsmag_copyright_contents', '&copy; ' . date( 'Y' ) . ' <a href='https://machothemes.com/newsmag-lite/'>Newsmag</a>. All rights reserved.' )
    Ligne35: echo wp_kses_post( get_theme_mod( 'newsmag_copyright_contents', '&copy; ' . date( 'Y' ) . ' <a href='https://machothemes.com/newsmag-lite/'>Newsmag</a>. All rights reserved.' )
    Ligne40: <?php echo __( 'Created by <a href='https://machothemes.com'>Macho Themes</a>', 'newsmag' ) ?>
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.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 author template file author.phpThis theme does not contain optional file author.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 : welcome-screen.php
    Ligne207: require_once( ABSPATH . 'wp-load.php' );
    Ligne208: require_once( ABSPATH . 'wp-admin/admin.php' );
    Ligne209: require_once( ABSPATH . 'wp-admin/admin-header.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