0
Validation results

CheerUp

CheerUp

WordPress 6.7 theme
0
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Security breaches : Use of base64_decode() Found base64_decode in file dashboard.php. 186: $data = json_decode(base64_decode($_GET['code']), true);Found base64_decode in file ts-ads.php. 7: $atts['ad_code'] = rawurldecode(base64_decode($code));
  2. Security breaches : Use of base64_encode() Found base64_encode in file lazyload.php.
     $svg = base64_encode($svg);
  3. Malware : Operations on file system file_get_contents was found in the file amp.php 277: file_get_contents(get_template_directory() . '/inc/amp/map.json'),
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File tgm-activation.php : 737: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile dashboard.php : 28: add_menu_page('CheerUp', 'CheerUp', 'manage_options', 'sphere-dash', array(File dashboard.php : 29: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp31: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',32: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt33: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage36: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 29: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp31: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',32: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt33: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage36: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 29: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp31: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',32: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt33: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage36: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 29: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp31: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',32: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt33: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage36: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-daFile dashboard.php : 29: add_submenu_page('sphere-dash', 'Welcome', 'Welcome', 'manage_options', 'sp31: add_submenu_page('sphere-dash', 'Customize', 'Customize', 'manage_options',32: add_submenu_page('sphere-dash', 'Import Demos', 'Import Demos', 'manage_opt33: add_submenu_page('sphere-dash', 'Help & Support', 'Help & Support', 'manage36: add_submenu_page(null, 'Activate', 'Activate', 'manage_options', 'sphere-da
  5. Hidden admin bar : Hidden admin Bar Themes should not hide admin bar. Detected in file : amp.php.
  6. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was bunyad-amp.zip bunyad-demo-import.zip sphere-core.zip js_composer.zip bunyad-instagram-widget.zip.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function esc_html__, with the arguments 'Save my name, email, and website in this browser for the next time I comment.' in file comments.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file block.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file widget-twitter.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 cheerup, tgmpa, cheerup-admin.
  3. Cdn : Use of CDNFound the URL of a CDN in the code: maxcdn.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  6. I18N implementation : Proper use of _e(Possible variable $view_all found in translation function in block.php. Translation function calls should not contain PHP variables. Possible variable $username found in translation function in widget-twitter.php. Translation function calls should not contain PHP variables.
  7. I18N implementation : Proper use of esc_html_e(Possible variable $view_all found in translation function in block.php. Translation function calls should not contain PHP variables. Possible variable $username found in translation function in widget-twitter.php. Translation function calls should not contain PHP variables.
  8. 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 widget-twitter.php.253: <p><a href='https://dev.twitter.com/apps' target='_blank'><?php echo esc_html_x('CreatePossible hard-coded links were found in the file dash-support.php.16: <a href='https://cheerup.theme-sphere.com/documentation/' class='button button-prima25: <a href='https://theme-sphere.com/get-support/' class='button button-primary button-33: <a href='https://theme-sphere.com/feedback/' class='button button-primary button-larPossible hard-coded links were found in the file dash-welcome.php.61: <p>Once your theme is activated, our <a href='http://cheerup.theme-sphere.com/documentation/' target='_blank'>documentati68: <li>Add a logo, configure your menus, setup your home-page. Learn all these in <a href='http://cheerup.theme-sphere.com/documentation/#post-install' target='_blankPossible hard-coded links were found in the file options.php.12: <p>To get up and running with the theme, start with <a href='http://cheerup.theme-sphere.com/documentation/' target='_blank'>theme docum30: <li>- <a href='http://cheerup.theme-sphere.com/documentation/#gdpr-guide' target='_blank'>31: <li>- <a href='http://cheerup.theme-sphere.com/documentation/#gdpr-mailchimp' target='_bla32: <li>- <a href='http://cheerup.theme-sphere.com/documentation/#gdpr-google-fonts' target='_33: <li>- <a href='http://cheerup.theme-sphere.com/documentation/#gdpr-google-analytics' targe34: <li>- <a href='http://cheerup.theme-sphere.com/documentation/#gdpr-cookie-notices' target=356: '<a href='http://cheerup.theme-sphere.com/documentation/#widget-subscribe' target='_b16: <li>- <a href='https://cheerup.theme-sphere.com/documentation/' target='_blank'>Documentat17: <li>- <a href='https://theme-sphere.com' target='_blank'>Theme Support</a></li>18: <li>- <a href='https://theme-sphere.com/feedback/' target='_blank'>Suggestions & Feedback?18: <li>- <a href='https://theme-sphere.com/feedback/' target='_blank'>Suggestions & Feedback?1257: 'value' => '&copy; 2018 ThemeSphere. Designed by <a href='http://theme-sphere.com'>ThemeSphere</a>.', // Example copyright message in
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  4. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  5. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  6. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.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 : sidebar-dynamic.php 5: * Note: Due to WordPress using require_once() on get_sidebar() to get sidebar.php, we 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