Please help, I’am absolute non-techie.
The report I got after checking Ultra theme:
”
One or more errors were found for Ultra.
• WARNING: error_log PHP error log found.
• RECOMMENDED: No reference to add_theme_support( “custom-header”, $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
• RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
• INFO: Possible hard-coded links were found in the file parts/bottom-bar.php.
Line 23: printf( esc_html__( ‘Theme by %1$s’, ‘ultra’ ), ‘<a href=’https://purothemes.com/’ rel=’designer’ title=’A Free WordPress Theme by Pu
• INFO: Only one text-domain is being used in this theme. Make sure it matches the theme’s slug correctly so that the theme will be compatible with WordPress.org language packs.
The domain found is ultra
• INFO: inc/settings/settings.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 65: include( dirname( __FILE__ ) . ‘/inc/control/’ . $file . ‘.php’ );
Line 69: include( dirname( __FILE__ ) . ‘/inc/’ . $file . ‘.php’ );
• INFO: inc/customizer/customizer.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
Line 10: $google_web_fonts = include ( dirname(__FILE__) . ‘/google-fonts.php’ );
Line 307: $google_fonts = include( dirname(__FILE__).’/google-fonts.php’ );
”
Btw, in the beginning of the check page there’s a warning:
“WARNING WP_DEBUG is not enabled! Please test your theme with debug enabled before you upload!”
which I don’t know how to fix.
However, when I checked all other themes on my site and some of them also have errors: 2017, 2014, Adelhyde, Adelhyde child, but 2016+2015 have no errors (i.e. passed the test).