0
Validation results

Smart Theme v3

Smart Theme v3

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEop-smart-theme3__v1.0.7.zip
  • FILE SIZE2237465 bytes
  • MD564729e5a81c746b6d2accf4e4f66894f
  • SHA1753ee71e50004da1201a672dea26b6b09ac12f3d
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • THEME URIhttp://optimizetheme.com
  • VERSION1.0.7
  • AUTHOR URI
  • CREATION DATE2020-02-24
  • LAST FILE UPDATE2020-02-24
  • LAST VALIDATION2020-02-24 07:46
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. Malware : Operations on file system fopen was found in the file class.redux_helpers.php 670: //$fp = fopen( $file, 'r' );fread was found in the file class.redux_helpers.php 673: //$file_data = fread( $fp, 8192 );fclose was found in the file class.redux_helpers.php 676: //fclose( $fp );
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File welcome.php : 199: $page = 'add_management_page';File framework.php : 1365: // wrappers and need to be appened to using add_submenu_page.1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['tFile framework.php : 1365: // wrappers and need to be appened to using add_submenu_page.1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['tFile framework.php : 1442: $this->page = call_user_func( 'add_menu_page', $this->args['page_title'], $this->args['menu_title'], $thisFile framework.php : 1365: // wrappers and need to be appened to using add_submenu_page.1416: $this->page = call_user_func( 'add_submenu_page', $page_parent, $page_title, $menu_title, $page_permission1467: call_user_func( 'add_submenu_page', $this->args['page_slug'], $section['title'], $section['t
  4. Inapropriate constants : Use of STYLESHEETPATH Constant STYLESHEETPATH was found in the file hooks.php. get_stylesheet_directory() should be used instead. 1063: return STYLESHEETPATH . '/template-parts/optin/' . $style . '.php';
  5. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file hooks.php. get_template_directory() should be used instead. 1065: return TEMPLATEPATH . '/template-parts/optin/' . $style . '.php';Constant TEMPLATEPATH was found in the file auto-updates.php. get_template_directory() should be used instead. 36: $theme_data = get_theme_data( TEMPLATEPATH . '/style.css');
  6. 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. 368: wp_deregister_script( 'jquery-qtip' );Found wp_deregister_script in enqueue.php. Themes must not deregister core scripts. 215: wp_deregister_script( 'jquerySelect2' );Found wp_deregister_script in framework.php. Themes must not deregister core scripts. 579: 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 smart-theme-v3.
  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', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Theme Options', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Enable', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Disable', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file options.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'by', 'op3_smart' in file template-tags.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Optin Forms', 'op3_smart' in file optin-forms.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Optin Forms', 'op3_smart' in file optin-forms.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Blog', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Default', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Custom', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'On', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Off', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'op3_smart' in file blog.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Social', 'op3_smart' in file social.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Styling', 'op3_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file styling.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'WooCommerce', 'op3_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file woocommerce.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Header', 'op3_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file header.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Miscellaneous', 'op3_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Promotion Settings', 'op3_smart' in file miscellaneous.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Pages', 'op3_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Yes', 'op3_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'No', 'op3_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Show', 'op3_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Hide', 'op3_smart' in file pages.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Footer', 'op3_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 op3_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.772: 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 $array found in translation function in functions.php. Translation function calls should not contain PHP variables.
  11. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  12. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  13. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file options.php.1105: 'content' => _x('You can configure the GDPR privacy checkboxes for your opt-in form below. Please watch our training on how to integrate your provider on our <a href='http://optimizelink.com/gdpr-smarttheme' target='_blank'>training hub here<1117: 'content' => _x('<div id='info-integrations_warning' class='redux-warning redux-notice-field redux-field-info'><p class='redux-info-desc'><b>Important Notice</b><br>Your selected integration does not currently have GDPR options available. Please see <a href='http://www.optimizelink.com/gdpr-unsupported' target='_blank'>this article<Possible hard-coded links were found in the file welcome.php.480: <a href='http://docs.reduxframework.com/' class='docs button button-primary'>Docs</a483: <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MMFMHWPossible hard-coded links were found in the file optin-forms.php.276: 'desc' => _x('Optin forms work only when <a href='https://www.optimizepress.com/' target='_blank' rel='noopener'>OP DashboardPossible hard-coded links were found in the file miscellaneous.php.69: 'desc' => _x('Enter your OptimizePress affiliate URL here. This will link to the 'WordPress Theme by OptimizePress' message in the footer. <br /><br />To promote OptimizePress join at <a href='https://www.optimizepress.com/affiliates' target='_blank' rel='noopener'>ht
  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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : options.php 7: require_once 'vendor/ReduxFramework/loader.php';105: require_once 'inc/redux-sections/header.php';106: require_once 'inc/redux-sections/footer.php';107: require_once 'inc/redux-sections/styling.php';108: require_once 'inc/redux-sections/blog.php';109: require_once 'inc/redux-sections/pages.php';110: require_once 'inc/redux-sections/optin-forms.php';111: require_once 'inc/redux-sections/social.php';112: require_once 'inc/redux-sections/woocommerce.php';113: require_once 'inc/redux-sections/miscellaneous.php';114: 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 17: 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 80: //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 414: 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 376: require_once 'views/about.php';391: require_once 'views/changelog.php';406: require_once 'views/extensions.php';422: require_once 'views/support.php';437: require_once 'views/credits.php';452: 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 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 539: 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 424: require_once 'core/dashboard.php';428: require_once 'core/newsflash.php';1720: require_once 'core/enqueue.php';2869: require_once 'core/enqueue.php';2927: require_once 'core/panel.php';3279: 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 : helpers.php 580: $output = include(get_stylesheet_directory() . '/inc/optimizetheme_optin_1.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