[wp-trac] [WordPress Trac] #29010: Allow file upload from unregistered users

WordPress Trac noreply at wordpress.org
Tue Feb 3 07:00:09 UTC 2015


#29010: Allow file upload from unregistered users
-------------------------+----------------------
 Reporter:  firebird75   |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Media        |     Version:  3.9.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Allowing public uploads is not something that WordPress is going to
 support natively, however if you run into any barriers in filters that
 prevent accepting uploads, feel free to submit a patch with the
 alterations needed.

 A plugin is free to create a new role, such as `visitor` and make
 WordPress believe that a user is logged in quite easily, you can also
 filter the capabilities checking for `upload_files` capabilities and
 always return true for that..
 Realistically, a plugin is better off implementing all the upload logic
 itself, as WordPress's upload functionality is based around trusted users,
 which logged out users are not, and the amount of code that would be
 needed should be minimal.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29010#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list