[wordpress插件] Change Uploaded File Permissions更改上载的文件权限

wordpress 插件 文章 2020-03-21 18:50 444 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

When WordPress is installed on certain webhosters (i.e. german webhoster “Domainfactory”) there

当WordPress安装在某些虚拟主机(例如德国虚拟主机“ Domainfactory”)上时

might be problems when uploading a file.

上载文件时可能会出现问题。

This might also occur when the webserver ist running PHP

当网络服务器运行PHP时,也会发生

as CGI-Module.

作为CGI模块。

Unfortunatly the file permissions are not set correctly, which makes the files inaccessible.

不幸的是,文件权限设置不正确,这使得文件不可访问。

This plugin changes the file permissions of pictures, thumbnails and files after the files have been uploaded.

上传文件后,此插件会更改图片,缩略图和文件的文件权限。

Version History

版本历史记录

    • Version 3.5

    • 版本3.5

        • Fixed Bug when uploading pictures to old postings/pages
        • 修复了将图片上传到旧帖子/页面时的错误

      • Version 3.4

      • 版本3.4

          • Fixed Bug when enabling logging
          • 修复了启用日志记录时的错误

        • Version 3.3

        • 版本3.3

            • Fixed Bug that producead a warning when creating year and month based folders
            • 修复了在创建基于年和月的文件夹时会产生警告的错误

          • Version 3.2

          • 版本3.2

              • Fixed Bug when creating year and month based folders
              • 修复了创建基于年和月的文件夹时的错误

            • Version 3.1

            • 版本3.1

                • Fixed Bug when saving WP-Path
                • 已修复保存WP-Path时的错误

                • Fixed Bug when testing WP-Path
                • 修复了测试WP-Path时的错误

                • Updated language file
                • 更新的语言文件

              • Version 3.0

              • 版本3.0

                  • Added compatibility to WordPress 2.7
                  • 增加了对WordPress 2.7的兼容性

                  • Now requires at least WordPress 2.6
                  • 现在至少需要WordPress 2.6

                  • Updated language file
                  • 更新的语言文件

                  • Updated readme file
                  • 更新的自述文件

                • Version 2.8

                • 版本2.8

                    • Fixed bug when using year-based upload folders
                    • 修复了使用基于年份的上载文件夹时的错误

                  • Version 2.7

                  • 2.7版

                      • Minor code cleanup
                      • 次要代码清除

                    • Version 2.6

                    • 2.6版

                        • Fixed bug when using WP 2.6
                        • 修复了使用WP 2.6时的错误

                      • Version 2.5

                      • 版本2.5

                          • Deactivation function was not working correct
                          • 停用功能无法正常工作

                        • Version 2.4

                        • 版本2.4

                            • Minor changes for WP automatic plugin update
                            • WP自动插件更新的次要更改

                            • Minor code changes
                            • 次要代码更改

                            • Updated language file
                            • 更新的语言文件

                          • Version 2.3

                          • 版本2.3

                              • Fixed incompatiblity with WordPress 2.5.1
                              • 修复了与WordPress 2.5.1不兼容

                              • Added language files
                              • 添加的语言文件

                              • Check if class exists
                              • 检查类是否存在

                            • Version 2.2

                            • 版本2.2

                                • Fixed bug when adding a picture to the editor
                                • 修复了将图片添加到编辑器时的错误

                              • Version 2.1

                              • 2.1版

                                  • Plugin settings are deleted upon deactivation
                                  • 插件设置在停用后被删除

                                • Version 2.0

                                • 2.0版

                                    • Complete class-based redesign
                                    • 完成基于类的重新设计

                                    • Fixed Bug when only one log entry was available
                                    • 修复了只有一个日志条目可用时的错误

                                    • Last log entry is now displayed first
                                    • 现在显示最后一个日志条目

                                    • Plugin now works if same filename already exists
                                    • 如果文件名已经存在,插件现在可以工作

                                    • Plugin now handles files with their server stored name and not the original one
                                    • 插件现在使用其服务器存储名称而不是原始名称处理文件

                                    • Plugin now requires WP 2.1 or higher
                                    • 插件现在需要WP 2.1或更高版本

                                  • Version 1.7

                                  • 1.7版

                                      • Fixed Bug when uploading a file as image
                                      • 修复了将文件上传为图像时的错误

                                      • Plugin now works with 2.5 and prior
                                      • 插件现在可以在2.5及更低版本中使用

                                    • Version 1.5.1

                                    • 版本1.5.1

                                        • Fixed Bug when deactivating logging
                                        • 修复了禁用日志记录时的错误

                                        • Deleted double declared variable
                                        • 已删除的双重声明变量

                                      • Version 1.5

                                      • 版本1.5

                                          • Minor Security Fix
                                          • 次要安全修复程序

                                          • Some code review
                                          • 一些代码审查

                                          • Optical adjustments
                                          • 光学调整

                                        • Version 1.4

                                        • 1.4版

                                            • Added logging function
                                            • 添加了日志记录功能

                                            • Fixed Problem with capitals in filenames
                                            • 解决文件名中大写字母的问题

                                          • Version 1.3

                                          • 1.3版

                                              • Plugin now works when saving files not in year and month based folder structure
                                              • 现在可以在不使用基于年份和月份的文件夹结构保存文件时使用插件

                                            • Version 1.2

                                            • 1.2版

                                                • Added check for user permissions to change settings
                                                • 添加了用于更改设置的用户权限检查

                                                • Only the uploaded file is handled
                                                • 仅处理上传的文件

                                              • Version 1.1

                                              • 1.1版

                                                  • Added page for settings
                                                  • 已添加设置页面

                                                  • Non-Standard upload-folders are checked
                                                  • 已检查非标准上传文件夹

                                                  • Root-Path to upload-folder can be set
                                                  • 可以设置上传文件夹的根路径

                                                  • Added test function
                                                  • 添加了测试功能

                                                • Version 1.0beta

                                                • 版本1.0beta

                                                    • Initial verion
                                                    • 初始版本

安装步骤

    1. Unzip
    2. 解压缩

    3. Copy complete folder to wp-content/plugins
    4. 将完整文件夹复制到wp-content / plugins

    5. Activate plugin
    6. 激活插件

    7. Check correct root path under “Upload file permissions” within settings
    8. 在设置中的“上传文件权限”下检查正确的根路径

下载地址
https://downloads.wordpress.org/plugin/change-uploaded-file-permissions.4.0.0.zip
-EOF-

AI助手支持GPT4.0