0
Validation results

Ninja Default Theme

Ninja Default Theme

WordPress 5.2.1 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Malware : Operations on file system file_get_contents was found in the file class-ninja-customizer.php 770: $css .= file_get_contents( NINJA_THEME_DIR . '/less/theme.less' );774: $css .= file_get_contents( NINJA_THEME_DIR . '/less/woocommerce.less' );791: $css .= file_get_contents( $skin_file );836: $mixins = file_get_contents( NINJA_THEME_DIR . '/less/mixins.less' );file_get_contents was found in the file class-ninja-customizer.php 770: $css .= file_get_contents( NINJA_THEME_DIR . '/less/theme.less' );774: $css .= file_get_contents( NINJA_THEME_DIR . '/less/woocommerce.less' );791: $css .= file_get_contents( $skin_file );836: $mixins = file_get_contents( NINJA_THEME_DIR . '/less/mixins.less' );file_get_contents was found in the file class-ninja-customizer.php 770: $css .= file_get_contents( NINJA_THEME_DIR . '/less/theme.less' );774: $css .= file_get_contents( NINJA_THEME_DIR . '/less/woocommerce.less' );791: $css .= file_get_contents( $skin_file );836: $mixins = file_get_contents( NINJA_THEME_DIR . '/less/mixins.less' );file_put_contents was found in the file class-ninja-customizer.php 806: file_put_contents( $filename, $css );file_get_contents was found in the file class-ninja-customizer.php 770: $css .= file_get_contents( NINJA_THEME_DIR . '/less/theme.less' );774: $css .= file_get_contents( NINJA_THEME_DIR . '/less/woocommerce.less' );791: $css .= file_get_contents( $skin_file );836: $mixins = file_get_contents( NINJA_THEME_DIR . '/less/mixins.less' );file_put_contents was found in the file class-ninja-theme-update.php 167: file_put_contents( $cache_dir['path'] . 'backup.dat', $settings );file_get_contents was found in the file class-lessc.php 121: $root = $parser->parse(file_get_contents($realPath));1830: $out = $this->compile(file_get_contents($fname), $fname);fwrite was found in the file class-lessc.php 687: // fwrite(STDERR,'failed to find block: '.implode(' > ', $path).'\n');file_get_contents was found in the file class-lessc.php 121: $root = $parser->parse(file_get_contents($realPath));1830: $out = $this->compile(file_get_contents($fname), $fname);file_put_contents was found in the file class-lessc.php 1835: return file_put_contents($outFname, $out);
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-ninja-plugin.php : 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
  4. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was masterslider.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 ninja-default-theme.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'Kategori' in file class-ninja-child-theme.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Kategori' in file class-ninja-child-theme.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Kategori' in file class-ninja-child-theme.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Kategori' in file class-ninja-child-theme.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Kategori' in file class-ninja-child-theme.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'AnaSayfa Manşet' in file widget-manset.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Oluşturduğunuz bir slideri ana sayfada gösterin' in file widget-manset.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Kategoriler Anasayfada Görünmesin' in file widget-products.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Kategoriler Anasayfada Görünmesin' in file widget-services.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Kategoriler Anasayfada Görünmesin' in file widget-portfolio.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Kategoriler Anasayfada Görünmesin' in file widget-news.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 church-theme-framework, your-prefix, temaninja, temaninja-framework, tgmpa, ninja-default.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  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. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  9. I18N implementation : Proper use of _e(Possible variable $str found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $arg found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $items found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $string found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $val found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $newUnit found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $res found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $key found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $part found in translation function in class-lessc.php. Translation function calls should not contain PHP variables. Possible variable $this found in translation function in class-lessc.php. Translation function calls should not contain PHP variables.
  10. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  11. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  12. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  13. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  14. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  15. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  16. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  17. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  18. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1200x1000px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1200x1000px (6:5). Ratio of width to height should be 4:3.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file copyright.php.4: <span id='ninja-site-credits'>Powered by <a href='http://www.tema.ninja/?utm_source=ninja-default&utm_campaign=theme-footer'
  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 category template file category.phpThis theme does not contain optional file category.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 author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  11. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  12. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  13. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : structure.php 2: include('blog_structure.php');3: include('services_structure.php');4: include('news_structure.php');5: include('product_structure.php');6: include('portfolio_structure.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 : class-ninja-theme.php 1216: include_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.
Other checked themes