[wp-hackers] wp_editor() media uploads

Otto otto at ottodestruct.com
Thu Feb 16 19:16:33 UTC 2012


Adding media items creates a new Post in the database. Without them being
logged in, they don't have an account and thus the post wouldn't have a
valid author or what have you. Dunno what problems that would create, but
there's more to media uploading than just uploading files.

-Otto


On Thu, Feb 16, 2012 at 1:04 PM, Kevin Stover <kstover at gmail.com> wrote:

> Hello all,
>
> Just a quick question about the new wp_editor() function in WordPress 3.3.
> I've implemented it into a few plugins and I've noticed that if a user is
> not logged in they don't see the "add media" button. Is this intentional?
> Looking at the documentation on WordPress.org, it seems that it should be
> possible to show or hide the media upload buttons, but of course I could be
> wrong. Has any one come across this before?
>
> Thanks for taking the time to read this,
>
> Kevin
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list