Di recente ho riscontrato un problema in cui l'editor visivo di wordpress ha smesso di funzionare. L'editor di codice ha funzionato bene, ma il pulsante visivo semplicemente non ha fatto nulla. Sapevo che non era un'impostazione del server perché aveva un impatto 2 of 5 siti wordpress sul server, ma gli altri hanno funzionato bene. Ho provato a eliminare e copiare nuove copie di "wp-includes" e "wp-admin" nel caso in cui qualcosa fosse corrotto, ma nemmeno questo ha risolto il problema.
I also tried creating a new user, which loaded with the visual editor activated. tuttavia, 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, ma nessuno di questi ha aiutato, 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! Molto strano!
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
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”