53
Validation results

OceanWP

Free WordPress 6.2.2 theme

OceanWP

Free WordPress 6.2.2 theme
53
This theme is open source.
Critical alerts
  1. Malware : Operations on file system file_get_contents was found in the file changelog.php
    Ligne11: $changelog = file_get_contents( $changelog_file );
  2. Admin menu : Themes should use add_theme_page() for adding admin pages. File helpers.php :
    Ligne4872: add_menu_page(
    File helpers.php :
    Ligne4881: add_submenu_page(
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag block-styles in style.css header.Found wrong tag wide-blocks in style.css header.Themes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  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.
  5. I18N implementation : Proper use of _x(Possible variable $args found in translation function in template-helpers.php. Translation function calls should not contain PHP variables. Possible variable $args found in translation function in template-helpers.php. Translation function calls should not contain PHP variables.
  6. I18N implementation : Proper use of esc_html_x(Possible variable $args found in translation function in template-helpers.php. Translation function calls should not contain PHP variables. Possible variable $args found in translation function in template-helpers.php. Translation function calls should not contain PHP variables.
  7. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual PNG file. Detected type was : "image/jpeg".
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 tag template file tag.phpThis theme does not contain optional file tag.php.
  4. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  5. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  6. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  7. Use of includes : Use of include or requireThe theme appears to use include or require : customizer.php
    Ligne47: require_once( $dir . 'dimensions/class-control-dimensions.php' 					);
    Ligne48: require_once( $dir . 'dropdown-pages/class-control-dropdown-pages.php' 			)
    Ligne49: require_once( $dir . 'heading/class-control-heading.php' 						);
    Ligne50: require_once( $dir . 'info/class-control-info.php' 	       					);
    Ligne51: require_once( $dir . 'icon-select/class-control-icon-select.php' 				);
    Ligne52: require_once( $dir . 'icon-select-multi/class-control-icon-select-multi.php
    Ligne53: require_once( $dir . 'multiple-select/class-control-multiple-select.php' 		
    Ligne54: require_once( $dir . 'slider/class-control-slider.php' 							);
    Ligne55: require_once( $dir . 'sortable/class-control-sortable.php' 						);
    Ligne56: require_once( $dir . 'text/class-control-text.php' 								);
    Ligne57: require_once( $dir . 'textarea/class-control-textarea.php' 						);
    Ligne58: require_once( $dir . 'typo/class-control-typo.php' 								);
    Ligne59: require_once( $dir . 'typography/class-control-typography.php' 					);
    Ligne95: require_once( OCEANWP_INC_DIR .'customizer/customizer-helpers.php' );
    Ligne96: require_once( OCEANWP_INC_DIR .'customizer/sanitization-callbacks.php' );
    Ligne178: require_once( $dir . $key .'.php' );
    Ligne183: require_once( $dir . $key .'.php' );
    Ligne191: require_once( $dir .'woocommerce.php' );
    Ligne196: require_once( $dir .'edd.php' );
    Ligne201: require_once( $dir .'lifterlms.php' );
    Ligne206: require_once( $dir .'learndash.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