0
Validation results

BuildPress WP Theme

BuildPress WP Theme

WordPress 4.8.1 theme
0
Critical alerts
  1. Title : Title The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="//www.facebook.com/plugins/likebox.php?<?php echo http_build_query( $fb_params ); ?> in file widget-facebook.php.
    Line 69: <iframe src='//www.facebook.com/plugins/likebox.php?<?php echo http_build_q
  3. Malware : Operations on file system file_get_contents was found in the file field_groups.php
    Line 378: $items = file_get_contents( $path . 'readme.txt' );
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. 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 acf.php :
    Line 603: add_menu_page(__('Custom Fields','acf'), __('Custom Fields','acf'), 'manage
    File export.php :
    Line 50: $page = add_submenu_page('edit.php?post_type=acf', __('Export','acf'), __('Export',
    File addons.php :
    Line 42: $page = add_submenu_page('edit.php?post_type=acf', __('Add-ons','acf'), __('Add-ons
    File upgrade.php :
    Line 77: add_submenu_page('edit.php?post_type=acf', __('Upgrade','acf'), __('Upgrade
  5. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was tgm-example-plugin.zip essential-grid.zip acf-repeater.zip.
Warning
  1. theme tags : Presence of bad theme tagsThe tag white has been deprecated, it must be removed from style.css header.The tag yellow has been deprecated, it must be removed from style.css header.
  2. 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 buildpress-wp-theme.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'acf' in file upgrade.php.Found a translation function that is missing a text-domain. Function __, with the arguments "Title" in file field_groups.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Dummy' in file dummy.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 tgmpa, buildpress_wp, acf.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The 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 ___all(Possible variable $wp_postmeta found in translation function in upgrade.php. Translation function calls should not contain PHP variables.
    Line 536: $message = __('Migrating options values from the $wp_postmeta table to the $wp_options
  7. Date and time implementation : Use of the_time()At least one hard coded date was found in the file index.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file search.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file page.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file template-builder-page.php. Function get_option( 'date_format' ) should be used instead.
  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.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file class-pt-customize-base.php.
    Line 590: $this->wp_customize->add_setting( 'footer_left_txt', array( 'default' => 'BuildPress Theme By <a href='http://www.proteusthemes.com'>ProteusThemes</a>.' ) );
    Line 1243: 'description' => sprintf( _x( '%s How to find CSS classes %s in the theme.', 'backend', 'buildpress_wp' ), '<a href='https://www.youtube.com/watch?v=V2aAEzlvyDc' target='_blank'>', '</a>' ),
    Possible hard-coded links were found in the file documentation-link.php.
    Line 24: <strong><a href='http://www.proteusthemes.com/docs/buildpress/' class='button button-primary
    Possible hard-coded links were found in the file widget-brochure-box.php.
    Line 126: <small><?php printf( _x( 'Click on the icon below or manually select from the %s website', 'backend', 'buildpress_wp'), '<a href='http://fontawesome.io/icons/' target='_blank'>FontAwesome</a>' ); ?>.</smal
    Possible hard-coded links were found in the file widget-icon-box.php.
    Line 121: <small><?php printf( _x( 'Click on the icon below or manually select from the %s website', 'backend', 'buildpress_wp'), '<a href='http://fontawesome.io/icons/' target='_blank'>FontAwesome</a>' ); ?>.</smal
    Possible hard-coded links were found in the file widget-google-map.php.
    Line 121: <small><?php printf( _x( 'Get this from %s (right click on map and select What's here?) or %s. Latitude and longitude separated by comma.', 'backend', 'buildpress_wp' ), '<a href='https://maps.google.com/' target='_blank'>Google Maps</a>', '<a href='http:
    Possible hard-coded links were found in the file acf-field-groups.php.
    Line 310: 'instructions' => 'LayerSlider can be used as alternative slider and doesn\'t come with the theme for free. You can buy it <a href='http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/
    Line 335: 'instructions' => 'Slider Revolution can be used as alternative slider and doesn\'t come with the theme for free. You can buy it <a href='http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/27
    Line 520: 'instructions' => 'Select from the <a href='http://fontawesome.io/icons/' target='_blank'>FontAwesome</a> website.',
    Possible hard-coded links were found in the file class-vc-custom-param-types.php.
    Line 63: <small><?php printf( __( 'Click on the icon below or manually select from the %s website', 'buildpress_wp' ), '<a href='http://fontawesome.io/icons/' target='_blank'>FontAwesome</a>' ); ?> </smal
    Possible hard-coded links were found in the file vc-container-google-maps.php.
    Line 59: 'description' => sprintf( __( 'Get this from %s (right click on map and select What\'s here?) or %s. Latitude and longitude separated by comma.', 'buildpress_wp' ), '<a href='https://maps.google.com/' target='_blank'>Google Maps</a>', '<a href='http:
    Possible hard-coded links were found in the file template-vc-about-us.php.
    Line 20: BuildPress Inc is well known for its innovation and by collaborating successfully with our customers, designers, sub-contractors, consultants as well as suppliers; we have been able to provide more specialized level of services. We are continuously evolving and understand the different aspects of delivering high value construction and complex projects with ease.[/vc_column_text][/vc_column][vc_column width='1/2'][vc_column_text]<a href='http://xml-io.proteusthemes.com/buildpress/wp-content/uploads/sites/16/2014
    Possible hard-coded links were found in the file template-vc-home-page.php.
    Line 32: <a href='http://xml-io.proteusthemes.com/buildpress/wp-content/uploads/sites/16/2014
    Possible hard-coded links were found in the file addons.php.
    Line 201: <p><strong><?php _e('Just updated to version 4?','acf'); ?></strong> <?php _e('Activation codes have changed to plugins! Download your purchased add-ons','acf'); ?> <a href='http://www.advancedcustomfields.com/add-ons-download/' target='_blank'><?ph
    Possible hard-coded links were found in the file field_groups.php.
    Line 345: <?php printf(__('Migrating your field types is easy, please %sfollow this tutorial%s to learn more.','acf'),'<a href='http://www.advancedcustomfields.com/docs/tutorials/creating-a-new-field-typ
    Line 348: <p><?php printf(__('All actions & filters have received a major facelift to make customizing ACF even easier! Please %sread this guide%s to find the updated naming convention.','acf'),'<a href='http://www.advancedcustomfields.com/resources/getting-started/migrating-fro
    Line 361: <p><?php printf(__('Due to the sizable changes surrounding Add-ons, field types and action/filters, your website may not operate correctly. It is important that you read the full %sMigrating from v3 to v4%s guide to view the full list of changes.','acf'),'<a href='http://www.advancedcustomfields.com/resources/getting-started/migrating-fro
    Line 348: <p><?php printf(__('All actions & filters have received a major facelift to make customizing ACF even easier! Please %sread this guide%s to find the updated naming convention.','acf'),'<a href='http://www.advancedcustomfields.com/resources/getting-started/migrating-fro
    Line 361: <p><?php printf(__('Due to the sizable changes surrounding Add-ons, field types and action/filters, your website may not operate correctly. It is important that you read the full %sMigrating from v3 to v4%s guide to view the full list of changes.','acf'),'<a href='http://www.advancedcustomfields.com/resources/getting-started/migrating-fro
    Possible hard-coded links were found in the file date_picker.php.
    Line 128: <p><?php _e('\'yymmdd\' is the most versatile save format. Read more about','acf'); ?> <a href='http://docs.jquery.com/UI/Datepicker/formatDate'><?php _e('jQuery date form
    Line 144: <p><?php _e('\'dd/mm/yy\' or \'mm/dd/yy\' are the most used display formats. Read more about','acf'); ?> <a href='http://docs.jquery.com/UI/Datepicker/formatDate' target='_blank'><?php _e('
    Line 128: <p><?php _e('\'yymmdd\' is the most versatile save format. Read more about','acf'); ?> <a href='http://docs.jquery.com/UI/Datepicker/formatDate'><?php _e('jQuery date form
    Line 144: <p><?php _e('\'dd/mm/yy\' or \'mm/dd/yy\' are the most used display formats. Read more about','acf'); ?> <a href='http://docs.jquery.com/UI/Datepicker/formatDate' target='_blank'><?php _e('
  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 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 archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : theme-vc-shortcodes.php
    Line 7: require_once( get_template_directory() . '/inc/vc-shortcodes/class-vc-short
    Line 8: require_once( get_template_directory() . '/inc/vc-shortcodes/class-vc-custo
    Line 9: require_once( get_template_directory() . '/inc/vc-shortcodes/class-vc-helpe
    Line 12: require_once( get_template_directory() . '/inc/vc-shortcodes/templates/temp
    Line 13: require_once( get_template_directory() . '/inc/vc-shortcodes/templates/temp
    Line 14: require_once( get_template_directory() . '/inc/vc-shortcodes/templates/temp
    Line 15: require_once( get_template_directory() . '/inc/vc-shortcodes/templates/temp
    Line 16: require_once( get_template_directory() . '/inc/vc-shortcodes/templates/temp
    Line 33: require_once( sprintf( '%s/inc/vc-shortcodes/shortcodes/vc-%s.php', get_tem
    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 : acf.php
    Line 372: include_once('core/api.php');
    Line 374: include_once('core/controllers/input.php');
    Line 375: include_once('core/controllers/location.php');
    Line 376: include_once('core/controllers/field_group.php');
    Line 382: include_once('core/controllers/post.php');
    Line 383: include_once('core/controllers/revisions.php');
    Line 384: include_once('core/controllers/everything_fields.php');	
    Line 385: include_once('core/controllers/field_groups.php');
    Line 390: include_once('core/fields/_functions.php');
    Line 391: include_once('core/fields/_base.php');
    Line 393: include_once('core/fields/text.php');
    Line 394: include_once('core/fields/textarea.php');
    Line 395: include_once('core/fields/number.php');
    Line 396: include_once('core/fields/email.php');
    Line 397: include_once('core/fields/password.php');
    Line 399: include_once('core/fields/wysiwyg.php');
    Line 400: include_once('core/fields/image.php');
    Line 401: include_once('core/fields/file.php');
    Line 403: include_once('core/fields/select.php');
    Line 404: include_once('core/fields/checkbox.php');
    Line 405: include_once('core/fields/radio.php');
    Line 406: include_once('core/fields/true_false.php');
    Line 408: include_once('core/fields/page_link.php');
    Line 409: include_once('core/fields/post_object.php');
    Line 410: include_once('core/fields/relationship.php');
    Line 411: include_once('core/fields/taxonomy.php');
    Line 412: include_once('core/fields/user.php');
    Line 414: include_once('core/fields/google-map.php');
    Line 415: include_once('core/fields/date_picker/date_picker.php');
    Line 416: include_once('core/fields/color_picker.php');
    Line 418: include_once('core/fields/message.php');
    Line 419: include_once('core/fields/tab.php');
    Line 481: include_once('core/controllers/export.php');
    Line 482: include_once('core/controllers/addons.php');
    Line 483: include_once('core/controllers/third_party.php');
    Line 484: include_once('core/controllers/upgrade.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 : export.php
    Line 93: include_once($path . 'core/actions/export.php');
    Line 320: include_once('advanced-custom-fields/acf.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_group.php
    Line 417: include( $this->settings['path'] . 'core/views/meta_box_fields.php' );
    Line 431: include( $this->settings['path'] . 'core/views/meta_box_location.php' );
    Line 445: include( $this->settings['path'] . 'core/views/meta_box_options.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 : user.php
    Line 126: require_once( ABSPATH . '/wp-admin/includes/user.php' ); 
    Line 148: require_once( ABSPATH . '/wp-admin/includes/user.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 : dummy.php
    Line 276: include_once('fields/dummy.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