WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. serpentskiss
    Member
    Posted 1 year ago #

    Hi

    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)

    http://wordpress.org/extend/plugins/change-uploaded-file-permissions/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic