33
Validation results

Gloria

Gloria

WordPress 4.9.6 theme
33
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="335" height="166" src="https://w.soundcloud.com/player/?url='.$url.$color.'&amp;auto_play='.$autoplay.'&amp;show_artwork=true"> in file gloria_core.php.
    Line 254: return '<iframe width='335' height='166' src='https://w.soundcloud.com/player/?url=
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File theme-option.php :
    Line 1596: 'page_parent'        	=> 'themes.php', // For a full list of options, visit: http://codex.wordpress.org/Function_Reference/add_submenu_page#Parameters
    File class-tgm-plugin-activation.php :
    Line 641: //$this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_t
    File login-with-ajax-admin.php :
    Line 33: //$page = add_options_page('Login With Ajax', 'Login With Ajax', 'manage_options', 'l
  3. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was gloria-sidebar-generator.zip redux-framework.zip short-code.zip meta-box.zip gloria-admin-panel.zip contact-form-7.zip login-with-ajax.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.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 gloria, bbpress, gloria, bkninja, rwtm, woocommerce, woothemes, jrinstaslider, envato, login-with-ajax.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  5. I18N implementation : Proper use of ___all(Possible variable $this found in translation function in theme-option.php. Translation function calls should not contain PHP variables.
    Line 1623: 'help_sidebar'       	=> '', // esc_html__( '', $this->args['domain'] );            
  6. I18N implementation : Proper use of esc_html___all(Possible variable $this found in translation function in theme-option.php. Translation function calls should not contain PHP variables.
    Line 1623: 'help_sidebar'       	=> '', // esc_html__( '', $this->args['domain'] );            
  7. 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 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 date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  8. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : translation.php
    Line 9: require_once($locale_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 : core.php
    Line 846: 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-envato-wordpress-theme-upgrader.php
    Line 11: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    Line 13: include_once( 'class-envato-protected-api.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 : controller.php
    Line 3: require_once(get_template_directory().'/inc/blocks/gloria_parent.php');
    Line 6: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_main_fe
    Line 7: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_feature
    Line 8: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_grid_ca
    Line 9: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_grid.ph
    Line 10: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_video.p
    Line 11: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_row.php
    Line 12: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_tiny_ro
    Line 13: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_hero.ph
    Line 14: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_fw_slid
    Line 15: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_masonry
    Line 16: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_carouse
    Line 17: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_square_
    Line 18: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads.php
    Line 19: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads_2co
    Line 20: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads_3co
    Line 21: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_adsense
    Line 22: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_custom_
    Line 23: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_short_c
    Line 25: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_block_1.ph
    Line 26: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_block_2.ph
    Line 27: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_classic_bl
    Line 28: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_large_blog
    Line 31: require_once(get_template_directory().'/inc/modules/gloria_contentin1.php')
    Line 32: require_once(get_template_directory().'/inc/modules/gloria_contentin2.php')
    Line 33: require_once(get_template_directory().'/inc/modules/gloria_contentin3.php')
    Line 34: require_once(get_template_directory().'/inc/modules/gloria_contentin4.php')
    Line 35: require_once(get_template_directory().'/inc/modules/gloria_contentout1.php'
    Line 36: require_once(get_template_directory().'/inc/modules/gloria_contentout2.php'
    Line 37: require_once(get_template_directory().'/inc/modules/gloria_contentout3.php'
    Line 38: require_once(get_template_directory().'/inc/modules/gloria_contentout4.php'
    Line 39: require_once(get_template_directory().'/inc/modules/gloria_contentout5.php'
    Line 41: require_once(get_template_directory().'/inc/libs/gloria_get_configs.php');
    Line 42: require_once(get_template_directory().'/inc/libs/gloria_core.php');
    Line 43: require_once(get_template_directory().'/inc/libs/gloria_query.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 : login-with-ajax.php
    Line 117: include_once(get_template_directory().'/plugins/login-with-ajax/login-with-
    Line 199: include_once(get_template_directory().'/plugins/login-with-ajax/registratio
    Line 386: include ( $template_loc != '' && file_exists($template_loc) ) ? $template_l
    Line 392: include ( $template_loc != '' && file_exists($template_loc) ) ? $template_l
    Line 500: include_once(get_template_directory().'/plugins/login-with-ajax/login-with-
    Line 506: include_once(get_template_directory().'/plugins/login-with-ajax/pluggable.p
    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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

77
Critical alerts
  1. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was gloria-sidebar-generator.zip redux-framework.zip short-code.zip meta-box.zip gloria-admin-panel.zip contact-form-7.zip login-with-ajax.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag light has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.
  2. Text domain : Incorrect use of translation functions.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 gloria, bbpress, gloria, bkninja, rwtm, woocommerce, woothemes, jrinstaslider, envato, login-with-ajax.
  3. 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 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 date/time template file date.phpThis theme does not contain optional file date.php.
  7. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  8. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : translation.php
    Line 9: require_once($locale_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 : core.php
    Line 846: 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-envato-wordpress-theme-upgrader.php
    Line 11: include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    Line 13: include_once( 'class-envato-protected-api.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 : controller.php
    Line 3: require_once(get_template_directory().'/inc/blocks/gloria_parent.php');
    Line 6: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_main_fe
    Line 7: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_feature
    Line 8: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_grid_ca
    Line 9: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_grid.ph
    Line 10: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_video.p
    Line 11: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_row.php
    Line 12: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_tiny_ro
    Line 13: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_hero.ph
    Line 14: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_fw_slid
    Line 15: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_masonry
    Line 16: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_carouse
    Line 17: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_square_
    Line 18: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads.php
    Line 19: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads_2co
    Line 20: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_ads_3co
    Line 21: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_adsense
    Line 22: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_custom_
    Line 23: require_once(get_template_directory().'/inc/blocks/fullwidth/gloria_short_c
    Line 25: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_block_1.ph
    Line 26: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_block_2.ph
    Line 27: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_classic_bl
    Line 28: require_once(get_template_directory().'/inc/blocks/has_sb/gloria_large_blog
    Line 31: require_once(get_template_directory().'/inc/modules/gloria_contentin1.php')
    Line 32: require_once(get_template_directory().'/inc/modules/gloria_contentin2.php')
    Line 33: require_once(get_template_directory().'/inc/modules/gloria_contentin3.php')
    Line 34: require_once(get_template_directory().'/inc/modules/gloria_contentin4.php')
    Line 35: require_once(get_template_directory().'/inc/modules/gloria_contentout1.php'
    Line 36: require_once(get_template_directory().'/inc/modules/gloria_contentout2.php'
    Line 37: require_once(get_template_directory().'/inc/modules/gloria_contentout3.php'
    Line 38: require_once(get_template_directory().'/inc/modules/gloria_contentout4.php'
    Line 39: require_once(get_template_directory().'/inc/modules/gloria_contentout5.php'
    Line 41: require_once(get_template_directory().'/inc/libs/gloria_get_configs.php');
    Line 42: require_once(get_template_directory().'/inc/libs/gloria_core.php');
    Line 43: require_once(get_template_directory().'/inc/libs/gloria_query.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 : login-with-ajax.php
    Line 117: include_once(get_template_directory().'/plugins/login-with-ajax/login-with-
    Line 199: include_once(get_template_directory().'/plugins/login-with-ajax/registratio
    Line 386: include ( $template_loc != '' && file_exists($template_loc) ) ? $template_l
    Line 392: include ( $template_loc != '' && file_exists($template_loc) ) ? $template_l
    Line 500: include_once(get_template_directory().'/plugins/login-with-ajax/login-with-
    Line 506: include_once(get_template_directory().'/plugins/login-with-ajax/pluggable.p
    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