راهنمایی خطاهای قالب با theme check

این تاپیک 0 پاسخ و 1 مشارکت کننده دارد . آخرین آپدیت توسط :  saeed ،‏ 1 سال و 3 ماه پیش .

این تاپیک تاکنون 278 بازدید داشته است .

تگ شده :  

نویسنده پست
جمعه ، 28 آگوست 2015     5:49 ب.ظ #


saeed

Subscriber
3 پست2 تاپیک

سلام

یه قالب رو با افزونه تم چک وردپرس بررسی کردم، خطاهای زیر اومد، امکان داره یه توضیح کلی درباره خطاها و نحوه رفعشون بدهید

 

 

WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme requires the following plugin: %1$s.','This theme requires the following plugins: %1$s.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme recommends the following plugin: %1$s.','This theme recommends the following plugins: %1$s.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following required plugin is currently inactive: %1$s.','The following required plugins are currently inactive: %1$s.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following recommended plugin is currently inactive: %1$s.','The following recommended plugins are currently inactive: %1$s.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.','The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.','Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.','Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.','Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin installing plugin','Begin installing plugins'
WARNING: Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin activating plugin','Begin activating plugins'
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments "There is no excerpt because this is a protected post."
WARNING: Both DOS and UNIX style line endings were found in the file functions.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
WARNING: fopen was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.

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.

WARNING: fclose was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.

REQUIRED: get_option(home) was found in the file functions.php. Use home_url() instead.
REQUIRED: get_option("home") was found in the file functions.php. Use home_url() instead.

RECOMMENDED: Screenshot size should be 880x660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.
RECOMMENDED: No reference to the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnai

 

0  تشکر
پست 1 تا 1 (از مجموع 1 پست)

برای پاسخ دادن به این تاپیک باید وارد سایت شوید .