Issues with temp folder | WordPress.org
Hi, first of all, thanks for the plugin, I like it a lot. The only problem I have is with the temp subfolder inside the plugin main folder. Since it needs to be writable for the web server, it causes me a lot of problems when updating the plugin. I manage a lot of sites with wp-cli, so the plugins folder is not writable for the web server by default. Every update requires me to change the permissions on the temp folder and its subfolders, and sometimes it even happens that the update ends with the old version deleted, but the main folder with the temp subfolder still in place, effectively blocking the installation of the new version.
I think plugins should prefer to write temporary data outside their main folder, like caching plugins do for example. It would be easier to manage the plugin if the temp folder was in wp-content/uploads, which is always writable, or directly in wp-content (something like wp-content/ia-temp or so). This will make it much easier to manage WordPress sites with Independent Analytics installed. Thanks for considering this change.
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس