0
Validation results

deepr_s

deepr_s

WordPress 4.8.1 theme
0
  • THEME TYPEWordPress theme 4.8.1
  • FILE NAMEdeepr-deepr_s-b127031d9e73.zip
  • FILE SIZE4200979 bytes
  • MD59d5aa727dd0bc26bb836acfc205c36c5
  • SHA1f9b1c882f71a3165d873b80caae0b348eba58b2c
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • VERSION1.0.0
  • AUTHOR URI
  • CREATION DATE2017-04-18
  • LAST FILE UPDATE2017-04-18
  • LAST VALIDATION2017-04-18 14:24
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file class-customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. Security breaches : Modification of PHP server settings Found ini_set in file bootstrap.php.
    Line 2: ini_set('memory_limit', '1024M');
  3. Unwanted files : hidden file(s) or folder(s) .gitignore .travis.yml .gitkeep was found.
  4. Malware : Operations on file system file_put_contents was found in the file BuildMetadataPHPFromXml.php
    Line 71: file_put_contents($filePrefix . '_' . $regionCode . '.php', $data);
    Line 120: file_put_contents($outputDir . $mappingClass . '.php', $data);
    file_put_contents was found in the file BuildMetadataPHPFromXml.php
    Line 71: file_put_contents($filePrefix . '_' . $regionCode . '.php', $data);
    Line 120: file_put_contents($outputDir . $mappingClass . '.php', $data);
    file_put_contents was found in the file GeneratePhonePrefixData.php
    Line 381: file_put_contents($outputPath, $phpSource);
    Line 402: file_put_contents($outputPath, $phpSource);
    file_put_contents was found in the file GeneratePhonePrefixData.php
    Line 381: file_put_contents($outputPath, $phpSource);
    Line 402: file_put_contents($outputPath, $phpSource);
    file_put_contents was found in the file GenerateTimeZonesMapData.php
    Line 75: file_put_contents($outputPath, $phpSource);
  5. Malware : Network operations curl_init was found in the file class-backend-helper.php
    Line 150: $ch = curl_init();
    curl_exec was found in the file class-backend-helper.php
    Line 172: $result = curl_exec( $ch );
  6. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-slider-options.php :
    Line 123: * The misleading thing is that the first argument is used as index and named $options_group, when the actual check in options.php#112 happens against $options_page, which is the $hook_suffix, which you get as @return value from add_submenu_page().
    File class-theme-options-page.php :
    Line 28: //add_menu_page( __( 'Theme Options', 'deepr_s' ), __( 'Theme Options', 'deep
    File class-theme-options-page.php :
    Line 31: add_submenu_page( 'deepr-theme-modules', __( 'Page Identifier', 'deepr_s' )
    Line 37: add_submenu_page( 'deepr-theme-modules', __( 'Contact Information', 'deepr_
    Line 47: add_submenu_page( 'deepr-theme-modules', __( 'Slider', 'deepr_s' ), __( 'Sl
    Line 54: add_submenu_page( 'deepr-theme-modules', __( 'Frontpage Disturber', 'deepr_
    File class-theme-options-page.php :
    Line 31: add_submenu_page( 'deepr-theme-modules', __( 'Page Identifier', 'deepr_s' )
    Line 37: add_submenu_page( 'deepr-theme-modules', __( 'Contact Information', 'deepr_
    Line 47: add_submenu_page( 'deepr-theme-modules', __( 'Slider', 'deepr_s' ), __( 'Sl
    Line 54: add_submenu_page( 'deepr-theme-modules', __( 'Frontpage Disturber', 'deepr_
    File class-theme-options-page.php :
    Line 31: add_submenu_page( 'deepr-theme-modules', __( 'Page Identifier', 'deepr_s' )
    Line 37: add_submenu_page( 'deepr-theme-modules', __( 'Contact Information', 'deepr_
    Line 47: add_submenu_page( 'deepr-theme-modules', __( 'Slider', 'deepr_s' ), __( 'Sl
    Line 54: add_submenu_page( 'deepr-theme-modules', __( 'Frontpage Disturber', 'deepr_
    File class-theme-options-page.php :
    Line 31: add_submenu_page( 'deepr-theme-modules', __( 'Page Identifier', 'deepr_s' )
    Line 37: add_submenu_page( 'deepr-theme-modules', __( 'Contact Information', 'deepr_
    Line 47: add_submenu_page( 'deepr-theme-modules', __( 'Slider', 'deepr_s' ), __( 'Sl
    Line 54: add_submenu_page( 'deepr-theme-modules', __( 'Frontpage Disturber', 'deepr_
  7. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  8. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  9. Deprecated functions : get_bloginfo get_bloginfo( 'url' ) was found in the file class-content-customizations.php. Use home_url() instead.
    Line 312: echo '<meta property='og:url' content='' . get_bloginfo( 'url' ) . '' />', '\n';
    get_bloginfo( 'url' ) was found in the file class-admin-customizations.php. Use home_url() instead.
    Line 60: return get_bloginfo( 'url' );
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag 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 deepr_s.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _x, with the arguments 'post type general name', 'deepr' in file CPT.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'post type singular name', 'deepr' in file CPT.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file class-slider-options.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file class-page-identifier-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 deepr_s, deepr, tobiasbecker.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Widgets : WidgetsThis theme contains no sidebars/widget areas. See Widgets API
  6. Unwanted directories : GIT revision control directoryGIT revision control directory.git was found.
  7. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file style.css.
  8. Fundamental theme elements : Presence of comments_template()Could not find comments_template.
  9. Fundamental theme elements : Presence of wp_list_comments()Could not find wp_list_comments.
  10. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  11. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  12. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  13. I18N implementation : Proper use of _e(Possible variable $data found in translation function in class-slider-options.php. Translation function calls should not contain PHP variables.
    Line 104: esc_html_e( $data );
    Possible variable $data found in translation function in class-page-identifier-options.php. Translation function calls should not contain PHP variables.
    Line 87: esc_html_e( $data );
  14. I18N implementation : Proper use of _x(Possible variable $this found in translation function in CPT.php. Translation function calls should not contain PHP variables.
    Line 180: 'name'				 => _x( $this->plural, 'post type general name', 'deepr' ),
    Possible variable $this found in translation function in CPT.php. Translation function calls should not contain PHP variables.
    Line 181: 'singular_name'		 => _x( $this->singular, 'post type singular name', 'deepr' ),
  15. I18N implementation : Proper use of esc_html_e(Possible variable $data found in translation function in class-slider-options.php. Translation function calls should not contain PHP variables.
    Line 104: esc_html_e( $data );
    Possible variable $data found in translation function in class-page-identifier-options.php. Translation function calls should not contain PHP variables.
    Line 87: esc_html_e( $data );
  16. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  17. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  18. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  19. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  20. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  21. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  22. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  23. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  24. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  25. CSS files : Presence of Theme URICould not find Theme URL.
  26. Tags : Tags displayThis theme doesn't seem to display tags.
  27. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  4. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : CPTInitializer.php
    Line 3: require 'CPT.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-theme-modules-initializer.php
    Line 29: include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    Line 50: 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.
    The theme appears to use include or require : class-theme-options-page.php
    Line 3: require 'sub-pages/contact-options/class-contact-options.php';
    Line 4: require 'sub-pages/slider-options/class-slider-options.php';
    Line 5: require 'sub-pages/timecontrol-options/class-timecontrol-options.php';
    Line 6: require 'sub-pages/page-identifier-options/class-page-identifier-options.ph
    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-admin-customizations.php
    Line 79: require_once( ABSPATH . 'wp-admin/includes/schema.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