Change Uploaded File Permissions
Change Uploaded File Permissions Patch available (1 post)

  1. serpentskiss
    Posted 3 years ago #


    I love this plugin - it fixes what WordPress inadvertantly messes up.

    However, it's way out of date now, so I've patched it to work with (hopefully) all and future versions of WordPress.

    Changes made:

    • options for default folder and file permissions for upload location
    • calculated the correct WordPress install root path based on the location of wp-admin, rather than just $_SERVER['DOCUMENT_ROOT']
    • iterate the metadata array to get all available thumbnails
    • update the option 'upload_path' to be non-blank (required to set permissions on thumbnails)

    How do I go about submitting this patch to you and getting it live for download?

    (edited for typos/formatting)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Change Uploaded File Permissions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic