0
Validation results

SmartTheme

SmartTheme

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEop_smart_theme.1.0.5.1.zip
  • FILE SIZE2191072 bytes
  • MD5d52b1af58ba71f5923bb4979b2d25d31
  • SHA16d7e560a81b225a0d36273eefd8a682bfe5bc713
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION1.0.5.1
  • AUTHOR URI
  • CREATION DATE2019-06-26
  • LAST FILE UPDATE2019-06-26
  • LAST VALIDATION2019-06-26 13:54
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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. Security breaches : Use of base64_encode() Found base64_encode in file helpers.php.
     $output .= '[optin_box_field name='consent_1_label']' . base64_encode(gio('consent_1_label')) . '[/optin_box_field]';
     $output .= '[optin_box_field name='consent_2_label']' . base64_encode(gio('consent_2_label')) . '[/optin_box_field]';
  3. Malware : Operations on file system fopen was found in the file class.redux_helpers.php
    Ligne670: //$fp = fopen( $file, 'r' );
    fread was found in the file class.redux_helpers.php
    Ligne673: //$file_data = fread( $fp, 8192 );
    fclose was found in the file class.redux_helpers.php
    Ligne676: //fclose( $fp );
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File welcome.php :
    Ligne199: $page = 'add_management_page';
    File framework.php :
    Ligne1365: // wrappers and need to be appened to using add_submenu_page.
    Ligne1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Ligne1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Ligne1365: // wrappers and need to be appened to using add_submenu_page.
    Ligne1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Ligne1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
    File framework.php :
    Ligne1442: $this->page = call_user_func( 'add_menu_page', $this->args['page_title'], $this->args['menu_title'], $this
    File framework.php :
    Ligne1365: // wrappers and need to be appened to using add_submenu_page.
    Ligne1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission
    Ligne1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
  5. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file hooks.php. get_stylesheet_directory() should be used instead.
    Ligne1045: return STYLESHEETPATH . '/template-parts/optin/' . $style . '.php';
  6. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file hooks.php. get_template_directory() should be used instead.
    Ligne1047: return TEMPLATEPATH . '/template-parts/optin/' . $style . '.php';
    Constant TEMPLATEPATH was found in the file auto-updates.php. get_template_directory() should be used instead.
    Ligne36: $theme_data = get_theme_data( TEMPLATEPATH . '/style.css');
  7. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in extension_metaboxes.php. Themes must not deregister core scripts.
    Ligne368: wp_deregister_script( 'jquery-qtip' );
    Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts.
    Ligne215: wp_deregister_script( 'jquerySelect2' );
    Found wp_deregister_script in framework.php. Themes must not deregister core scripts.
    Ligne579: wp_deregister_script( 'wpb_ace' );
  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 smarttheme.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Theme Options', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Theme Options', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Enable', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Disable', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'by', 'optimizepress_smart' in file template-tags.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Optin Forms', 'optimizepress_smart' in file optin-forms.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Optin Forms', 'optimizepress_smart' in file optin-forms.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Blog', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'optimizepress_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Social', 'optimizepress_smart' in file social.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Styling', 'optimizepress_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'WooCommerce', 'optimizepress_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Header', 'optimizepress_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Miscellaneous', 'optimizepress_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Promotion Settings', 'optimizepress_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Pages', 'optimizepress_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'optimizepress_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'optimizepress_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'optimizepress_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'optimizepress_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Footer', 'optimizepress_smart' in file footer.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 optimizepress_smart, woocommerce, redux-framework, themecheck.
  5. 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.
    Ligne772: if (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+['\'(](.+)['\')])?[ ]*$/', $Line['text'], $matches))
  6. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file all.min.css.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  9. 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.
  10. I18N implementation : Proper use of _e(Possible variable $fields found in translation function in optimizetheme_optin_1.php. Translation function calls should not contain PHP variables. Possible variable $fields found in translation function in optimizetheme_optin_1.php. Translation function calls should not contain PHP variables. Possible variable $extra_fields found in translation function in optimizetheme_optin_1.php. Translation function calls should not contain PHP variables. Possible variable $fields found in translation function in optimizetheme_optin_1.php. Translation function calls should not contain PHP variables. Possible variable $fields found in translation function in optimizetheme_optin_1.php. Translation function calls should not contain PHP variables.
  11. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  12. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  13. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  14. 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. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.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 : options.php
    Ligne7: require_once 'vendor/ReduxFramework/loader.php';
    Ligne105: require_once 'inc/redux-sections/header.php';
    Ligne106: require_once 'inc/redux-sections/footer.php';
    Ligne107: require_once 'inc/redux-sections/styling.php';
    Ligne108: require_once 'inc/redux-sections/blog.php';
    Ligne109: require_once 'inc/redux-sections/pages.php';
    Ligne110: require_once 'inc/redux-sections/optin-forms.php';
    Ligne111: require_once 'inc/redux-sections/social.php';
    Ligne112: require_once 'inc/redux-sections/woocommerce.php';
    Ligne113: require_once 'inc/redux-sections/miscellaneous.php';
    Ligne114: require_once 'inc/redux-sections/custom-scripts.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 : loader.php
    Ligne17: 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 : extension_accordion.php
    Ligne80: //include_once($this->extension_dir . 'multi-media/inc/class.customizer.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 : field_repeater.php
    Ligne414: 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 : welcome.php
    Ligne376: require_once 'views/about.php';
    Ligne391: require_once 'views/changelog.php';
    Ligne406: require_once 'views/extensions.php';
    Ligne422: require_once 'views/support.php';
    Ligne437: require_once 'views/credits.php';
    Ligne452: 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.
    The theme appears to use include or require : extension_customizer.php
    Ligne753: 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
    Ligne539: 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 : framework.php
    Ligne424: require_once 'core/dashboard.php';
    Ligne428: require_once 'core/newsflash.php';
    Ligne1710: require_once 'core/enqueue.php';
    Ligne2859: require_once 'core/enqueue.php';
    Ligne2917: require_once 'core/panel.php';
    Ligne3269: 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.
Other checked themes