76
Validation results

OceanWP

OceanWP

WordPress 4.9.8 theme
76
Critical alerts
  1. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="<?php echo esc_url( $like_url ); ?> in file facebook.php.
    Line 103: <iframe src='<?php echo esc_url( $like_url ); ?>' scrolling='no' frameborde
Warning
  1. Unwanted files : Windows system filedesktop.ini was found.
  2. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  3. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  4. I18N implementation : Proper use of ___all(Possible variable $val found in translation function in helpers.php. Translation function calls should not contain PHP variables.
    Line 3009: $val = pll__( $val );
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file facebook.php.
    Line 172: <small><?php esc_html_e( 'The Like Box only works with ', 'oceanwp' ); ?><a href='http://www.facebook.com/help/?faq=174987089221178' target='_blank'><?php es
    Possible hard-coded links were found in the file welcome.php.
    Line 109: <li><a href='https://twitter.com/OceanWordPress' class='twitter' title='<?php esc_html_e
    Line 110: <li><a href='https://www.facebook.com/OceanWordPress' class='facebook' title='<?php esc_
    Line 111: <li><a href='https://github.com/oceanwp' class='github' title='<?php esc_html_e( 'Find u
    Line 261: <a class='github-link' href='https://github.com/oceanwp/oceanwp/' target='_blank'><?php esc_html_e( 'Git
    Line 179: <p><strong><?php esc_html_e( 'What is Themecloud?', 'oceanwp' ); ?></strong> <?php esc_html_e( 'It&rsquo;s a better way to build WordPress websites, instant setup, no coding required. They are removed all of the technical hurdles standing between you and your ideal site. Don’t worry about installations, configurations, migrations and maintenance. Focus on creating stellar content – and watch your business skyrocket! Not convinced yet?', 'oceanwp' ); ?> <a href='https://www.wpkube.com/create-wordpress-sites-quickly-themecloud/' target='
    Line 269: <p><?php esc_html_e( 'You can find a wide range of information on how to use and customise OceanWP in our', 'oceanwp' ); ?> <a href='http://docs.oceanwp.org/' target='_blank'><?php esc_html_e( 'documentation'
    Line 282: <li><a href='http://www.gravityforms.com/' target='_blank'>Gravity Forms - <span class='
    Line 288: <li><a href='https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/2424
    Line 290: <li><a href='https://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2
  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 archive template file archive.phpThis theme does not contain optional file archive.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : customizer.php
    Line 46: require_once( $dir . 'buttonset/class-control-buttonset.php' );
    Line 47: require_once( $dir . 'color/class-control-color.php' );
    Line 48: require_once( $dir . 'dropdown-pages/class-control-dropdown-pages.php' );
    Line 49: require_once( $dir . 'heading/class-control-heading.php' );
    Line 50: require_once( $dir . 'icon-select/class-control-icon-select.php' );
    Line 51: require_once( $dir . 'multicheck/class-control-multicheck.php' );
    Line 52: require_once( $dir . 'radio-image/class-control-radio-image.php' );
    Line 53: require_once( $dir . 'range/class-control-range.php' );
    Line 54: require_once( $dir . 'sortable/class-control-sortable.php' );
    Line 55: require_once( $dir . 'typography/class-control-typography.php' );
    Line 77: require_once( OCEANWP_INC_DIR .'customizer/customizer-helpers.php' );
    Line 125: require_once( $dir .'general.php' );
    Line 129: require_once( $dir .'typography.php' );
    Line 133: require_once( $dir .'topbar.php' );
    Line 137: require_once( $dir .'header.php' );
    Line 141: require_once( $dir .'blog.php' );
    Line 145: require_once( $dir .'sidebar.php' );
    Line 149: require_once( $dir .'footer-widgets.php' );
    Line 153: require_once( $dir .'footer-bottom.php' );
    Line 158: require_once( $dir .'woocommerce.php' );
    Line 162: require_once( $dir .'custom-code.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 : wp-updates.php
    Line 8: require_once('wp-updates-theme.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 : woocommerce-config.php
    Line 24: require_once( OCEANWP_INC_DIR .'woocommerce/woocommerce-helpers.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