I’ve had an issue for a while now where installing wordpress updates doesn’t show any messages or progress. The updates generally do install but it is tricky to know when the updates have finished. There are a few threads online with possible solutions but most of them haven’t been helpful in my case.
হালনাগাদ: See solution at the bottom of this post
When updating plugins the following progress messages should be displayed. In my case they are not showing up.
The update process is starting. This process may take awhile on some hosts, সেইজন্য ধৈর্য রাখুন.
Enabling Maintenance mode…
Updating Plugin plugin-name
Downloading update from plugins.
Unpacking the update…
সর্বশেষ সংস্করণ ইনস্টল হচ্ছে.
Removing the old version of the plugin…
Plugin upgraded successfully.
Akismet updated successfully. দেখান / লুকান বিবরণ.
Disabling Maintenance mode. সমস্ত আপডেট সম্পন্ন হয়ে.
ক্রিয়াকলাপ: Return to Plugins page | Return to WordPress Updates.
This applies to all other updates too, যার উপর সম্পূর্ণ তালিকা নেই wordpress সাইট
Probably the most common cause is পিএইচপি zlib compression as described by kungfujosh on the wordpress forums. Sadly I already have zlib compression set to off so that isn’t my issue.
The issue must be a setting in wordpress, পিএইচপি-FPM, or nginx somewhere but I have been unable to locate it so far.
হালনাগাদ: I have ruled out causes in php.ini and the php-fpm config file using a full test VM. There appear to be multiple nginx settings interacting that are causing the issue for me.
The first settings that seem to be relevant are the use of gzip and brotli being turned on. This seems to prevent the page loading progressively. It should be easy enough to turn these off for the updates page using a little custom function in wordpress that sets the content-encoding such that nginx wont compress the files
/******************************************\ * অক্ষম gzip, এবং আপডেট পৃষ্ঠার জন্য brotli * \******************************************/ ফাংশন disable_gzip_brotli() { হেডারের('বিষয়বস্তু-এনকোডিং: পরিচয় '); } যদি ( basename($_SERVER["SCRIPT_FILENAME"], '.Php') == "আপডেটের কোর" ) { ADD_ACTION( 'এটা', 'Disable_gzip_brotli' ); }
Unfortunately this on it’s own hasn’t proven the solution to my updating issues as something else causes the page to never display any output, progressive or otherwise. There is another nginx setting that is needed.
After much searching I finally identified the issue in my headers that are set.
থেকে একটি সহজ পরিবর্তন add_header X-Frame-Options DENY always;
থেকে add_header X-Frame-Options SAMEORIGIN always;
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”