0WordPress的标志WordPress的更新进度

我已经有一段的问题,现在在哪里安装WordPress更新不显示任何消息或进度. 这些更新一般做安装,但它是棘手的,知道什么时候该更新已经完成. 有几个线程在线与可能的解决方案,但其中大多数是在我的情况都没有帮助.

更新: See solu­tion at the bot­tom of this post

When updat­ing plu­gins the fol­low­ing pro­gress mes­sages should be dis­played. In my case they are not show­ing up.

The update pro­cess is start­ing. This pro­cess may take awhile on some hosts, 所以请耐心等待.
Enabling Main­ten­ance mode…
Updat­ing Plu­gin plu­gin-name
Down­load­ing update from plu­gins.
Unpack­ing the update…
Installing the latest ver­sion.
Remov­ing the old ver­sion of the plu­gin…
Plu­gin upgraded suc­cess­fully.
Akismet updated suc­cess­fully. 显示/隐藏详细信息.
Dis­abling Main­ten­ance mode. All updates have been com­pleted.
操作: Return to Plu­gins page | Return to Word­Press Updates.

This applies to all oth­er updates too, 其中有对的完整列表 WordPress的 现场

Prob­ably the most com­mon cause is PHP zlib com­pres­sion as described by kung­fu­josh on the word­press for­ums. Sadly I already have zlib com­pres­sion set to off so that isn’t my issue.

The issue must be a set­ting in word­press, PHP-FPM, or nginx some­where but I have been unable to loc­ate it so far.
更新: I have ruled out causes in php.ini and the php-fpm con­fig file using a full test VM. There appear to be mul­tiple nginx set­tings inter­act­ing that are caus­ing the issue for me.

The first set­tings that seem to be rel­ev­ant are the use of gzip and brotli being turned on. This seems to pre­vent the page load­ing pro­gress­ively. It should be easy enough to turn these off for the updates page using a little cus­tom func­tion in word­press that sets the con­tent-encod­ing such that nginx wont com­press the files

Unfor­tu­nately this on it’s own has­n’t proven the solu­tion to my updat­ing issues as some­thing else causes the page to nev­er dis­play any out­put, pro­gress­ive or oth­er­wise. There is anoth­er nginx set­ting that is needed.

After much search­ing I finally iden­ti­fied the issue in my head­ers that are set.

从一个简单的变化 add_header X-Frame-Options DENY always; to add_header X-Frame-Options SAMEORIGIN always;

请通过下面的评论给我们你的想法! 如果您想订阅,请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.

发表评论