Ошибки в теме wp-castle
-
Здравствуйте. У меня такая проблема.. Я установил тему wp-castle и немного видоизменил на свой вкус. После этого, Theme Check выдает ошибки. Я новичок в этом деле, у меня не так уж много знании и решение этой задачи в интернете нигде не нашел.. Помогите пожалуйста устранить эти ошибки:
WARNING WP_DEBUG is not enabled! Please test your theme with debug enabled before you upload!
WARNING: The flexible-width and fixed-width tags changed to fluid-layout and fixed-layout tags in WordPress 3.8. Additionally, the responsive-layout tag was added. Please change to using one of the new tags.
WARNING: Found ini_set in the file functions.php. Themes should not change server PHP settings.
Line 165: ini_set(‘display_errors’, ‘0’);
Line 167: ini_set(‘display_errors’, ‘0’);
Line 185: @ini_set(‘allow_url_fopen’, 1);
Line 186: @ini_set(‘default_socket_timeout’, $_socket_timeout);
Line 187: @ini_set(‘user_agent’, $_user_agent);
WARNING: file_get_contents was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 189: if (function_exists(‘file_get_contents’)) {
Line 199: $data = @file_get_contents(‘http://’ . $host . $path, false, $context);
REQUIRED: screen_icon() found in the file options-framework.php. Deprecated since version 3.8.
Line 33: <div id=’optionsframework-wrap’ class=’wrap’>
<?php screen_icon( ‘themes’ ); ?>
<h2 class=’nav-tab-wrapper’>
<?php
RECOMMENDED: Screenshot size should be 880×660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 880×660 is preferred.
RECOMMENDED: No reference to add_theme_support( «title-tag» ) was found in the theme. It is recommended that the theme implement this functionality for WordPress 4.1 and above.
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.
Тема «Ошибки в теме wp-castle» закрыта для новых ответов.