0
Validation results

Shafia

Shafia

WordPress 4.9.8 theme
0
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEshafia-portfolio-theme.zip
  • FILE SIZE8309091 bytes
  • MD59b0c79aea3002e80c5742d28d23c4aef
  • SHA1abfae947586d4a1e0f612e671335c0fef443fd46
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • DEMO PAGEhttp://demo.qodearena.com/projects/saltwp/
  • VERSION1.0.0
  • AUTHOR URI
  • TAGSone-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post,portfolio, one-page
  • CREATION DATE2018-05-07
  • LAST FILE UPDATE2018-05-07
  • LAST VALIDATION2018-05-07 10:52
Critical alerts
  1. Customizer : Sanitization of Customizer settings Found a Customizer setting that did not have a sanitization callback function in file extension_customizer.php. Every call to the add_setting() method needs to have a sanitization callback function passed.
  2. 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.
  3. Widgets : Widgets The theme appears to use register_sidebar() but no dynamic_sidebar() was found. See: dynamic_sidebar
     <?php dynamic_sidebar( $index ); ?>
  4. Unwanted files : hidden file(s) or folder(s) .github .editorconfig was found.
  5. Malware : Operations on file system fopen was found in the file class.redux_helpers.php
    Line 665: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Line 668: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Line 671: //fclose( $fp );
  6. Admin menu : Themes should use add_theme_page() for adding admin pages. File CMB2_Options_Hookup.php :
    Line 84: $page_hook = add_submenu_page(
    File CMB2_Options_Hookup.php :
    Line 93: $page_hook = add_menu_page(
    File CMB2.php :
    Line 109: * and several are passed along to add_menu_page()/add_submenu_page()
    File CMB2.php :
    Line 109: * and several are passed along to add_menu_page()/add_submenu_page()
    Line 115: 'parent_slug'      => '', // Used as first param in add_submenu_page().
    File CMB2.php :
    Line 109: * and several are passed along to add_menu_page()/add_submenu_page()
    Line 115: 'parent_slug'      => '', // Used as first param in add_submenu_page().
    File example-functions.php :
    Line 659: * Several of these parameters are passed along to add_menu_page()/add_submenu_page().
    File example-functions.php :
    Line 659: * Several of these parameters are passed along to add_menu_page()/add_submenu_page().
    File barebones-config.php :
    Line 67: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File config.php :
    Line 109: // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Line 1438: $this->page = call_user_func( 'add_menu_page', $this->args['page_title'], $this->args['menu_title'], $this
    File framework.php :
    Line 1361: // wrappers and need to be appened to using add_submenu_page.
    Line 1412: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Line 1470: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File welcome.php :
    Line 201: $page = 'add_management_page';
  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. Registration of theme features : Implementation of add_theme_support() add_theme_support() was found in the file default-support.php. However get_post_format and/or has_post_format were not found, and no use of formats in the CSS was detected.
  10. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in framework.php. Themes must not deregister core scripts.
    Line 565: wp_deregister_script( 'wpb_ace' );
    Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
    Line 215: wp_deregister_script( 'jquerySelect2' );
  2. theme tags : Presence of bad theme tagsFound wrong tag one-page 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 shafia.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' must be overridden." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Method '%s' not implemented. Must be overridden in subclass." in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Current page of the collection.' in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Maximum number of items to be returned in result set.' in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Limit results to those matching a string.' in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Scope under which the request is made; determines fields present in response.' in file WP_REST_Controller.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Toggle panel: %s' in file CMB2_hookup.php.Found a translation function that is missing a text-domain. Function __, with the arguments '' in file config.php.Found a translation function that is missing a text-domain. Function __, with the arguments '' in file config.php.Found a translation function that is missing a text-domain. Function __, with the arguments '' in file config.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Shafia Footer' in file theme-widget.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 cmb2, webdgallery, redux-framework, redux-framework-demo, themecheck, theme-slug, shafia.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.
  6. Unwanted directories : GIT revision control directoryGIT revision control directory.git was found.
  7. PHP short tags : Presence of PHP short tagsPHP short tags were found in file parsedown.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Line 772: if (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+['\'(](.+)['\')])?[ ]*$/', $Line['text'], $matches))
  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. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  12. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  13. 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.
  14. 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.
  15. CSS files : Presence of license typeLicense: is missing from style.css header.
  16. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  17. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  18. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  19. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  20. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  21. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  22. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  23. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  24. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  25. Tags : Tags displayThis theme doesn't seem to display tags.
  26. Screenshot : Screenshot fileScreenshot is wrong size! Detected: 1920x1962px. Maximum allowed size is 1200x900px.Screenshot dimensions are wrong! Detected: 1920x1962px (320:327). 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 welcome.php.
    Line 482: <a href='http://docs.reduxframework.com/' class='docs button button-primary'>Docs</a
    Line 485: <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMFMHW
  2. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  4. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  5. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  6. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  7. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  8. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  9. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  10. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  11. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  12. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  13. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  14. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  15. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  16. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  17. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  18. Use of includes : Use of include or requireThe theme appears to use include or require : helper-functions.php
    Line 44: include_once( cmb2_dir( '$path/{$class_name}.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 : CMB2.php
    Line 69: * from screen to screen. Post edit screen contexts include 'normal', 'side', and 'advanced'.
    Line 74: * Comments screen contexts include 'normal' and 'side'. Default is 'normal'.
    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
    Line 160: require_once( cmb2_dir( 'bootstrap.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 : framework.php
    Line 410: require_once 'core/dashboard.php';
    Line 414: require_once 'core/newsflash.php';
    Line 1719: require_once 'core/enqueue.php';
    Line 2868: require_once 'core/enqueue.php';
    Line 2926: require_once 'core/panel.php';
    Line 3278: require_once 'core/panel.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 : extension_customizer.php
    Line 753: require_once( $class_file );
    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.redux_api.php
    Line 534: include_once( $api_check );
    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 : welcome.php
    Line 378: require_once 'views/about.php';
    Line 393: require_once 'views/changelog.php';
    Line 408: require_once 'views/extensions.php';
    Line 424: require_once 'views/support.php';
    Line 439: require_once 'views/credits.php';
    Line 454: require_once 'views/status_report.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