[wp-hackers] wp_editor() media uploads

Kevin Stover kstover at gmail.com
Thu Feb 16 19:24:52 UTC 2012


Hey Otto,

Thanks a lot for the heads up. That makes sense, I was just curious of any
other users had noticed this and if so, what they had done about it.

Thanks again,

- Kevin

On Thu, Feb 16, 2012 at 7:16 PM, Otto <otto at ottodestruct.com> wrote:

> 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
> >
> _______________________________________________
> 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