به مسیری که وردپرس در آنجا قرار دارد بروید و یک فایل با نام whitespacefix.php بسازید و کدهای زیر را در آن قرار دهید و تغییرات را ذخیره کنید.
<?php
function ___wejns_wp_whitespace_fix($input) {
$allowed = false;
$found = false;
foreach (headers_list() as $header) {
if (preg_match("/^content-type:\\s+(text\\/|application\\/((xhtml|atom|rss)\\+xml|xml))/i", $header)) {
$allowed = true;
}
if (preg_match("/^content-type:\\s+/i", $header)) {
$found = true;
}
}
if ($allowed || !$found) {
return preg_replace