[wp-trac] [WordPress Trac] #19005: Only super-admins can add-media via the wp_editor when called on the front end.

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 28 13:56:19 UTC 2011


#19005: Only super-admins can add-media via the wp_editor when called on the front
end.
--------------------------+-----------------------
 Reporter:  anointed      |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by azaozz):

 Replying to [comment:8 anointed]:
 > by using `add_filter('user_can_richedit', '__return_true')` I am able to
 let regular admins add media to the post on the front-end.

 This seems to be affected by something else. Function `the_editor()` that
 adds all the HTML including the Upload Media button looks at
 `user_can_richedit` before outputting it, so the users have that
 capability when on the front-end. Perhaps look at the other limitations.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19005#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list