- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
LanaStudio
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi,
I ran a Theme-Check on Enlightenment theme and this is what it showed:
INFO: core/init.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 121: require_once( enlightenment_functions_directory() . ‘/general.php’ );
Line 122: require_once( enlightenment_functions_directory() . ‘/navigation.php’ );
Line 123: require_once( enlightenment_functions_directory() . ‘/content.php’ );
Line 124: require_once( enlightenment_functions_directory() . ‘/comments.php’ );
Line 137: require_once( enlightenment_functions_directory() . ‘/jetpack-portfolio.php
Line 147: require_once( enlightenment_functions_directory() . ‘/template-editor.php’
Line 156: require_once( enlightenment_admin_directory() . ‘/init.php’ );
Line 160: require_once( enlightenment_functions_directory() . ‘/default-hooks.php’ );
INFO: core/admin/menu-icons.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 6: require_once( enlightenment_admin_directory() . ‘/menu-icons-walker.php’ );
INFO: core/admin/init.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 202: require_once( enlightenment_admin_directory() . ‘/settings-api.php’ );
Line 210: require_once( enlightenment_admin_directory() . ‘/template-editor.php’ );
Line 216: require_once( enlightenment_admin_directory() . ‘/validate.php’ );Any suggestions?
Thank you,
LanaAdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236Daniel Tara
KeymasterWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220These are not errors but information that the theme loads files using
require_once
. Since those files contain functions and are not template files there is no reason to load them usingget_template_part
orlocate_template
.
You must be logged in to reply to this topic.