У меня была проблема в последнее время, когда визуальный редактор WordPress перестал работать. Редактор кода работал отлично, но кнопка визуального просто вообще ничего не делать. Я знал, что это не настройка сервера, потому что это влияет 2 из 5 WordPress сайты на сервере, но другие работали нормально. Я попытался удалить и скопировать новые копии «сор-включает в себя» и «WP-администратора» в случае чего получил повреждения, но это не решит эту проблему.
I also tried creating a new user, which loaded with the visual editor activated. Однако, as soon as I switched to the text editor I got stuck and couldn’t switch back.
I tried disabling all plugins, and changing theme, но ни один из них не помог, although this might be due to extensive use of caching on the live site.
Eventually I found a suggestion on WPGuru to add a setting to wp-config.php which did the trick.define('CONCATENATE_SCRIPTS', false);
This suggests that one of the scripts on the 2 affected sites isn’t operating correctly so I will try to track this down. The strange this is that it can’t be a built-in script because I re-copied the wp-admin and wp-includes folders, but it also shouldn’t be a theme or plugin as I switched to a default theme and disabled all plugins! Очень странно!
When I have time I will investigate further to pinpoint the problem script and will update this post accordingly. My best guess at the moment is that it is hiding in the wp-content directory structure somewhere
Есть некоторые собственные мысли? Побалуйте себя ниже, комментируя! Если вы хотите подписаться, используйте ссылку подписки в меню в правом верхнем углу.. Вы также можете поделиться этим со своими друзьями, используя приведенные ниже социальные ссылки.. Ура.
оставьте ответ